LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help! Grub Loader! (https://www.linuxquestions.org/questions/linux-newbie-8/help-grub-loader-39481/)

djsktbrd 12-27-2002 12:29 AM

Help! Grub Loader!
 
Hello there, all. Today, to free up more room for my windows partitioning, I deleted my Redhat 8 drive, wiped it clean, formatted all of it. So then I restarted, and GRUB loader was still on my original windows drive, so it started up, except just in the shell. I have no idea what to do, to get rid of it and just start windows, and I would appreciate any and all help! Thank you!

bulliver 12-27-2002 01:12 AM

Do you mean a grub shell or a dos prompt? If you type "mbr" at a dos prompt your original master boot record should be restored.

djsktbrd 12-27-2002 01:17 AM

GRUB shell. I'll see if that works, and tell you any more info if I can

bulliver 12-27-2002 01:19 AM

Hmm, if it's a grub shell then "mbr" isn't going to work.

From the GRUB manual:

How to uninstall GRUB from my hard disk drive?
There is no concept "uninstall" in boot loaders, because if you
"uninstall" a boot loader, an unbootable machine would simply
remain. So all you need to do is overwrite another boot loader you
like to your disk, that is, install the boot loader without
uninstalling GRUB.

For example, if you want to install the boot loader for Windows,
just run `FDISK /MBR' on Windows. If you want to install LILO(1)
(*note FAQ-Footnote-1::), run `/sbin/lilo' on GNU/Linux.

linuxcool 12-27-2002 01:27 AM

You need to run the msdos command ' fdisk /mbr ' from an msdos bootable disk to restore your mbr.

You might be able to boot windows form the grub prompt by entering at the prompt :

rootnoverify (hd0,0)
chainloader +1
boot

The hd0,0 represents partition hda1. If windows isn't on hda1, just change it to the correct partition.

djsktbrd 12-27-2002 01:34 AM

YES!!!!!!! THANK YOU! THAT WORKED PERFECTLY. Thank you all, for your help.


All times are GMT -5. The time now is 04:54 PM.