I have two visible boot partitions, one of which is historical only, so I wanted to stop GRUB from creating boot menu options for it. I renamed /boot and moved /vmlinux and /initrd.img away from it's root. Then I ran update-grub. All seemed well until I rebooted, when GRUB reported "file not found" and dropped into grub rescue.
My active system is Xubuntu 12.04, fresh install. The historical one is Ubuntu 11.10.
Looking at other questions and answers here, I tried
ls set prefix=(hd2,msdos2)/boot/grub set root=(hd2,msdos2) set ls /boot insmod /boot/grub/linux.mod
(at which point the font color changed to intense white) i continued with
linux /vmlinuz root=/dev/sda2 ro initrd /initrd.img
(at which point, grub rescue started giving the error message "no such partition",
even to repeats of the
linux commands above).
What did I do wrong?