The various partitons in /dev/sda and /dev/hda can be mounted in linux ,provided linux supports the filesystem.Linux supports
ext2,ext3,FAT32 and ntfs(in Red Hat linux there is a problem mounting ntfs filesystems directly).
In order to access a windows partition(for eg C drive) from linux you have to create a directory in /mnt or /media.For example
#mkdir /mnt/cdrive
Then use the command
#mount /dev/hda1 /mnt/cdrive
(supposing your c drive is inside hda1)
voila! There you mounted the partition.
You can now click to /mnt/cdrive in GUI and access all files and folders there.
Next type
$ls /mnt/cdrive
you can see the contents of the C drive in your terminal screen.
But in the above mentioned way you have to manually mount windows partitions or other linux distros' partitions everytime
you want to access them.To automate them(so that the are already mounted each time you start linux),you can edit the /etc/fstab
file and make permanent changes which mounts selected partitions each time you start up your system.
Below is an example of /etc/fstab file
|
 |
For mounting NTFS filesystem in fedora core systems,visit this site
mount ntfs for fc
.
|
 |
 |
 |
First column gives the source drive (eg /dev/hda1),second column gives the mount point (eg /media/hda1),third column gives
the filesystem name ,fourth and fifth column tells about the user rights.
Edit the file using vi editor(REMEMBER TO MAKE A BACKUP FILE IF EVERYTHING MESSES UP!)
.
|
|
 |
 |
 |
|
|