This how you can mount windows partitions in ubuntu. You can only read NTFS but you can read and write on FAT32.
1. Run this command to see what partitions are NTFS/FAT32: sudo fdisk -l
# fdisk -l
2. Create a new directory to mount the partition to:
# fdisk -l
2. Create a new directory to mount the partition to:
# mkdir /mnt/windows
3. Backup /etc/fstab:
3. Backup /etc/fstab:
# cp -rvfp /etc/fstab /etc/fstab_backup
3. Edit /etc/fstab:
3. Edit /etc/fstab:
#vim /etc/fstab
## Copy this line to the end of the file and change hd1 with the correct windows partition ##
## For NTFS ##
## Copy this line to the end of the file and change hd1 with the correct windows partition ##
## For NTFS ##
/dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
## For FAT32 ##
## For FAT32 ##
/dev/hda1 /media/windows vfat iocharset=utf8,umask=000 0 0
4. save and quit
:wq
The next time you restart ubuntu, it will mount automatically.
The next time you restart ubuntu, it will mount automatically.
0 comments:
Post a Comment