Mounting Drives with Linux


  As a start for the Linux section, Rob looks at what will probably be one of the first things that you come across after logging in. X, the graphical operating system. Gnome is a newish look for it so lets have a butchers...
   
  Mounting your MS drives with Linux

One of the nice things about Linux (certainly nicer than the 'you will use our format only!' Microsoft people) is the fact that devices of a format not native to Linux, are accepted without much of a fuss. Here's a quick piece on doing just that.

Chances are that if you've installed Linux, you have Windows on your machine as well. Even if you've removed Windows, you've probably still got a load of files that you wish to access (text/graphic/web etc) or just keep and use on Linux.

Before you start, make sure that directories are created in /mnt to cover all the drives/partitions that you are going to access.

1.Windows 3.1

This is for the 8 character format drives.

mount -t msdos /dev/hdxx /mnt/yyyyyyy

where xx is the drive+partitionnumber - C would now probably be hda1 etc

where yyyyyy is the directory you created in /mnt for the drive contents to be accessed

Windows 95/98 drives can also be read using this but you'll get ~ on long filenames. This was a mistake I made until I tried the following:

mount -t vfat /dev/hdxx /mnt/yyyyyyy

this preserves the long filenames present in Win95/98 drives (I had FAT32 but it probably works on FAT16 also).

So that's what you need to know, I'm off to get my Amiga HD working with the AFFS driver. Wheeeeeee…!

Coagulus / Rob