You are not logged in.
Pages: 1
GRUB is unable to open arch with the following error code:
ERROR: device 'UUID=c59b85ed-b62c-4e02-b78c-f8860b8fd0e9' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=c59b85ed-b62c-4e02-b78c-f8860b8fd0e9'.where the UUID is gives is of the decrypted /dev/mapper rather than the /dev/sda4. At no point does it ask me to enter the password to decrypt the partition. The only step I have not followed in the beginners guide of the encryption is where it says to add "cryptdevice=/dev/sdaX:cryptroot" to the bootloader, because I assumed it is done automatically by GRUB.
Additional info: I have added encrypt to the hooks in mkinitcpio and when I installed GRUB I did so on the whole disk, ie grub-install --target=i386-pc --recheck --debug /dev/sda, not a partition.
Here are the current configurations of my system, I installed Windows first and then installed Arch on a dm-crypted partition.
Here /dev/sda1 is the Windows boot partition and /dev/sda3 is the Linux boot partition
# fdisk -l /dev/sda
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 409602047 204697600 7 HPFS/NTFS/exFAT
/dev/sda3 409602048 410216447 307200 83 Linux
/dev/sda4 410216448 1465149167 527466360 83 Linux# blkid
/dev/sda1: LABEL="System Reserved" UUID="8A1421211421122D" TYPE="ntfs" PARTUUID="93d554ad-01"
/dev/sda2: UUID="DC522C8D522C6F08" TYPE="ntfs" PARTUUID="93d554ad-02"
/dev/sda3: UUID="8ff521da-b33a-4ca9-8b49-c3d404870fe7" TYPE="ext4" PARTUUID="93d554ad-03"
/dev/sda4: UUID="81468aeb-7662-4380-835f-696a1b85f05a" TYPE="crypto_LUKS" PARTUUID="93d554ad-04"
/dev/mapper/cryptroot: UUID="c59b85ed-b62c-4e02-b78c-f8860b8fd0e9" TYPE="ext4" Here is the fstab.
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/cryptroot
UUID=c59b85ed-b62c-4e02-b78c-f8860b8fd0e9 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda3
UUID=8ff521da-b33a-4ca9-8b49-c3d404870fe7 /boot ext4 rw,relatime,stripe=4,data=ordered 0 2Any help appreciated, thank you.
Edit: Solved by manually editing grub.cfg by adding "cryptdevice=UUID=81468aeb-7662-4380-835f-696a1b85f05a:cryptroot".
Last edited by JamesLens (2014-07-01 17:50:37)
Offline
Pages: 1