Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Access on a Multi-Boot System

Status
Not open for further replies.

ASheriff

Technical User
Aug 19, 2000
19
US
Hi,

I have a system running Linux (RedHat 6.2), WinNT 4.0 (NTFS) and Win98 (FAT32), I also have a FAT16 partition. I am using LILO to boot into the system. My problem is that I need to access a folder on the FAT16/ FAT32 partition on to the Linux partition, on Linux I am using the nornal ext2 file system.

Any help on this would be very very much appreciated

A. Sheriff
 
I'm not entirely sure about FAT32 but I have a feeling that you can't access it from Linux ( but I could very well be wrong - I might be thinking of NT ). Anyway, to access the FAT16 partition, find out which device the fat16 partition is e.g. /dev/hda5 (you could use df for this ). Then just create a local mount point on linux for it.

mount -t fat /dev/hda5 ./fat16

This will create a local mount point (fat16) which accesses your fat16 drive. You can then copy from it as it it was part of your linux filesystem. I'm not too sure about the syntax of the above command ( I no longer have access to a Linux box ) but if you type 'man mount' at the prompt you will get the correct syntax.

I hope this helps. Mise Le Meas,

Mighty :)
 
To access windows partitions (even fat32), just mount the device file (usually hda*) to a folder in /mnt such as win or something like that.
mount /dev/hda* /mnt/win
then cd to win and ls -a to view your files.


ItNInja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top