LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2002, 12:29 AM   #1
djsktbrd
LQ Newbie
 
Registered: Dec 2002
Location: Northbrook, IL
Posts: 3

Rep: Reputation: 0
Exclamation 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!
 
Old 12-27-2002, 01:12 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 78
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.
 
Old 12-27-2002, 01:17 AM   #3
djsktbrd
LQ Newbie
 
Registered: Dec 2002
Location: Northbrook, IL
Posts: 3

Original Poster
Rep: Reputation: 0
GRUB shell. I'll see if that works, and tell you any more info if I can
 
Old 12-27-2002, 01:19 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 78
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.

Last edited by bulliver; 12-27-2002 at 01:25 AM.
 
Old 12-27-2002, 01:27 AM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
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.

Last edited by linuxcool; 12-27-2002 at 01:29 AM.
 
Old 12-27-2002, 01:34 AM   #6
djsktbrd
LQ Newbie
 
Registered: Dec 2002
Location: Northbrook, IL
Posts: 3

Original Poster
Rep: Reputation: 0
YES!!!!!!! THANK YOU! THAT WORKED PERFECTLY. Thank you all, for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Loader MacaveliMC Ubuntu 5 09-29-2005 12:07 AM
Grub loader BorderPatrol Linux - General 6 12-12-2004 06:36 PM
GRUB loader glenn69 Linux - Newbie 10 08-31-2003 12:32 PM
grub loader derekandjac Linux - Newbie 2 02-26-2003 03:06 PM
GRUB loader tszhim Linux - General 4 02-09-2003 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration