Quote:
Originally Posted by Topher
I had a similar issue happen to me after some kernel updates.
Running 'sudo grub2-mkconfig -o /boot/grub2/grub.cfg' fixed it for me.
|
Hi Topher,
Thanks for posting and trying to help.
Unfortunately, my day just went from bad to worse as that command removed my bootable kernel from grub (option 3 on the grub menu) and replaced all three kernel options with only 1 bootable option using the kernel that doesn't boot.
Not your fault, and thank you for trying to help. At least you tried.
---------- Post added at 01:33 PM ---------- Previous post was at 01:32 PM ----------
Rant...
I've definitely learned my lesson with Fedora's bleeding edge, allowing it to update its kernel repeatedly.
No one from Bugzilla ever replied, and I even sent a direct email to the kernel mailing list as well.
Not a single look reply to investigate, let alone try to fix the issue.
Next...
I'll have to take the disk out of the laptop, and see if I can access the data from the LUKS LVM and take a second backup before I wipe it and install another OS.
I will probably opt for a more stable release, a long term (or rolling) release distro...
Maybe it'll be Ubuntu as it has a 12.04 LTS (with kernel 3.2.x)... that lasts for 5yrs.
Or maybe I'll throw on CentOS as I can then use Gnome 2.x or KDE 4.x
CentOS runs kernel 2.6.x and is stable.
Decisiosn, decisions.
I'm afraid my days of Fedora are coming to an end, on all 4 of my machines.
This isn't the first time we've left Fedora, but I this time, we wont return.
Ironically, we did like the Gnome 3 (shell) experience.
We chose that because with previous Fedora installations, we used KDE.
That turned out to be a big buggy for us, with stability issues (window crashes).
Anyways..... long live the Fedora project, just not on this specific laptop.
---------- Post added at 02:58 PM ---------- Previous post was at 01:33 PM ----------
Quick update....
As it happens, before carrying out the command that Topher detailed, I took a copy of /boot/grub2/grub.cfg file.
That seems to be my saving grace.
I have accessed the boot partition of the LVM drive using another machine (with the hard disk via USB).
I copied the current /boot/grub2/grub.cfg to /boot/grub2/grub.cfg_broken
Removed /boot/grub2/grub.cfg
Copied my backup of grub.cfg to /boot/grub2/grub.cfg
Reinstalled the hard disk, rebooted, and there's the kernel (3.4.x) that allows the machine to boot.
Now, to go in, take a second backup and then wipe it, and then get on with a fresh install.
Which OS did I choose?
I have decided on Ubuntu 12.04 LTS (32-bit)
Why?
It's a long term release (5yrs)
It runs kernel 3.2.x (at the moment, and I wont allow further kernel updates).
It has Unity, ok... but it has Gnome fall-back too.
And the (arguable) bonus, it's just 2 commands to install Gnome Shell again.
The wife will be pleased... she will have 3 desktops to choose from!
4 desktops, in fact, if I go the whole hog and give her KDE too.
Hope you've enjoyed reading the story.
And hopefully, some comments in here help others too.