Problem Description:
Realised that the security repository was not enabled, so enabled it and ran apt update and apt upgrade. It was quite a job to get everything installed as the system appeared to have got quite out of date. I did notice the Intel microcode and firmware got updated but apart from that nothing else kernel nor boot related.
Now every kernel after 6.8.0-71 fails to start as they fail to find any disks. Initially 6.8.0-71 also failed to start for the same reason. I ran 6.8.0-71 recovery, selected the repair grub option and then continue. 6.8.0-71 has worked since then. The same is not true for the 6.11 kernels.
Before the updates from the security repo 6.11.0-24 was booting fine. After it fails to locate any disks.
Relevant System Information:
Not sure what to add here, please advise.
Screenshots or Error Messages:
Impossible to get screenshots.
Message ALERT disk not found. Dropped to BusyBox. ls of /dev and /dev/block show no real block devices, just loops
What I’ve Tried:
initramfs -u
update-grub2
complete purge of linux 6.11.0-24 files and reinstall.
install all kernels from 25 to 28.
Checked BIOS. Only two options are Legacy and UEFI. UEFI is selected.
Looking at the output from apt update I see security updates for oracular have been included. I’m currently in a tussle to re-install LibreOffice!
However, what I hadn’t spotted is that the kernel modules were also being pulled in from the security repo. I had been running on linux 6.11.0-24. I performed a complete uninstall and reinstall from, presumably, the security repo. Same thing, loads of error -22 from the AHCI module, then dumped to BusyBox as no disks found.
I disable the security repo and performed a complete uninstall and reinstall of linux 6.11.0-24 and it boots fine.
It’s a work around, but I think it best not to include the security repo, even though it’s indicated in bold in the Software & Source app.
I have no idea why oracular is being included when I enable the security repo, especially as I’m on 24.04.3 LTS
6.14 has never been offered as an update. Maybe because my old nVidia card no longer has a buildable module. I have tried to build it for later kernels, but it is beyond my abilities
Not sure how you ended up in this state but disabling security updates is not the best option. If you’re on 24.04 then it should certainly not pull from Oracular. What do you get for:
Not sure how those two files ended up on the system. The label “Important security updates” appears on the “Other Software” tab. Removing the files removes this entry.
Would the Oracular version of the kernels fail to load the AHCI modules?
Nothing oracular related is going to help your 24.04 system – remove them. Leave the noble security lines alone in the sources.list… If you want later kernels, you should install the Hardware Enablement packages (linux-image-generic-hwe-24.04 and linux-headers-generic-hwe-24.04). Those will bring in the later kernels (6.14 currently) as a part of the normal updates.
Your system looks very misconfigured. On a pristine 24.04.3 you should only have:
$ cat /etc/apt/sources.list
# Ubuntu sources have moved to the /etc/apt/sources.list.d/ubuntu.sources
# file, which uses the deb822 format. Use deb822-formatted .sources files
# to manage package sources in the /etc/apt/sources.list.d/ directory.
# See the sources.list(5) manual page for details.
And:
$ cat /etc/apt/sources.list.d/ubuntu.sources
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
##
## If you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add supplemental sources in /etc/apt/sources.list.d
## c.) make changes to template file
## /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl
##
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Ubuntu distribution repository
##
## The following settings can be adjusted to configure which packages to use from Ubuntu.
## Mirror your choices (except for URIs and Suites) in the security section below to
## ensure timely security updates.
##
## Types: Append deb-src to enable the fetching of source package.
## URIs: A URL to the repository (you may add multiple URLs)
## Suites: The following additional suites can be configured
## <name>-updates - Major bug fix updates produced after the final release of the
## distribution.
## <name>-backports - software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## Components: Aside from main, the following components can be added to the list
## restricted - Software that may not be under a free license, or protected by patents.
## universe - Community maintained packages. Software in this repository receives maintenance
## from volunteers in the Ubuntu community, or a 10 year security maintenance
## commitment from Canonical when an Ubuntu Pro subscription is attached.
## multiverse - Community maintained of restricted. Software from this repository is
## ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free
## licence. Please satisfy yourself as to your rights to use the software.
## Also, please note that software in multiverse WILL NOT receive any
## review or updates from the Ubuntu security team.
##
## See the sources.list(5) manual page for further settings.
Types: deb
URIs: http://archive.ubuntu.com/ubuntu
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
No other files in /etc/apt/sources.list.d/ unless you added some additional sources manually.
I did. This is my old dev workhorse. Been on Ubuntu since about 12. It’s been reinstalled a few times but the required dev packages and nice to have packages have always been reinstalled. I do prune out dead repos from time to time. Sorry if I gave the impression the install was pristine. However, I would not have installed a 24.10 repo as I always use LTS for my dev PC. I guess alarms bells should have sounded when I was presented with quite so many updates! I don’t know why the repo file was there, and specifically for Oracular security updates.