grub stage2 file moved, can't boot
hey guys,
according to grub's documentation: Quote:
So I tried to move the stage2 file to another partition, I expected to get the grub cmd so I can find the stage2 file (with the 1.5 fs drivers) but when the system boots, it just hangs with the text "GRUB" what didn't I understand correctly ? thanks alot ! |
Not that I've ever tried this before, but the way the doc describes it, it sounds like GRUB is loaded using Stage 1, which picks a Stage 1.5 filesystem. This allows GRUB to read that filesystem, so then Stage 2 can exist in any filesystem and not have to be explicitly in any exact location.
Stage 1 (load GRUB) > Stage 1.5 (pick filesystem) > Stage 2 (load OS in selected filesystem) Quote:
Quote:
Stage 1 fits in the MBR and boots GRUB Stage 1.5 fits either inside or just after the MBR (since it's so small) Stage 2 can reside anywhere because Stage 1.5 points at it. Stage 2 can't fit in the MBR (or just after) because it is too big. |
Quote:
I don't think grub is gonna try to find the stage 2 in all of those disks... Quote:
And second of all, when u delete stage1_5 files it doesn't stops boot.. The system just boots regularly |
I am getting a headache trying to follow this....
The way to avoid all this is to simply install** GRUB with the first "root" statement pointing to the correct partition--ie the one that contains the /boot/grub files, menu.lst, etc.. Once you have done that, don't try to relocate any GRUB elements, stages, etc. The "booting" link below might be helpful. **My reading and experience both favor the GRUB shell method (as opposed to grub-install). |
Quote:
the real deal is to fix it :) |
Well, then, to fix it, start the grub shell, use the "find" command to find your stage2 files and modify your menu.lst and you should be good to go.
|
Quote:
|
Actually I was thinking of using the grub shell at the command prompt or with a boot disk such as SuperGrub, not the boot shell, which, as you point out, is disabled. SO... I'd get a SuperGrub disk, boot from it, and proceed. Or copy the files back to where they were and proceed.
Quote:
Maybe I'm just confused about the problem. |
All times are GMT -5. The time now is 10:48 AM. |