Navigatrix.net - A Voyager's Companion
http://navigatrix.net/

Boot-Time Encryped Block Device - Failure
http://navigatrix.net/viewtopic.php?f=6&t=717
Page 1 of 1

Author:  svattila [ 15 Oct 2014, 13:31 ]
Post subject:  Boot-Time Encryped Block Device - Failure

Hello, NX-ers!

I am getting a strange error message during boot-up of my system.
The boot stops and it gives me an error message "failure to mount sr2, boot-time encrypted block device", then I have 3 options: S to skip M for manual and i forgot the 3rd option, but after pressing S it continues the boot as if nothing happened.
My nx installation is not encrypted....
I have the following questions:
How can I save the messages shown during boot-up? If i press F1 during boot I am able to see them, but they scroll down too quickly to read...
What is a boot-time encryped block device?

Thank yo very much!

Adrian

Author:  Moe [ 15 Oct 2014, 21:13 ]
Post subject:  Re: Boot-Time Encryped Block Device - Failure

Generally when you get an error like the one you have something is mess up in the filesystem table. (/etc/fstab).
Code:
moe@StinkPad:~$ cat /etc/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=f4f171ea-4997-4d79-953d-0d8b578ded24 /               ext4    errors=remount-ro 0       1
# /garage was on /dev/sdb1 during installation
#UUID=9cdec3c2-67b9-4a95-a503-2ee960387bd0 /garage         ext4    defaults        0       2
# /home was on /dev/sda3 during installation
UUID=b2b20155-17be-42cc-b3ce-307696d11587 /home           ext4    defaults        0       2
# swap was on /dev/sda4 during installation
UUID=48e57dcc-834e-474f-9c49-bfb4bfec9bcc none            swap    sw              0       0
moe@StinkPad:~3$
If I've altered the system, say in this case I don't have the USB drive that is normally connected and part of the 'normal' system, whenever I boot the system flips out because /dev/sdb1 is not there.

If the change is temporary you can hashtag (#) out the line
Code:
#UUID=9cdec3c2-67b9-4a95-a503-2ee960387bd0 /garage         ext4    defaults        0       2
or if it's a permanent change delete the line.
Code:
sudo medit /etc/fstab


I've no idea what's going on in your system, things sr tend to be a strain of cdrom drives, however.

To read all the goodies that get logged faster than you can read try:
Code:
dmesg | less
<space> and <b> to move forwards and backwards.

Author:  svattila [ 15 Oct 2014, 23:11 ]
Post subject:  Re: Boot-Time Encryped Block Device - Failure

Hello Moe and others!

Yes, Moe the problem was in the fstab file - some entry got stuck there from an other removable device:
#/dev/sr0 /mnt/sr0 auto nosuid,nodev,nofail,x-gvfs-show 0 0

After earmarking it with the #, my problem is gone, and nx boots up just like before... nice :)

Thank you for taking the time to respond!

I think Nx is the best thing happened to sailboats since jiffy-reefing has been invented!

Author:  Moe [ 15 Oct 2014, 23:39 ]
Post subject:  Re: Boot-Time Encryped Block Device - Failure

Since you commented the line out, if you need it back in play, just edit the file, save it, and issue sudo mount -a to re-read everything in /etc/fstab without rebooting.

...and I agree with your assessment.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/