Forum Home
Press F1
 
Thread ID: 53502 2005-01-19 09:24:00 Access Windows partitions from Linux Mike (15) Press F1
Post ID Timestamp Content User
315794 2005-01-19 19:01:00 however if you don't have /mnt/fat32 made already you'll get an error...

My /mnt is empty... so how do I get things in there first?

Mike.
Mike (15)
315795 2005-01-19 19:55:00 From a root terminal type:

mkdir /mnt/fat32 (or whatever you want the new directory name to be).
johnd (85)
315796 2005-01-20 00:27:00 And, of course, it won't work if the Windows partition isn't hda5.;) In fact, if Windows existed before you loaded the Linux, it's probably hda1.

The /mnt location is part of the new standard linux file system layout. I usually put /floppy, /cdrom, and /MSWindows,etc, mount points at the top level "/". Makes less typing because I do most things with command line.
Graham L (2)
315797 2005-01-20 01:36:00 And, of course, it won't work if the Windows partition isn't hda5 . ;) In fact, if Windows existed before you loaded the Linux, it's probably hda1 .


True - but from the original post there are two NTFS partitions both (probably) before the fat32 one so the partition in question won't be hda1 .
johnd (85)
315798 2005-01-20 01:47:00 cat /proc/partitions Chilling_Silence (9)
315799 2005-01-20 04:00:00 I usually put /floppy, /cdrom, and /MSWindows,etc, mount points at the top level "/". Makes less typing because I do most things with command line.

How do I do that Graham? Do I just leave off the /mnt when creating and associating the mount points?

Mike.
Mike (15)
315800 2005-01-20 05:52:00 Correct :)

Be sure to be doing this all as root thou!
Chilling_Silence (9)
315801 2005-01-20 08:54:00 Right, well that all seemed to work... however after a restart I lost the mount point - do I have to type all that in everytime I boot up?

Mike.
Mike (15)
315802 2005-01-20 09:50:00 YOu need to add an entry to the /etc/fstab file to enable mounting at boot time. Follow the syntax for other hard disk partitions mounted at boot time. johnd (85)
1 2