[LBo] Re: Grub wont come up
Jisao
dimark at securenet.net
Sun Feb 25 15:03:44 CET 2007
Anita Lewis wrote:
> On 02/24/2007 12:08 PM Rafi Gabzu wrote:
>
>> Hi ,
>> After resizing partition (increase Linux partition and decrease Windows) I
>> get Grub error 17 and PC stuck . Any ideas ?
>> Thanks
>> Rafi
>>
>
> Due to the resizing, grub is not finding where things it needs are on
> the hard drive. I'm not sure at what point in the process you are
> getting this message.
>
> Try using the grub commandline to find the kernel and boot. After you
> boot into Linux, rerun grub-install. Depending on what your drive is,
> it will be something like this. This would put grub in the MBR of the
> first drive:
>
> grub-install /dev/hda
>
> Information on using the grub commandline is here:
>
> http://linuxbasics.org/tutorials/advanced/grub_command_line
>
> Let us know the outcome of this, please.
>
> Anita
>
>
Somehow, my previous post did not make it to the list.
Anita is right if grub's integrity is ok. In my case, I often simply
change the number of the partition and root until the system boot
(partition numbers change when you repartition a drive).
You can use the shell in Grub to search, edit, and boot the system
manually. It's pretty neat, in fact.
But if Grub can't find its own files, then you have to modify the MBR to
point to the right place, and to my (limited) knowledge, you have to
reinstall grub, which you can do, in your case, with the debian install
disk. You have to get to the Debian installer main menu (I do this by
escaping a regular install, as I don't know better), and pick the
"Install the GRUB boot loader on a hard disk".
Jisao
More information about the QnA
mailing list