PDA

View Full Version : How to copy files from Windows partitions to the Linux partition?



My Heart
20th June 2008, 11:58 AM
HI
i have fedora 8

and i have in my hard

D:\
E:\
C:\ - where install the linux

i want to copy files from d:\ to the linux system /

howww ?!!! i can't show d:\ files

i have no access to run sda6 or sda3

Blah Blah...

:S

glennzo
20th June 2008, 12:10 PM
Open a terminal. Type:

su -
(enter root password)
mkdir /media/d
mount -t ntfs-3g /dev/sda3 /media/d
Your files should be accessible when you use Nautilus to browse to /media/d

I'm assuming that D is /dev/sda3. If it's /dev/sda6 then the mount command would be

mount -t ntfs-3g /dev/sda6 /media/d

My Heart
20th June 2008, 12:25 PM
What About E:\ Drive :D

glennzo
20th June 2008, 12:59 PM
su -
(password)
mkdir /media/d
mkdir /media/e
mount -t ntfs-3g /dev/sda3 /media/d
mount -t ntfs-3g /dev/sda6 /media/e

My Heart
20th June 2008, 01:21 PM
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

Devices: sda . sda1 . sda2 . sda3 . sda5 . sda6 [D:\ It's Workek]

glennzo
20th June 2008, 01:33 PM
su -
(password)
/sbin/fdisk -l
This will list all partitions on all disks. From there you need to determine what partitions you actually want to mount to access your windows files.

My Heart
20th June 2008, 01:39 PM
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 3247 9729 52074697+ f W95 Ext'd (LBA)
/dev/sda3 14 3246 25969072+ 8e Linux LVM
/dev/sda5 3247 4256 8112793+ b W95 FAT32
/dev/sda6 4257 9319 40668516 7 HPFS/NTFS

i'm lookinh for the sda5 it's about 8 GB Space

glennzo
20th June 2008, 07:25 PM
mkdir /media/d
mount -t vfat /dev/sda5 /media/d

Edit: /dev/sda5 is shown as a VFAT partition.