UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a hard disk booting into Ubuntu 16.04.5 LTS (ext4) that would no longer boot into the GUI.
I used the ubiquitous "Boot-Repair-Disk" on it. It did its stuff and told me all was good. It wasn't; it seems a number of OS critical files went missing after the "Boot-Repair-Disk" process. Now the boot sequence doesn't get past initramfs.
I thought that maybe the Ubuntu 16.04.5 installer would offer a restore option, which is documented, but it doesn't appear when I run it although it recognizes the existing installation.
It'd be nice to get the disk back, so is there any practical way to actually restore a ubuntu installation?
Do you still have the Ubuntu 16.04 DVD/USB or any other Ubuntu derivative? You could use it to download and run boot repair using the ppa rather than the CD/iso version as the ppa version is more up to date. Use the Create BootInfo Summary option and post the link you get when it finishes so you have some actual information to post here. Boot repair link below.
Thanks for the feed back and tips, guys, and I think your gods smiled on me this day;
I was able to get to the grub menu and load a previous linux image. It threw a few errors but got me to a terminal mode from where I was able to sort things out and do a dist-upgrade
All good. I have just cloned and image in case there is a disk hardware issue, although I doubt that. It is a relatively new 500GB SDD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.