I'm trying to get my system back the way that it was and I'm not good with fstab. I need to create a mount point for two drives naming them Drive1 and Drive2. How do I create the mount points and what do I add to fstab? Here is the output of the two drives:
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x00046042
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 488394751 244196352 83 Linux
Disk /dev/sdc: 500.1 GB, 500079525888 bytes
255 heads, 63 sectors/track, 60797 cylinders, total 976717824 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: 0xec9e66fa
It would be for these:
/dev/sdb1: UUID="b5c005c9-ace8-4aaf-a5cd-a3614353a0b1" TYPE="ext4"
/dev/sdc1: LABEL="My Passport" TYPE="ntfs"
This is the output of my fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sda1 during installation
UUID=48457920-395c-4ec5-815e-65aa02a23bba / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e38363c5-8c4a-4176-bf6c-acc56781c35c none swap sw 0 0
Exactly how do I create these mount points and how should I edit my fstab appropriately so that both drives mount every time I boot my PC? And of course I'm using Ubuntu 14.04.3 with GNOME
Bookmarks