[svlug] Fdisk and Luks partition
rfreiberger at gmail.com
Wed Nov 28 14:11:25 PST 2012
I found the solution from reading another blog. It seems that I was missing
the information for the location of the passphrase file. D'oh! I had a
feeling that something was missing and missed this from the working luks
Thanks again everyone!
On Wed, Nov 28, 2012 at 12:50 PM, Robert Freiberger
<rfreiberger at gmail.com>wrote:
> I don't have my computer in front of me but I do have the password file in
> the /etc/crypttab file. The strange thing is I'm able to have another Luks
> partition mount correctly but this new one is having problems. Earlier, I
> had the same problem and changed the fsck setting, it was 4 and changed it
> to 2, which allowed the system to boot correctly. After that, the Luks
> partition was mounting correctly and working.
> It's not super important and I working on the issue now, but rather not
> skip over the topic for the exam.
> On Tue, Nov 27, 2012 at 11:07 PM, Marc MERLIN <marc_news at merlins.org>wrote:
>> On Tue, Nov 27, 2012 at 10:36:08PM -0800, Robert Freiberger wrote:
>> > I'm studying for the RHCSA exam and having a hard time fully
>> > how to setup a Linux Unified Key Setup partition to mount at boot time.
>> > While I can mount the LUKS partition manually, I seem to have a problem
>> > adjusting the FSCK settings on /etc/fstab. Typically I add the
>> > using the UUID of the disk, the mount point, ext4, defaults, 1, 2. But
>> > boot, I see the following error.
>> > "fsck.ext4: Bad magic number in super-block while trying to open
>> > /dev/sde1:
>> > The superblock could not be read or does not describe a correct ext2
>> > filesystem. "
>> And were is the decryption key supposed to come from?
>> You need to setup /etc/crypttab, have it decrypt the partition
>> at boot, one way or another.
>> Only then can you put /dev/mapper/decryptedname in /etc/fstab.
>> Don't ask me about all the ways to autodecrypt, I have my own that is
>> specific to my use case, and the rest is in the man page/included docs and
>> dmcrypt howto I believe :)
>> "A mouse is a device used to point at the xterm you want to type in" -
>> Microsoft is to operating systems ....
>> .... what McDonalds is to gourmet
>> Home page: http://marc.merlins.org/
> Robert Freiberger
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the svlug