Still pretty new to Linux, I’m on Ubuntu Studio 24.04 LTS and had some issues with updates through the updater with errors and so I did sudo apt update/upgrade instead. Something went wrong and had errors, and after a reboot I had no internet access, Ethernet or WiFi, and no options to connect to anything. Running sudo lshw -c network showed unclaimed networks.

In case anyone has a similar issue, I fixed it by:

  1. Reboot, spam shift to get into grub
  2. Advanced options
  3. Recovery mode for the lower number kernel
  4. Enable networking
  5. Fix broken packages

My question is about number 3. There were 4 kernel options, 2 normal with a recovery for each (I can’t remember the specifics but one had 37 and the other 36). I selected recovery 36 as it was the older kernel. Is that amount of options (2 for each kernel) normal or can I create more? Like 37, 36, 35, 34, etc.

I was in panic mode since this PC is for work, and thought it might be nice to have more older kernel options if possible. I’ve also learned my lesson and am currently running Timeshift.

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    5 days ago

    If the partition where your OS stores boot images at is large enough, you can have practically infinitely many kernels in grub.

    Some distros store those in a boot partition. Some store it in the root partition subdir. I don’t know about ubuntu tbh.

    I once had a 2gb boot partition and I needed to add a graphics stack to the boot image so I could use a touchscreen keyboard during boot to enter a LUKS password. That made a single kernel image over 1gb, so I could only have one…