archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.37k stars 545 forks source link

Could not detect root at mountpoint /mnt/archinstall #2194

Open XerwinXpl2 opened 1 year ago

XerwinXpl2 commented 1 year ago

hi, i tried setting up disk encryption in this script but it didnt worked so i tried doing it manually and then using archinstall. according to arch wiki i did cryptsetup -y -v luksFormat /dev/sdc5 (root partition) then cryptsetup open /dev/sdc5 root, mkfs.ext4 /dev/mapper/root and mount /dev/mapper/root /mnt/archinstall and everything worked, but then after mounting /dev/sdc3 at /mnt/archinstall/boot and running archinstall (using already existing disc config or however that option was called i dont remember sorry, and typing /mnt/archinstall) it failed with Could not detect root at mountpoint /mnt/archinstall. here is log file: install.log

also everything was working before i tried to use it on encrypted partition

another edit: i tried both version installed from pacman and cloned github version

intentionally-left-nil commented 1 year ago

I can confirm this is the case.

Looking at the details, the "manual partition" code doesn't detect any of the mounted btrfs volumes. It only sees the /boot/ partition that I mounted into that directory

intentionally-left-nil commented 1 year ago

@E15dev I was able to get it to work with my setup using the linked PR. If you're comfortable & want to give it a shot I'd love to hear if it solves your issue as well

XerwinXpl2 commented 1 year ago

i managed to install grub manually, i dont have free disks now so i cant test.