Fwd: acessing hard drives in live cd's

Sumod Menon <[email protected]> Thu, 25 Aug 2005 14:10:51 +0530
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
Here is a detailed explanation , hope u can undestand.

In GNU/Linux u can see and edit other file systems like FAT,VFAT,etc..
All u have to do is to mount the corresponding file ( In linux
everything is regarded as file, be it harddisk,CD, anything).

So how do u mount the file ( specifically , ur windows part).

All u have to do is to use the mount command
mount syntax is

[ mount source dest ]

Now suppose u want to mount the first partition of the first harddisk
on to a directory say /mnt/windozz, all u have to do is at first

make the directory

mkdir /mnt/windozz

now mount the same,

so mount /dev/hda1 /mnt/windozz

Now what actually happens when u mount is that , the OS tries to find
out the  type of filesystem in the /etc/fstab.Now if not found u have
specify it using the -t swith.

i.e;

#mount -t VFAT /dev/hda1 /mnt/windozz

Note: Pl make sure what is the type of ur FS(Filesystem)

# fdisk /dev/hda -p

The the partitions are numbered in the following way in GNU/Linux

All devices files are available in /dev/ folder.
So ur first harddisk 1st part is /dev/hda1
        2nd hdd 2nd part is /dev/hdb2

etc..

In case of Serial devices like SCSI
it will be /dev/sda1,/dev/sdb1 etc

Hope that has helped u

Regards
Sumod

Note :: NTFS is mountable only as readonly.

Check out the partition how to for more details

http://www.tldp.org/HOWTO/Partition/index.html