VMs end up without grub installed

Sven Schumacher schumacher at tfd.uni-hannover.de
Wed Apr 21 09:52:03 CEST 2021


Hello Bill,

Is your system to be installed EFI or BIOS boot?
Grub-pc is normally bios boot oriented.
I added a switch myself by checking if a call to „efibootmgr“ (has to be installed beforehand)  is successful or not to decide if grub-pc or grub-efi will be installed

Have fun

Sven

> Am 21.04.2021 um 09:12 schrieb Bill MacAllister <bill at ca-zephyr.org>:
> 
> Between working through getting dirinstall to build Xen VMs and upgrades
> to FAI I appear to have broken FAI PXE builds and could use some help.
> 
> The FAI server is a Ubuntu 18.04 system with a Buster nfsroot.  The
> Ubuntu system has FAI 5.9.4 and the Buster nfsroot is 5.10.1.  The
> Ubuntu host is at 5.9.4 because the newer version of FAI uses a shell
> command not available in Ubuntu 18.04.  (Don't remember exactly which
> one right now and I want to get this note in the mail.)
> 
> What I am seeing is the that everything on the build goes fine until
> GRUP_PC/10_setup.  10_setup exists with error status of 1.  The
> resulting system does not boot, well, boots to a blank screen.  Looking
> at the system I see that /boot/grub/ does not contain a grub.cfg.
> 
> The grub package that is in my packages configuration is grub-pc.
> The 10_setup script is setting debconf-set-selections in /target
> and then running dpkg-recongfigure grub-pc.  When I do this manually
> the command returns without creating a grub.cfg.  Maybe this should
> be update-grub?
> 
> So, if someone has seen a similar problem please let me know how you
> solved the issue.  Otherwise, I would appreciate a couple pointers
> for things I should be looking at.
> 
> Thanks in advance,
> 
> Bill
> 
> -- 
> Bill MacAllister <bill at ca-zephyr.org>


More information about the linux-fai mailing list