Hi all,
I am having a problem with my boot hard drive, due to some work I did to change the partitioning layout.
Let me explain: I was running out of space on my root partition, so I decided to remove two old partitions I had on the same disk and then extend the root partition to occupy all the space.
That's exactly what I did, and all was well.... nearly. At the next boot, grub dumped me to an interactive prompt, but that was expected. The layout had changed and the UUIDs had changed too.
I booted from a livecd and corrected the UUIDs in grub's menu.lst and in /etc/fstab. Then, on the next boot I told grub about the new root, and it happily booted.
Despite the apparent happy ending, I have two problems I can't solve:
- when it boots, pclinuxos still looks for /dev/sda3 and /dev/sda6 which are now gone. This introduces a two minute (1 for each partition) pause in the boot progress. I have been unable to find where the heck this information is stored;
- grub still dumps me to the command line at every boot, despite having reinstalled it a couple of times; each time I have to tell it about the new root, and then it loads my menu and correctly boots;
I am really at a loss: how can I tell grub to save the new root, and how can I make linux forget about /dev/sda3 and /dev/sda6?
All this is complicated by the fact (but this is an old story.. it's been like so for years...) that grub sees the drive layout differently from pclinuxos: it has /dev/sda and /dev/sdb swapped with respect to pclinuxos. So when I start grub interactively under pclinuxos to reinstall it, I have to use a different root (hd0,1); when it boots the root becomes (hd2,1). This is maybe the reason why I cannot get it to boot without "help" from me.
Google found a couple of old cases like mine, unfortunately without solution.
Any help is appreciated.
Bye
Cris