Re: Linux access to Windows partition



Deathtrap staggered into the Black Sun and said:
I installed Windows XP and Linux (Red Hat) on the same machine. Is
there a way I can read the [NTFS or FAT, you didn't say which]
partition from Linux? When I look at the drive [in] linux, [it] only
shows the linux partition.

You need to put a line for the 'Doze partition in /etc/fstab .
Specifics depend on where the 'Doze partition is and which kind of disk
it's on. This is usually /dev/sda1 or /dev/hda1 , modify to taste
according to what you get from fdisk -l .

Read-write on FAT:

/dev/sda1 /mnt/windoze vfat noauto,users,umask=000 0 0

Read-write on NTFS, requires installing ntfs-3g and the FUSE kernel
modules. This *may* not be n00b-friendly depending on distro. Using
type ntfs instead will give you read-only access:

/dev/sda1 /mnt/windoze ntfs-3g noauto,users,umask=000 0 0

....note that /mnt/windoze must exist and must be a directory. The
mountpoint can be anywhere you like, though usually you keep them under
/mnt for sanity. With these fstab lines, ordinary users can mount and
umount the partitions at will. HTH,

--
"Oh bother," said the Borg, "We've assimilated Pooh."
--MHR on alt.fan.pratchett
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: Windows partitions
    ... >> I need to know how to read windows partitions (FAT32, NTFS) on linux. ... you do this for FAT: ... You replace NNN with the device node where the FAT partition resides; ...
    (comp.os.linux.hardware)
  • Re: NTFS drive thinks it is FAT
    ... create a bootable floppy. ... If the partition boot record or the contents of the partition are damaged, and they may very well be with the amount of chkdsks you've been throwing at it, this should recover the partition and the data. ... The drive was FAT and is now unusable. ... this drive can be called NTFS rather than FAT without a format? ...
    (microsoft.public.windows.file_system)
  • AW: whats the story with the FAT32, 32GB limit ?
    ... FAT32 (FAT is the FileAllocationTable, something like pointers, showing ... FAT was developed by MicroShit (also NTFS) ... Bill once said (in DOS days), that noone will ever need a bigger RAM ... And when you download a file from a NTFS server to a FAT partition? ...
    (microsoft.public.windowsxp.general)
  • Re: AW: whats the story with the FAT32, 32GB limit ?
    ... FAT32 (FAT is the FileAllocationTable, something like pointers, showing ... FAT was developed by MicroShit (also NTFS) ... Bill once said (in DOS days), that noone will ever need a bigger RAM ... And when you download a file from a NTFS server to a FAT partition? ...
    (microsoft.public.windowsxp.general)
  • Re: to FAT or not to FAT?
    ... >> if you're gonna run dos games through windows, fat is not necessary ... >> pick whatever filesystem you want, just be mindful of the partition ... The additional benefits of NTFS are mostly ... I always set up at least two partitions - one for system files/programs, ...
    (microsoft.public.win2000.file_system)