Open christian-korneck opened 5 years ago
I'm seeing the exact same issue without lvm
@c2h5oh thanks for the info. I've edited the issue and title accordingly. (I indeed didn't test without choosing lvm. Relation to lvm was just an assumption, which was probably wrong).
OK, so I've tracked it down to a grub.cfg creation failure:
grub-mkconfig
will first try to detect OSes on other partitions, but for each partition will throw WARNING: Device /dev/<device> not initialized in udev database even after waiting 10000000 microseconds.
. This warning doesn't show up in logs.As a temporaty fix adding GRUB_DISABLE_OS_PROBER=true
to /etc/default/grub allows grub installation to finish quickly - after first boot you just remove it and re-run grub-mkconfig and let it sit as long as it needs to complete.
Same problem here without lvm except that for me the grub error is
/usr/bin/grub-probe: error: failed to get canonical path of `root-image`.
Describe the bug Whenever I install a vanilla Antergos (from
antergos-minimal-18.12-x86_64.iso
) on a blank disk and chooselvm
(with default settings) for the disk setup, the installed system ends up with having no grub config file (/boot/grub/grub.cfg
does not exist and at first boot I end up in the grub shell). [Update: Another user reports that it also happens without choosing lvm, so lvm is probably unrelated. I didn't test without lvm].Firmware mode is BIOS (haven't tried EFI). Both the partitions are created correctly as well as grub gets installed. The only thing missing is the grub config file.
Workaround To repair: In the grub shell:
This will boot the system. From Linux, create the grub config file:
To Reproduce Steps to reproduce the behavior:
lvm
(with default settings)Expected behavior
/boot/grub/grub.cfg
gets created during OS installationLog Files
From
/var/log/cnchi.log
: