There’s a reason for the phrase “bleeding edge”.
I blithely decided to upgrade the Ubuntu side of my Win7/Ubuntu 10.04 dual-boot machine to Ubuntu 10.10 (Maverick). On a Saturday night. Hey, seemed like as good a time as any, right? Not working, shouldn’t take much attention, takes a long time, etc.
There are times when one looks back at a decision with uncomprehending horror — not because I decided to upgrade; no, because when I got prompted to make a choice about grub, for some reason I chose something like “upgrade to the package maintainer’s version”. I thought, maybe I should keep the currently installed version, but this seemed like the right option — I was upgrading, right? Psych.
Well, the rest of the upgrade seemed to go fine. Then I rebooted. And the horror show began: I got dumped into a grub rescue prompt. WTF. I happened to have 10.04-32bit boot disk (I’m running the 64-bit version), so I cranked that up and got on the Google. After sifting through many pages and trying a couple things that didn’t work, I was very worried. Somehow, I was able to get to sleep last night.
Thank goodness today I discovered the Super Grub2 boot disk — what a life saver! Instead of having to strain to grok detailed series of commands in order to fix grub, with Super Grub2 I booted into Ubuntu 10.10 on disk and simply ran
sudo grub-install /dev/sda
That fixed my first and worst problem.
The next problem was that I couldn’t boot into Windows. Fortunately (sic!), because I had this problem when I upgraded from Ubuntu 9.10 (Karmic) to 10.04 (Lucid), I knew the solution. Since I’d previously installed testdisk, I just had to run through it again. Presto!
Now, the last problem was a bizarre error message that appeared after selecting the most recent Linux image from the boot menu:
Modprobe: FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory.
WTF. After staring at that for ~5 seconds it disappeared and Ubuntu 10.10 came up just fine. WTF. Well, thankfully this post contained the solution to my problem.
So, all is well again in meerkat land. Maverick indeed!