I was trying to clean up my hard drive/s, and I deleted a couple of partitions that had distros installed that I didn’t use. My various root fs’s are on sdb, my home partition is on sda. I have swap partition (sdb4), a logical partition (sdb3) with three openSUSE installs (sdb5, sdb6, sdb8) an Ubuntu (sdb7) and Fedora (sdb9). I deleted sdb9 and sdb7 (Fedora and Ubuntu, since I don’t use them and can run them in VirtualBox if I need them). On reboot, I get Grub Error 22, and then the boot stops. I know I must have done something wrong, but I don’t have a clue what. Is there anything I can do to fix this mess? This doesn’t look good!
You can use this Howto to find your “roots” and boot and also edit GRUB in grub. Just scroll down to the pertinent section. This is a very thorough howto that goes far beyond GRUB but I put you in the sectin you need initially.
http://http://users.bigpond.net.au/hermanzone/p15.htm#cli
And, later, if you want, you can read this:
http://http://www.gnu.org/software/grub/manual/grub.html
You can also use the install discs of any of the numerous distros to find a bootable partition.
Follow Herman’s guide and you’ll soon be ok except for the deleted stuff.
The partition table does some nifty things when the delete is used in a running system and oft times renumbers them, confusing GRUB.**
Thanks for the links. I’ll keep that stuff on hand (by the way, your links all started with “http://http//” so they didn’t work until I edited them myself). I actually seem to have gotten around the problem. I booted the rescue system from the installation DVD, and created a new Grub setup with just my main os openSUSE 11.0 on what was now sdb7 (it originally was on sdb8; I guess extended partitions like the numbers to stay in order?). This allowed my to boot back into my main system, where I redid my Grub menu, and patched up the partition table. Then I rebooted into each of my other os’s manually fixing the fstabs in the others. It seems to be working fine now, but that was quite a scare. And a good learning experience.
Thanks again!