#Manual dual-boot install, root account is locked

9 messages · Page 1 of 1 (latest)

jaunty burrow
#

I am attempting to dual boot my laptop with windows 11 and arch with rEFInd. I had done this correctly a year ago, but deleted my arch partition as I wanted a clean slate, but it is proving to be difficult to finish the reinstallation.

I have tried removing and reinstalling rEFInd and deleting and recreating the arch partitions, but when I boot into rEFInd and click on vmlinuz-linux, I get:

Cannot open access to console, the root account is locked. See sulogin(8) man page for more details.
Press Enter to continue```
And if I keep hitting enter, more services fail with the same error (root account is locked) until the boot breaks.

I am unsure where this error is coming from or how to "unlock" my root account. I am not using any manual boot stanzas for rEFInd, and am relying on the autodetection.

Anything is appreciated!
#

I am also free to join voice, but am obviously unable to share my screen.

#

Also, I have done the full process on the arch install page from scratch multiple times, and am NOT using the arch-install script.

jaunty burrow
#

I will also add, upon creating a manual boot stanza for rEFInd, and booting into that with the correct PARTUUID from blkid, I get

Invalid loader file!
Error: Not Found while loading vmlinuz-linux

* Hit any key to continue *```
#

(hitting a key just returns me to the rEFInd boot screen)

jaunty burrow
#

when booting from the iso

#

I have solved the issue. My rEFInd boot stanza was booting from /boot/initramfs-linux.img and /boot/vmlinuz-linux, so I changed it to /initramfs-linux.img and /vmlinuz-linux, which fixed the issue.

#

Which makes sense, as when I mounted the EFI partition to /mnt/boot, then when I did arch-chroot /mnt and created the above files with mkinitcpio -p linux, they got placed into /mnt/boot/, whereas rEFInd was looking for what was effectively /mnt/boot/boot