Ubuntu Pastebin

Paste from wsp at Tue, 23 Jun 2015 22:57:37 +0000

Download as text
1
2
3
4
5
6
7
8
9
00:54 < wassup> Jordan_U: Just to let you know for the future - crypttab should contain a line saying something like sdb5_crypt UUID=xx-yy-zz bla, bla. However, when 
                update-initramfs of any kind is executed from chroot, it will complain about 'sdb5_crypt' not being a correct line (the error is not exactly specified, 
                but this is the exact bit that it complains about). In such a scenario, the command will not include cryptsetup binaries in the initrd image, thus 
                rendering it useless. To cure it, one needs to change the abovementioned line first, so it starts with 'ubuntu--vg-root UUID=xx-yy-zz bla, bla', run 
                update-initramfs -u and, only then, mingle with the initrd file manually. Meaning, unpacking it, greping for a file that contains the phrase 
                'ubuntu--vg-root', changing it to 'sdb5_crypt' (or whichever on the given system) and packing it up again. Also, the crypttab should be restored to 
                this version as well. Hope this helps for a future reference.
00:54 < wassup> Sorry, I do not remember the nickname of the other guy that tried to help.
00:56 < wassup> Jordan_U: And, regarding the above, the file I was mentioning that needs to be edited inside initrd is conf/conf.d/cryptroot.
Download as text