Tuesday, February 15, 2011

Mount your Windows partition and make it read/writable in Ubuntu

1. sudo fdisk -l
Result: Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20480008+ 7 HPFS/NTFS
/dev/sda2 2550 7493 39707451+ f W95 Ext’d (LBA)
/dev/sda3 7494 9729 17960670 83 Linux
/dev/sda5 2550 7394 38911288+ b W95 FAT32
/dev/sda6 7395 7493 795186 82 Linux swap / Solaris
2. sudo apt-get install libfuse2 fuse-utils libntfs8 ntfsprogs
3. echo fuse | sudo tee -a /etc/modules
4. sudo addgroup ntfs
5. sudo mkdir /media/windows
6. sudo cp /etc/fstab /etc/fstab.bak
7. gksudo gedit /etc/fstab
8. Add the following line " /dev/hda1 /media/windows ntfs-fuse auto,gid=1002,umask=0002 0 0"
9. sudo adduser sorin ntfs
10. sudo rm /sbin/mount.ntfs-fuse && sudo ln /usr/bin/ntfsmount /sbin/mount.ntfs-fuse
11. Reboot machine

No comments:

Post a Comment