You are not logged in.
Hello,
I am new to Arch and am trying to install it on my HP Omen laptop using LVM on LUKS as per the Wiki: https://wiki.archlinux.org/index.php/Dm … VM_on_LUKS
I followed all the documentation carefully and everything seemed to go well, however when I rebooted, I just got dumped at a GRUB prompt:
GNU GRUB version 2.02
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else, TAB lists possible device or file completions.
grub>
I am booted in EFI mode:
ls -l /sys/firmware/efi | wc -l
118
I have the following partitions set up:
/dev/sda1 - UEFI partition
/dev/sda2\
/dev/sda3 \_ Windows partitions
/dev/sda4 /
/dev/sda5/
/dev/sda6 - /boot (unencrypted)
/dev/sda7 - Encrypted LUKS partition with /, /home and swap LVMs
I added the following hooks to /etc/mkinitcpio.conf and then rebuilt the initramfs image:
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt sd-lvm2 filesystems fsck)
I added the following to /etc/default/grub:
GRUB_CMDLINE_LINUX="rd.luks.name=[UUID]=cryptlvm root=/dev/ubu/root"
I installed the GRUB as follows:
mkdir /efi
mount /dev/sda1 /efi
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
Does anyone know what's going wrong here? Please let me know if you need any further information.
Thank you.
Offline
Hi!
When I installed Arch and Windows. I chose "/boot/efi", because there are windows files and it works for me
Offline
Thanks jaqu3, I gave that a try (and just about every other combination of bootloader configuration i could think of) but it still isn't working.
Does anyone know how I can get any useful debugging info or anything that will explain why I'm being dumped at the Grub prompt?
Offline
I really dislike "24 Questions" and should not encourage it by replying, but did you flag the partition as boot, esp?
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
Offline
You need to run
grub-mkconfig -o /boot/grub/grub.cfg
before
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
[Edit: I am wrong on this, of course, as pointed out next reply. grub.cfg is read at boot]
Last edited by catzero (2018-11-15 17:46:52)
Offline
You need to run
grub-mkconfig -o /boot/grub/grub.cfg
before
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
No you don't. It makes no difference in which order you install and configure .
Offline
Hello,
I am new to Arch and am trying to install it on my HP Omen laptop using LVM on LUKS as per the Wiki: https://wiki.archlinux.org/index.php/Dm … VM_on_LUKS
I followed all the documentation carefully and everything seemed to go well, however when I rebooted, I just got dumped at a GRUB prompt:
GNU GRUB version 2.02 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else, TAB lists possible device or file completions. grub>
I am booted in EFI mode:
ls -l /sys/firmware/efi | wc -l 118
I have the following partitions set up:
/dev/sda1 - UEFI partition /dev/sda2\ /dev/sda3 \_ Windows partitions /dev/sda4 / /dev/sda5/ /dev/sda6 - /boot (unencrypted) /dev/sda7 - Encrypted LUKS partition with /, /home and swap LVMs
I added the following hooks to /etc/mkinitcpio.conf and then rebuilt the initramfs image:
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt sd-lvm2 filesystems fsck)
I added the following to /etc/default/grub:
GRUB_CMDLINE_LINUX="rd.luks.name=[UUID]=cryptlvm root=/dev/ubu/root"
I installed the GRUB as follows:
mkdir /efi mount /dev/sda1 /efi grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg
Does anyone know what's going wrong here? Please let me know if you need any further information.
Thank you.
It's not mentioned in your post, but did you mount the boot partition before installing/configuring grub
Failure is success in progress.
A.E.
Offline