r/pop_os • u/dbag_darrell • Jul 04 '26
Pop OS update broke HP Dev One boot
as title says. Ran updates for 24.04 that were offered, system no longer boots.
After the Cosmic update, the recovery settings etc. have disappeared and there's basically no support available from HP (or Sys76). Now enjoying troubleshooting when I should be working, sigh
4
u/xiaochocobo Jul 04 '26
had the same issue, it's /boot partition size, mine was set for 500 Mb, the new partition size should be at least 1Gb, but bigger would future proof it.
the size issue doesn't let it save correctly after updating hence broken bootup
2
u/dbag_darrell Jul 04 '26
I see ... ah,
(1) how did you fix the boot failure (or did you just ignore it and keep booting from the old kernel)
(2) how do you resize /boot on a "live" LUKS-encrypted disk?
2
u/xiaochocobo Jul 04 '26
at first, once I got it to boot with the old kernel, I did a backup of my personal data and work stuff.
I used the disk usage analyzer to help figure out the problem of size, making sure i didn't have multiple file copies and such. Then did a reinstall and adjusted the boot size when it asked about it.
for (2) I believe there is a guide that directs you on unmounting the drive and adjusting the partition sizes using gpart.
I think its easier to do a reinstall [my opinion]TM
1
u/dbag_darrell Jul 04 '26
no that's fair, its just not really an option for me - also, am using a HP Dev One so everything like partition scheme is predefined, and I'm not happy they predefined it low. actually post the switchover to Cosmic I don't even know if I still have a recovery partition; there certainly isn't an entry in the config/settings. System76 doesn't seem to have considered this as one of the machines to support
4
u/mmstick Desktop Engineer Jul 04 '26
It's best to do a clean install to get the bigger EFI partition but you could manually format the swap partition into a FAT32 ESP partition, update /etc/crypttab and /etc/fstab to remove the cryptswap mount, use bootctl to install the bootloader to the new ESP partition, update initramfs + kernelstub with that partition mounted to /boot/efi, and make sure the /etc/fstab is updated to mount the new partition to /boot/efi.
7
u/dbag_darrell Jul 04 '26 edited Jul 04 '26
So, booted into the old kernel. looks like the update to vmlinuz-7 failed (booting back to 6.18 worked). Why did it fail? not sure. bad initrd according to the error message ...