grahamst
June 21st, 2010, 09:37 AM
I'll start by admitting I did a stupid thing yesterday.
Previously I'd installed Ubuntu Netbook Remix (Lucid) on my Acer Aspire One 751h netbook. the machine came with XP installed, so I installed Ubuntu as a dual-boot setup. I had various problems with the configuration of Ubuntu (nothing to do with the boot process, and now solved) so I reinstalled it.
What I'd actually done with the second installation was to install it again alongside both XP and the original Ubuntu installation (maybe that was also a stupid thing, but I didn't know it would work like that). When I realised what I'd done, I did the stupid thing, which was to delete the partitions with the older installation and swap file (using the Disk Utility).
After that, the next time I rebooted I went straight into grub-rescue. I don't know much about this, but I found a forum entry explaining the basics, so I can now issue grub-rescue commands that let me boot into Ubuntu. I've run update-grub and my /boot/grub/grub.cfg file looks fine.
However, I think this only kicks in once I've got past the initial boot menu and have chosen Ubuntu (now on sda5 - hd0,5). My problem is that the files/processes that load the boot menu on startup still have the old configuration, so when I reboot I still go into grub-rescue and I get 'partition not found' (or, since I recreated the partitions, 'file not found') and root is at (hd0,7).
Is there a way, once I've got into Ubuntu, of changing the information in the startup boot menu?
Alternatively, if I copy my entire file system from sda5 into sda7, would that do the trick?
Graham
Previously I'd installed Ubuntu Netbook Remix (Lucid) on my Acer Aspire One 751h netbook. the machine came with XP installed, so I installed Ubuntu as a dual-boot setup. I had various problems with the configuration of Ubuntu (nothing to do with the boot process, and now solved) so I reinstalled it.
What I'd actually done with the second installation was to install it again alongside both XP and the original Ubuntu installation (maybe that was also a stupid thing, but I didn't know it would work like that). When I realised what I'd done, I did the stupid thing, which was to delete the partitions with the older installation and swap file (using the Disk Utility).
After that, the next time I rebooted I went straight into grub-rescue. I don't know much about this, but I found a forum entry explaining the basics, so I can now issue grub-rescue commands that let me boot into Ubuntu. I've run update-grub and my /boot/grub/grub.cfg file looks fine.
However, I think this only kicks in once I've got past the initial boot menu and have chosen Ubuntu (now on sda5 - hd0,5). My problem is that the files/processes that load the boot menu on startup still have the old configuration, so when I reboot I still go into grub-rescue and I get 'partition not found' (or, since I recreated the partitions, 'file not found') and root is at (hd0,7).
Is there a way, once I've got into Ubuntu, of changing the information in the startup boot menu?
Alternatively, if I copy my entire file system from sda5 into sda7, would that do the trick?
Graham