[SOLVED] gparted broke chainloading mageia partition.Sigh!

I'm a multi-booter, have been for a long time. I've been booting 4 different Linux distros on my laptop for years.But Back when I started doing that, giving each Linux distro 16 gig of space seemed like plenty. Lately though I've sometimes found it a snug fit.
So since I've learned to like Mageia better than Sabayon anyway, and since the last time I upgraded my laptop's Sabayon installation, it borked itself, I decided to divide it's 16 gig between my music, & the other 3 Linux partitions.
Accordingly I dusted off my live gparted disk, And pushed things around... And it all worked. Except, that is, for my backup boot method...
I normally boot via explicit entries in my manually edited grub {legacy} partition, where I even maintain copies of the current vmlinuz & initrd files for each of the installed Linux.
But every now and then, I'm so tired after an upgrade that included a new kernel or initrd, that I fail to update my grub partition before rebooting. And/or it has happened that a simple typo in my menu.lst may result in an broken boot entry. So I very much like the fact that my menu.lst also has a section devoted to chainloader entries for each Linux partition. And since I always tell the installer to put it's automatically configured bootloader on the superblock of it's own "root" partition, that loader can be chainloaded.
Well in the process of growing my remaining Linux partitions to 20 gig, gparted had to "move" the starting point of two of them. And that broke the chain loader boot method for both my Mageia, and my antiX partitions.
This was expected. But I thought that since I can still use the manually edited boot entries in my grub partition, And since neither has grub2 installed, I expected to use the grub shell to fix it.
I can use grub's find command on unique filenames to verify their grub legacy partition names { for example: (hd0,10) } BUT...
My question is, how does one setup a grub legacy installation to use the "root" partition without reinstalling just to get the installer to do it???
So since I've learned to like Mageia better than Sabayon anyway, and since the last time I upgraded my laptop's Sabayon installation, it borked itself, I decided to divide it's 16 gig between my music, & the other 3 Linux partitions.
Accordingly I dusted off my live gparted disk, And pushed things around... And it all worked. Except, that is, for my backup boot method...
I normally boot via explicit entries in my manually edited grub {legacy} partition, where I even maintain copies of the current vmlinuz & initrd files for each of the installed Linux.
But every now and then, I'm so tired after an upgrade that included a new kernel or initrd, that I fail to update my grub partition before rebooting. And/or it has happened that a simple typo in my menu.lst may result in an broken boot entry. So I very much like the fact that my menu.lst also has a section devoted to chainloader entries for each Linux partition. And since I always tell the installer to put it's automatically configured bootloader on the superblock of it's own "root" partition, that loader can be chainloaded.
Well in the process of growing my remaining Linux partitions to 20 gig, gparted had to "move" the starting point of two of them. And that broke the chain loader boot method for both my Mageia, and my antiX partitions.
This was expected. But I thought that since I can still use the manually edited boot entries in my grub partition, And since neither has grub2 installed, I expected to use the grub shell to fix it.
I can use grub's find command on unique filenames to verify their grub legacy partition names { for example: (hd0,10) } BUT...
- Code: Select all
grub> find /boot/vmlinuz-3.8.13.4-desktop-1.mga3
find /boot/vmlinuz-3.8.13.4-desktop-1.mga3
(hd0,10)
grub> root (hd0,10)
root (hd0,10)
Filesystem type is ext2fs, partition type 0x83
grub> setup
setup
Error 11: Unrecognized device string
grub>
My question is, how does one setup a grub legacy installation to use the "root" partition without reinstalling just to get the installer to do it???