Run the command to write fdisk-l to view the Disk information. I wrote: Disk/dev/sda: 320.1 GB, 320072933376bytes255heads, 63 sectors/track, 38913 cylinders, category...
Use commands
Write
Fdisk-l
View disk information
Mine is as follows:
Write
Disk/dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1*512 = 512 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/Dev/sda1*63 40965749 20482843 + 7 HPFS/NTFS/exFAT
/Dev/sda2 40965750 625137344 292085797 + f W95 Ext 'd (LBA)
/Dev/sda5 40965813 172634489 65834338 + B W95 FAT32
/Dev/sda6 172634553 321846209 74605828 + B W95 FAT32
/Dev/sda7 321846273 471057929 74605828 + 7 HPFS/NTFS/exFAT
/Dev/sda8 471057993 563704784 46323396 7 HPFS/NTFS/exFAT
/Dev/sda9 563707904 616751103 26521600 83 Linux
/Dev/sda10 616753152 625135615 4191232 82 Linux swap/Solaris
Use
Write
Vim/etc/fstab
Edit the file as follows:
Write
#
#/Etc/fstab
# Created by anaconda on Wed Sep 14 20:37:29 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab (5), findfs (8), mount (8) and/or blkid (8) for more info
#
UUID = 1c4d9ab3-12cd-4a15-9349-b1cb40515f2d/ext4 ULTS 1 1
UUID = 258a924f-aab5-4ddf-a06b-d05b24888e4c swap defaults 0 0
Tmpfs/dev/shm tmpfs defaults 0 0
Devpts/dev/pts devpts gid = 5, mode = 620 0 0
Sysfs/sys sysfs defaults 0 0
Proc/proc defaults 0 0
#/Dev/sda5 d
/Dev/sda5/mnt/d vfat defaults 0 0
#/Dev/sda6 e
/Dev/sda6/mnt/e vfat defaults 0 0
#/Dev/sda7 f
/Dev/sda7/mnt/f ntfs defaults 0 0
#/Dev/sda8g
/Dev/sda8/mnt/g ntfs ULTS 0 0
Restart the machine.
Author: "a p's blog"