archlinux / archinstall

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

/boot being mounted before / and its causing a crash #2566

Closed malta-rf closed 2 weeks ago

malta-rf commented 1 month ago

Which ISO version are you using?

2024-07-01

The installation log

https://0x0.st/XB50.log

describe the problem

I need to dualboot arch/windows, using a SSD for root partition and the windows EFI for the boot partition on a HDD.

/boot => /dev/sda1 (windows EFI partition) / => /dev/sdb1 (SSD)

but archinstall is mounting boot before the root (arch-chroot) and this is causing the script to crash. the fix is simple: just mount the root partition first.

every time I need to install arch I have to save the config file, change the disk order in the json file and then load the script again for it to work.

svartkanin commented 1 month ago

Looks like a duplicate of https://github.com/archlinux/archinstall/issues/2441

Did you follow the instructions in the readme for dual boot?

malta-rf commented 1 month ago

Did you follow the instructions in the readme for dual boot?

I read the instructions but the problem only happens when using 2 differents disks for /boot and / and if boot disk is listed first. if both partitions are in the same disk the installation runs smooth. plus changing the disk orders in the json file also fix the problem.

Torxed commented 1 month ago

We should ensure that the order in the struct is sorted by mount point.

codefiles commented 2 weeks ago

Looks like a duplicate of #2441

I agree @svartkanin.

Thanks @malta-rf for the info and log.

Torxed commented 2 weeks ago

A fix has been merged, so I'll go ahead and close this one for now.