You are not logged in.

#1 2014-11-07 23:06:08

cynicalpsycho
Member
Registered: 2009-12-22
Posts: 57

LVM ontop of LUKS using Gummiboot with a UEFI system

I'm trying to install LVM ontop of LUKS. But for some reason it continually drops me into a recovery shell because it says it can't find my boot or root partitions. I believe my issue has to do with either my boot loader entry or my fstab, but I can't seem to figure it out.

To elaborate on my configuration. I have 2 hard drives on my system. SDB is where i'm trying to setup this OS.

This was the tutorial i tried to follow:
http://www.brandonkester.com/tech/2014/ … -uefi.html

My /boot/loader/entries/arch.conf reads:

title ArchAlt
linux /vmlinuz-linux
initrd /initramfs-linux.img
option cryptdevice=UUID=91b6736c-1382-4c37-8b65-b5cc9077dd56:vol0 root=/dev/mapper/vol0-lvroot ro

Here's my fstab:

# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/mapper/vol0-lvroot
UUID=24d67699-9cb8-439b-8463-003d776eda4c       /               ext4            rw,relatime,data=ordered        0 1

# /dev/mapper/vol0-lvvar
UUID=890e3088-01e5-40fc-b842-3e5db3fcc7ce       /var            ext4            rw,relatime,data=ordered        0 2

# /dev/mapper/vol0-lvhome
UUID=dceeee85-a871-4443-a977-4198bedc9cbd       /home           ext4            rw,relatime,data=ordered        0 2

# /dev/sdb1
UUID=1E6A-865A          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

lsblk -f output:

NAME              FSTYPE      LABEL UUID                                   MOUNTPOINT
sda                                                                        
sda1            ext4              290b1f9f-0087-44c6-b1f9-114678b19e4d   /
sda2            vfat              97D6-F85E                              /boot
sda3            ext4              e0f2dff0-17b9-4ba1-bc77-20d84c50f2f5   /home
sdb                                                                        
sdb1            vfat              1E6A-865A                              
sdb2            crypto_LUKS       91b6736c-1382-4c37-8b65-b5cc9077dd56   
  vol0          LVM2_member       oXuKGH-Vf2j-aeWU-vNrH-8HE6-qbVF-K4NQdK 
    vol0-lvroot ext4              24d67699-9cb8-439b-8463-003d776eda4c   /mnt
    vol0-lvvar  ext4              890e3088-01e5-40fc-b842-3e5db3fcc7ce   /mnt/var
    vol0-lvhome ext4              dceeee85-a871-4443-a977-4198bedc9cbd   /mnt/home

Last edited by cynicalpsycho (2014-11-08 00:53:05)

Offline

#2 2014-11-08 01:12:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: LVM ontop of LUKS using Gummiboot with a UEFI system

Typo in your conf file: it should read options...

And, why are you trying to mount your / to /mnt?

Also, you are better off with the community documentation on the wiki than random blog posts.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB