run the command $sudo fdisk -l
Output will be like:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3174 25495123+ 7 HPFS/NTFS
/dev/sda2 3175 9729 52653037+ 5 Extended
/dev/sda5 3905 5728 14651248+ 7 HPFS/NTFS
/dev/sda6 3175 3904 5863662 b W95 FAT32
/dev/sda7 8282 8405 995998+ 82 Linux swap / Solaris
/dev/sda8 8406 9729 10634998+ 83 Linux
/dev/sda9 5729 8281 20506941 83 Linux
Open fstab file:
$sudo gedit etc/fstab
add the lines for each ntfs partion in following format:
/dev/sda1 /media/mp3 ntfs-3g defaults,umask=0 0 0
/dev/sdc5 /media/SLIKE ntfs-3g defaults,umask=0 0 0
/dev/sdb6 /media/PODATCI ntfs-3g defaults,umask=0 0 0
for fat32
/dev/sda6 /media/data2 vfat defaults,user,auto,fmask=0111,dmask=0000 0 0
/dev/sda2 3175 9729 52653037+ 5 Extended
/dev/sda5 3905 5728 14651248+ 7 HPFS/NTFS
/dev/sda6 3175 3904 5863662 b W95 FAT32
/dev/sda7 8282 8405 995998+ 82 Linux swap / Solaris
/dev/sda8 8406 9729 10634998+ 83 Linux
/dev/sda9 5729 8281 20506941 83 Linux
Open fstab file:
$sudo gedit etc/fstab
add the lines for each ntfs partion in following format:
/dev/sda1 /media/mp3 ntfs-3g defaults,umask=0 0 0
/dev/sdc5 /media/SLIKE ntfs-3g defaults,umask=0 0 0
/dev/sdb6 /media/PODATCI ntfs-3g defaults,umask=0 0 0
for fat32
/dev/sda6 /media/data2 vfat defaults,user,auto,fmask=0111,dmask=0000 0 0
No comments:
Post a Comment