Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to mount a FAT32 parition (Windows 98)
#1

I assume you have some sort of dualboot already setup, i'm not going into that here, but in my examples below i have a triple boot win98/winxp/red hat 9 linux system.

 

Open a console and as root type

 

fdisk -l

 

to list the partitions on your linux/windows system.

 

the output should look something like this:-

 

Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

 

/dev/hda1 * 1 1360 10924168+ c Win95 FAT32 (LBA)

/dev/hda2 1361 4863 28137847+ f Win95 Ext'd (LBA)

/dev/hda5 1361 3059 13647186 7 HPFS/NTFS

/dev/hda6 3060 3077 144553+ 83 Linux

/dev/hda7 3078 4776 13647186 83 Linux

/dev/hda8 4777 4863 698796 82 Linux swap

 

 

The fdisk -l command (that's as lowercase L as in list) we did above tells us that Windows 98 in this case, is on /dev/hda1, don't worry that it refers to it as Win95 thats not important. We now have enough info to start mounting it.

 

Now you must create a directory that will hold the windows 98 'mount point'.

 

To do that type

 

 

mkdir /home/anyweb/win98

 

or similar. It will be read/write as root but thats sufficient for this TIP. Once you have created the directory, now is time to mount it, so as root type the following:-

 

mount -t vfat /dev/hda1 /home/anyweb/win98

 

The two important parts above are

 

/dev/hda1

 

which we identified with fdisk -l and

 

/home/anyweb/win98

 

which is simply a directory that we created to 'hold' the win98 mount.

That's it we are all done, now as root you can read/write to that share (partition or hard disc) with ease. Use chown to change your rights so a normal user can access it if you wish.

Reply
#2

and to save progress so that u dont have to mount the drive everytime u reboot

u have to add it to fstab:

 

type as root :

 

# gedit /etc/fstab

 

and add this line:

 

/dev/hda1 /home/anyweb/win98 vfat users,rw,owner,umask=000 0 0

 

u might wanna check : man mount, man fstab and man fstab-sync for more details on the options

 

dolby

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)