South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2011-06-29 12:07 0a2ceec0-4478-4208-bf3b-d2373edce2aa -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-06-29 12:07 b8bb0f4e-a197-49ab-bec7-9f0fdcbe2b2b -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-06-29 12:07 c6ac2257-948b-496c-be35-2353112487dd -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-06-29 12:07 c988bead-8d9b-4e81-a168-0985be8430fe -> ../../sda4
sudo nano -w /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda3 during installation
UUID=0a2ceec0-4478-4208-bf3b-d2373edce2aa / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=c6ac2257-948b-496c-be35-2353112487dd /boot ext2 defaults 0 2
# /home was on /dev/sda4 during installation
UUID=c988bead-8d9b-4e81-a168-0985be8430fe /home ext4 defaults 0 2
# swap was on /dev/sda2 during installation
UUID=b8bb0f4e-a197-49ab-bec7-9f0fdcbe2b2b none swap sw 0 0
UUID=[paste uuid of disk in here] /your/mountpoint filesystem type(ext4, vfat, ntfs-3g, etc) defaults 0 2