Closed NiKiZe closed 3 months ago
Running sh gentoocd_unpack.sh auto useefi Installation seems to work fine, however on reboot it boots from iso first instead of disk
sh gentoocd_unpack.sh auto useefi
sh test_w_qemu.sh useefi auto does PXE boot
sh test_w_qemu.sh useefi auto
Outpu from grub installation:
+ ls -lh /boot total 20M -rw-r--r-- 1 root root 3.7M Aug 3 08:54 System.map-5.13.7-gentoo -rw-r--r-- 1 root root 3.7M Aug 3 08:54 System.map-5.13.7-gentoo.old -rw-r--r-- 1 root root 119K Aug 3 08:54 config-5.13.7-gentoo -rw-r--r-- 1 root root 119K Aug 3 08:54 config-5.13.7-gentoo.old drwxr-xr-x 2 root root 16K Jan 1 1970 efi lrwxrwxrwx 1 root root 21 Aug 3 08:54 vmlinuz -> vmlinuz-5.13.7-gentoo -rw-r--r-- 1 root root 6.0M Aug 3 08:54 vmlinuz-5.13.7-gentoo -rw-r--r-- 1 root root 6.0M Aug 3 08:54 vmlinuz-5.13.7-gentoo.old lrwxrwxrwx 1 root root 25 Aug 3 08:54 vmlinuz.old -> vmlinuz-5.13.7-gentoo.old + grub-install /dev/sda Installing for x86_64-efi platform. EFI variables are not supported on this system. EFI variables are not supported on this system. grub-install: error: efibootmgr failed to register the boot entry: No such file or directory. + sed -i '/\^//' /etc/default/grub sed: -e expression #1, char 5: unknown command: `/' + sed -i 's/^#GRUB_DISABLE_LINUX_UUID=[a-z]*/GRUB_DISABLE_LINUX_UUID=true/' /etc/default/grub + sed -i 's/^#GRUB_CMDLINE_LINUX_DEFAULT=""/GRUB_CMDLINE_LINUX_DEFAULT="rootfstype=ext4 panic=30 vga=791"/' /etc/default/grub + sed -i 's/^#*GRUB_TIMEOUT=[0-9]+/GRUB_TIMEOUT=3/' /etc/default/grub + grep -q console= /proc/cmdline + sed -i 's/ vga=791/ console=tty0 console=ttyS0,115200/' /etc/default/grub + grep -q console= /proc/cmdline + sed -i 's/^#GRUB_TERMINAL=.*/GRUB_TERMINAL="console serial"/' /etc/default/grub + grep -q console= /proc/cmdline + echo 'GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0"' + grep -q console= /proc/cmdline + sed -i 's/^#s0:/s0:/' /etc/inittab + grub-mkconfig -o /boot/grub/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.13.7-gentoo Found linux image: /boot/vmlinuz-5.13.7-gentoo.old Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. done + cd /etc
check if maybe 0bb1dcd4c85fa0a922aea0747ab963badbbb82d3 has resolved this
Running
sh gentoocd_unpack.sh auto useefi
Installation seems to work fine, however on reboot it boots from iso first instead of disksh test_w_qemu.sh useefi auto
does PXE bootOutpu from grub installation: