You are not logged in.
I wanted to install Arch (actuall install and not a iso to usb burning) on USB stick,
Wanted to do this on btrfs with encryption <- for fun and to learn.
USB - sda
I made
sda1 - 1M boot partition
sda2 - 260M EFI fat32
sda3 - system - encrypted with luksFormat
After opening the encrypted device, I formatted it as btrfs
Mount archcrypt to /mnt
btrfs subvolume create @ @home @cache
umount
mount with -o ...subvol=@
(I have btrfs on my main PC, so I assume that I did proper subvolume mount)
In @ I created efi, home, var/cache
subvolumes mounted
sda2 mounted to /mnt/efi
After base install and configuration I did:
edit of mkinitcpio.conf - hooks encrypt after base and udev. Deleted autodetect and modconf
installation of grub:
grub-install --target=i386-pc --boot-directory=/boot /dev/sda
grub-install --target=x86_64-efi --efi-directory=/efi --boot-directory=/boot --removable --recheckgrub config:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet rootflag=subvol=@ cryptdevice=UUID=UUID of sda3:archcrypt root=/dev/mapper/archcrypt"grub-mkconfig -o /boot/grub/grub.cfgAfter restart there is an error
BdsDxe: Loading Boot0002 "UEFI... Sandisk..."
I don't know if rootflag is required. I have it on my other system with systemd-boot. And on another machine with grub I didn't need to use rootflag in grub.
In my daily use (PC without encryption) I have /efi partition. This time I wasn't sure about partition schema
Last edited by 860lacov (2021-07-20 21:31:44)
Offline
cryptdevice=UUID=UUID of sda3:archcryptThat doesn't match the cryptdevice format described at https://wiki.archlinux.org/title/Dm-cry … ryptdevice .
Maybe you forgot to put the real UUID value there ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
BdsDxe: Loading Boot0002 "UEFI... Sandisk..."The firmware is failing to find grub?
Offline
cryptdevice=UUID=UUID of sda3:archcryptThat doesn't match the cryptdevice format described at https://wiki.archlinux.org/title/Dm-cry … ryptdevice .
Maybe you forgot to put the real UUID value there ?
The real UUID is there
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet rootflag=subvol=@ cryptdevice=UUID=265d44b6-a1c0-423d-a73d-c21d51724cd6:archcrypt root=/dev/mapper/archcrypt"BdsDxe: Loading Boot0002 "UEFI... Sandisk..."The firmware is failing to find grub?
Don't know what to do with this.
Offline
loqs wrote:BdsDxe: Loading Boot0002 "UEFI... Sandisk..."The firmware is failing to find grub?
Don't know what to do with this.
When the system boots is the message above produced at once or after Grub loaded and you selected a kernel to boot?
Last edited by loqs (2021-07-21 12:28:28)
Offline
It's before kernel selection.
I wasn't sure if I can mount efi partition in /efi (like on my regular way to do the install) or /boot. Could it be the problem?
Offline