LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   GRUB help (https://www.linuxquestions.org/questions/linux-general-1/grub-help-148497/)

laclac01 02-20-2004 03:19 PM

GRUB help
 
Trying to play around with grub and i guess i messed some stuff up. Can someone help me?
At start up i get:

GRUB loading stage2...

And it just sits there. It used to load, its RH7.3 the version of grub was 0.91 i think. It was a dual boot machine, the other os was XP. This is a small sony picture book so there is no floppy so i could not make a bootable floppy.

How can i get back to the way i was?

thanks

funkymunky 02-20-2004 04:41 PM

hello, mate

IMPORTANT:
1)im assuming ur /boot directory is on hda6
2)try to get xosl and install it...its good to have an OS-independent bootloader




do this: pop in your redhat cdrom (disk 1), and boot off it (you have it, dont you :-o)..then, at the boot: prompt, type linux rescue

next, when all the processing is over, it will ask u whether u want the sysimage to be mounted..yes, of course you do..

next, when it drops you at the shell prompt, type mount /mnt/sysimage (or whatever the installation program told u to type to get to the mounted
image)

(IMPORTANT: ensure you have read the note at the beginning of this answer)

next, type:

grub

when grub boots up, type:

root (hd0,5)

next, type

setup (hd0,0) //NOTE: this will setup GRUB in the MBR!
...alternative: if u type setup (hd0,5), brub will go to the first sector of ur boot partition. then u can use Xosl or something to access this partion.

next, type
quit

and reboot
and pray

:-)


All times are GMT -5. The time now is 01:18 AM.