I had Ubuntu 15.10 LTS running OK on a single OS (no Windows partition) Dell Inspiron 5559 with UEFI boot sector. Needed to upgrade to run newer software (Google Meet in Firefox).
Tried to start the upgrade online about 50 times with:
sudo apt-get update
sudo apt-get upgrade
but always I got "Failed to download repository information". My internet connection is fine, but I kept getting packages not downloaded, index files not downloaded, error 404 etc. etc. I went round in circles for about 2 hours, following a lot of advice on this site about unticking update options in the software updater, changing the mirror URL, etc. Nothing worked. The same errors kept coming up.
So I gave up on that, and tried upgrading from a 16.04 LTS thumbdrive (from Canonical). Upgrade went OK then came up with an error about the boot sector and froze. Should have written it down, didn't. Muppet.
Anyway, now I have a machine that boots to a black screen where one of the 3 options is to boot Ubuntu. If I do, I get the prompt: (initramfs)
This is the entire screen content:
[ 1.031313] radeon 0000:01:00.0: VCE init error (-22)
fsck from util-linux 2.26.2
/dev/sda2: clean, 94899/60497920 files, 10639308/241989376 blocks
Target filesystem doesn't have /sbin/init.
mount: mounting /dev on /root/dev failed: no such file or directory
No init found. Try passing init= bootarg.
Busybox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu) built-in shell (ash) Enter 'Help' for a list of built-in commands
So I'd like to repair the boot sector.
I've tried running GPARTED from Ubuntu 16.04 LTS live, and selected 'repair', but the boot up hasn't changed.
So, can anyone who reads this, and might be able to help, try to understand that for a Linux Newbie, understanding 90% of the answers already on this website is a no-no; most of them are written by brilliant people who make a bunch of assumptions about the technical knowledge of the intended audience. I'm not that audience. I'm dumb. I thought that an upgrade to 16.04 from 15.10 would be straightforward, as they've had 16 versions to get it right.
Thank you for your patience,
JM
sudo e2fsck -f -y -v /dev/sda2
. You may also want to check the storage device's SMART data to make sure it is healthy. – mikewhatever Oct 05 '20 at 19:54