[ubuntu-za] Lost access to storage drive

wesley werner wesley.werner at gmail.com
Sat Feb 4 06:14:03 UTC 2017


Hi Jan,

It does not look like you have a fstab entry for your second drive. It 
might help to add one, this ensures the disk is mounted on boot.

Since the other entries refer UUID let's do the same for your new disk. 
Find the UUID of it like so:

     ls -l /dev/disk/by-uuid/ | grep sdb1

It is that long number that looks like 
"c7c4041b-c5c3-45ec-9920-f90d7d42f7b9", and is unique to each disk.

Then add this line to fstab (you can use gedit as root):

     gksudo gedit /etc/fstab

Add the line:

     UUID=YOUR_UUID_HERE    /media/storage    auto    defaults 0    2

Save and close gedit. Create the path where your disk will get mounted:

     sudo mkdir /media/storage && sudo chown -R jan:jan /media/storage

Finally mount it manually:

     sudo mount -a

Your disk should show under "storage". It should also mount on future 
boot. I can't say if it will keep the name "mystoorplek", and any 
shortcuts to the drive will need updating to the new path /media/storage.

https://help.ubuntu.com/community/InstallingANewHardDrive#Create_A_Mount_Point

On 04/02/2017 07:02, Jan wrote:
> # <file system> <mount point> <type> <options>       <dump>  <pass>
> # / was on /dev/sdb1 during installation
> UUID=c7c4041b-c5c3-45ec-9920-f90d7d42f7b9 /               ext4 
> errors=remount-ro 0       1
> # swap was on /dev/sdb5 during installation
> UUID=cacaa4c3-a800-40ce-a159-192af760eb52 none            swap 
> sw              0       0 




More information about the ubuntu-za mailing list