«« Extreme Gaming Inspired »»
blog header image
Mounting FAT Thirty-Two

The next little thing I wanted to figure out was how to access my Windows partitions from Linux. Here is my setup:

Hard Disk 1 (hda)
Partition 1 - Windows XP
Partition 2 - Red Hat Linux 8.0

Hard Disk 2 (hdb)
Partition 1 - [empty]
Partition 2 - data
Partition 3 - data

I found a page on Red Hat's web site giving a simple mount for a primary partition. I mounted hda1 and hdb1 without much difficulty.

Then came the logical partitions. The problem with FAT is that after the primary (first) partition, the rest is put in an extended partition. The extended partition can then be divided into logical partitions. You would think that the second partition (logical) on disk 2 would be hdb2 -- but it's actually hdb5. I never found out why though.

So now I have all of my Windows data available on Red Hat. Pretty sweet, except that I have to re-mount my Windows partitions every time I restart. Is there an equivalent to autoexec.bat in Linux I could stick the mount commands in?

Posted at October 10, 2002 at 10:23 AM EST
Last updated October 10, 2002 at 10:23 AM EST
Comments

Roy says the file equivalent to autoexec.bat is /etc/rc.local. Thanks man.

» Posted by: Ryan at October 10, 2002 06:02 PM

No problem :-)

» Posted by: roy at October 15, 2002 08:44 PM
Google
 
Search scope: Web ryanlowe.ca