a reply to:
Morrad
Hello there
These instructions should help you in getting your drive to mount at start up
First In the terminal type
sudo blkid
Output should look something like this below
/dev/sda1: UUID="1923e8-84317-4c8b-b329-efc432tr34c16c" TYPE="swap"
/dev/sda4: UUID="1fxxswqb-36e4-42aa-b376-e3876nb7f8" TYPE="ext3"
/dev/sda5: UUID="Y636y33f530-1544-234r3-b458-t2345t5268" TYPE="crypto_LUKS"
/dev/mapper/sda5_crypt: UUID="u7n567145-63aa-4mt88ia-b6b7-753r3424rfq44f5" TYPE="ext4"
Now you need to select the partition and UUID that pertains to the source you would like to boot when the computer starts
in your case it is “myfiles”; so run the blkid command and copy the UUID identifier for that partition
Example: UUID="1923e8-84317-4c8b-b329-efc432tr34c16c" this is a swap in my case but would be “myfiles” in yours.
in the next step you will be pasting this string into the fstab config file and will need to remove the Quotations around the UUID value. Example
below
CORRECT: UUID=1923e8-84317-4c8b-b329-efc432tr34c16c
INCORRECT: UUID="1923e8-84317-4c8b-b329-efc432tr34c16c"
Next in the terminal type
sudo nano /etc/fstab Then hit enter to open the config file
under the section titled
# /boot was on /dev/sda1 during installation
Paste the UUID we just copied in the earlier step underneath the already existing UUID entry
EXAMPLE: should look like this below
UUID=532347af-3re9-45a6-tt76-etl528l2j27f8 /boot ext3 defaults $
(your already existing partition do not remove!)
SO your final config file should look something like this
# /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).
#
#
/dev/mapper/sda5_crypt / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=532347af-3re9-45a6-tt76-etl528l2j27f8 /boot ext3 defaults $
UUID=1923e8-84317-4c8b-b329-efc432tr34c16c
REMEMER to place your UUID entry in there though these are just examples
Summary!
1 Run: sudo blkid
2 Get the UUID for the partition “myfiles”
3 Copy the UUID without the quotations included
4 Open the fstab config by running: sudo nano /etc/fstab
5 At the bottom under already existing UUID entry under /sda1 paste your UUID for “myfiles”
6 Save the changes to the config file once made by hitting "Ctrl+o" then enter to confirm changes and then finally "Ctrl+x" to exit config file
Reboot and this drive should mount at start up
Hope this helps!!
edit on 7-3-2016 by 3ncrypt0Rdie because: (no reason given)
edit on 7-3-2016 by 3ncrypt0Rdie because: (no reason
given)
edit on 7-3-2016 by 3ncrypt0Rdie because: corrections