PDA

View Full Version : Linux - Viewing Windows & FAT32 partitions



14-01-2002, 02:07 AM
I recently installed Red Hat Linux on my PC and I have found it to be a very good operating system. I'm still a newbie at it and haven't had much time to play around with it just yet but there are a few questions I would like answered.

I installed Linux to a seperate hard drive on my system. My question is how do I view my other hard drive with my windows OS and other files in Linux at the moment i can only view the hardrive and files on the linux installed disk. Is this possible and where do I change it in Linus to view my other Windows OS hard drive?

Thanking you in advance!!!

PC specs:
PII 366Mhz
64MB RAM
32MB Guillemot Cougar PCI Graphics board with Riva TNT2 M64 Chipset

Hard disk 1:Windows Me (FAT32)
Hard disk 2:Linux OS

14-01-2002, 02:42 AM
Most distributions should automatically setup access to your windows partition.

With mandrake its accessible under /mnt/windows, but some put it in a different place (eg /mnt/c or just /c).


You can check where by opening a terminal and typing 'mount'.

It will display some lines with one that should look like:

/dev/hda1 /mnt/windows vfat

The first bit is the name of the partition where windows is (the first one on your first harddrive in this case).

The second bit is where it has been mounted which is what you want. The third bit is the filesystem (win9x FAT in this case).


If you will be using your windows partition a lot you can add a link to it (assuming you use KDE) by browsing to where it is mounted and dragging its directory to your desktop and selecting 'link here' from the popup list.

14-01-2002, 04:47 AM
I thought had a finished version of this but I can not find it
I hope this helps you.

step 1
To get partition table log on as 'root' and type in
fdisk -l /dev/hda
(if you have IDE hard drive)

step 2
Edit /etc/fstab file, put in
dev/hda1 mnt/C:drive vfat noauto,user 0 0
if you save fstab file now a icon called C:drive will appear on the desk top

step 3
Make folders in /mnt folder such as
/mnt/C:drive

step 4
To put more Icons from other partitions on desktop, if you have extended
partitions you will have to get the D: drive hda# off the partition table
as given in step 1, it might be for example hda5

repeat step 2 and step 3 changing C:drive to D:drive or what ever.

14-01-2002, 05:14 AM
I thought I had a finished version of this but I can not find it
I hope this helps you.

step 1
To get partition table log on as 'root' and type in
fdisk -l /dev/hda
(if you have IDE hard drive)

step 2
Edit /etc/fstab file, put in
dev/hda1 mnt/C:drive vfat noauto,user 0 0
if you save fstab file now a icon called C:drive will appear on the desk top

step 3
Make folders in /mnt folder such as
C:drive
giving
/mnt/C:drive
(you should be able to read Windows now)

step 4
To put more Icons from other partitions on desktop, if you have extended
partitions you will have to get the D: drive hda# off the partition table
as given in step 1, it might be for example hda5

repeat step 2 and step 3 changing C:drive to D:drive or what ever.

14-01-2002, 04:18 PM
Your Windows disk is called '/dev/hda' . Check whether it is partitioned by using the 'dmesg | more' command in a commandline window. There probably won't be, so you would be fairly safe to make that /etc/fstab entry for '/dev/hda1' . I don't like that '/mnt/blah' for the odd mounts: it makes for extra typing for me. You can, as root, do 'mkdir /WinMe' and use that new directory rather than the mnt/xxx.