I have an x86 mini PC with no serial port, so local console access is keyboard & HDMI display only. On the last two attended sysupgrades the process has inserted a TTY output reference to a non-existent serial port in grub.cfg. This stalls the boot process at the Grub menu until I intervene and remove the reference.
I (recklessly) tried specifying grub.cfg in sysupgrade.conf to preserve it across the upgrade but that was a really bad idea, since the upgrade changes the PARTUUID of the root partition, and that new ID needs to be reflected in grub.cfg for the kernel to be able to find it.
Any pointers welcome.
replace root=PARTUUID=...
with root=/dev/sda2
(or whatever the correct device is) in grub.cfg.
3 Likes
Thanks do much. I have it up and running now. Wondering what I need to do to persuade attended sysupgrade the device doesn't have a serial port.
same, isn't it ?
make sure grub.cfg isn't modified, that's where those settings are located, read Dell Wyse 3040 and openvpn - #18 by bill888.
1 Like
Thanks again. I'll be building my own image in future.
Add /boot/grub/grub.cfg
to /etc/sysupgrade.conf
. This will ensure the preservation of grub.cfg
across upgrades.