0

this is a Ubuntu-only machine. No Windows, no dual boot. It's a Dell, with UEFI boot protocol (Inspiron 5559).

I wrecked my 14.04 installation by trying to upgrade the kernel (following instructions at https://websetnet.com/install-linux-kernel-45-rc-3-ubuntu-1504-ubuntu-1404/). The advice was followed because I have no sound and they said I needed a newer kernel.

The command to remove the newer kernel failed.

Anyway, I now have a machine which sometimes refuses to boot, and sometimes can be persuaded to boot to the older kernel in recovery mode. It's effectively useless.

More than anything, I would like to remove the entire installation and reinstall from scratch, but I can't. The boot sequence won't let me boot from the Ubuntu live CD, and I don't know how to get the CD to run.

I've backed up my /home directories, by the way.

Grateful for any help.

Cheers John

John M.
  • 31

2 Answers2

0
   sudo dpkg -l | grep linux-image

this will display the kernels purge the newer one by this

sudo apt-get purge linux-image-3.13.0-76-generic

update grub by this

sudo update-grub

change the version with your one

but first check if you can boot into the machine with older kernels selecting an older kernel from the advanced option in grub

0

couldn't use Grub 2, couldn't boot CD or flash drive, couldn't do squat.

So I deleted the files in /boot that were associated with the new (4.5-rc) kernel - in other words, everything with "4.5" in the file name.

Not very scientific or sensible, but after rebooting, the PC finally 'noticed' the flash drive and booted into Ubuntu Live. I think this happened because I'd done something unspeakable to the boot files: reason I believe this is because Ubuntu told me there was no operating system, so I must have done something to remove some crucial part of it.

So, at this point in the tale, I'd done everything I shouldn't have. Once Ubuntu booted, it all got a lot easier.

Remember, I followed instructions to update the kernel because I wanted sound. Well, Ubuntu 15.10 (on the flash drive) solved that problem, so I'm a happy bunny.

Took 3 evenings to restore everything else, but now I have a laptop where sound and the HDMI port both work, so I can stream online TV catch-up programmes.

All good, thanks to all who took the trouble to contribute.

JM

John M.
  • 31