[oclug] Help a Newbie - access files in another partition?

Stephen M. Webb stephen.webb at bregmasoft.com
Tue Nov 18 11:11:44 EST 2003


On Tuesday, November 18 2003 10:34, Ari Rosberg wrote:
>
> I made a dual boot system with Win98SE in a primary DOS partition (FAT32)
> and Redhat 9 in a second partition, Linux swap file in a 3rd partition. I
> also have a second physical drive with a single DOS(FAT32) partition for
> most of my data files. in Linux, I can't "see" either of the DOS
> partitions. Is there any way to read/write files from those partitions?

You should just have to mount them.

For example, as root, create two mount points, say /C and /D.  Then, mount the 
partitions.

  mount /dev/hda1 /C; mount /dev/hdb1 /D

Assuming your kernel has FAT file system support built in or available as a 
module, it should just work.

If you want the partitions automatically mounted as system boot time, you'll 
want to stick entries for them in the /etc/fstab file.


-- 
Stephen M. Webb
stephen.webb at bregmasoft.com




More information about the OCLUG mailing list