I screwed up my system by trying to move the /boot partition located at /dev/hda2. I wanted to make more room on /dev/hda1 to a larger windows partition. Since I had been backing up all my partitions onto a secondary drive I did not think there would be a problem. After deleting both hda1 and hda2 and remaking them using fdisk I copied the backup boot directory to /dev/hda2. Now the problem. The system will not boot since I lost the stage1 part of grub which was on hda2. How could I, using the rescue system from the DVD, reinstall grub so hda2 would contain the stage1 loader. I tried grub-install and grub from the command line in the rescue mode without luck. Can anyone explain, in simple term, how to recover a bootable partition? Thanks, Terry -- Sig line not working yet!
The Tuesday 2003-12-16 at 20:48 -0600, Terry Eck wrote:
I screwed up my system by trying to move the /boot partition located at /dev/hda2. I wanted to make more room on /dev/hda1 to a larger windows partition. Since I had been backing up all my partitions onto a secondary drive I did not think there would be a problem. After deleting both hda1 and hda2 and remaking them using fdisk I copied the backup boot directory to /dev/hda2. Now the problem. The system will not boot since I lost the stage1 part of grub which was on hda2. How could I, using the rescue system from the DVD, reinstall grub so hda2 would contain the stage1 loader. I tried grub-install and grub from the command line in the rescue mode without luck. Can anyone explain, in simple term, how to recover a bootable partition?
Mmm... :-? Perhaps... try to, using the dvd, to boot the installed system instead of the rescue system. Or, from the rescue system mount the HD root filesystem chroot to it. Then, fire up Yast (which will be the one on the HD), boot configuration, edit and save: this will force it to reinstall. Then, there is a "grub-install" program that perhaps could do this, but I still haven't got around to read the docs. Something to do one day. -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Terry Eck