In linux, we can mount your harddisk even it's a windows partition include fat32 and ntfs. For fat32 filesystem, linux support it by default. But for ntfs filesystem, you must add some modules.
Step by step to mount it are:
1. List what partition do you have..
# fdisk -l
example :
/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 fat32
/dev/hda3 1403 2677 10241437+ 83 ntfs
2. Make a target mount directory
# mkdir /mnt/fat32
# mkdir /mntntfs
3. To mount your fat32 filesystem
# mount -t fat32 /dev/hda2 /mnt/fat32
3. To mount your ntfs filesystem you must install fuse and ntfs-3g first
- Search fuse and ntfs-3g installer from google.com first..
- Install fuse
# tar -zxvf fuse.X.X.X.tar.gz
# cd fuse.x.x.x/
# ./configure && make && make install
- Install ntfs-3g
# tar -zxvf ntfs-3q.x.x.x.tar.gz
# cd ntfs-3g.x.x.x/
# ./configure && make && make install
After installed all packet, you can mount your ntfs partition now...
4. # ntfs-3g /dev/hda3 /mnt/ntfs
for umount :
# umount /mnt/fat32
# umount /mnt/ntfs
Thursday, January 15, 2009
How to mount windows partition in linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment