LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2006, 07:15 AM   #1
Balakrishna
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad
Posts: 17

Rep: Reputation: 0
overwriting boot loader (GRUB)


Hi,

I installed fedora 5 on a system with Windows XP. later on i formatted linux partitions from windows disk manager. Now when i am booting

"Grub is not showing the list to select the required OS."

it is showing the prompt like this

grub>

i used the following commands to load into windows

chainloader +1
boot

it is loading. No problem up to this.

but is there any way to getrid of issuing these commands every time and it will load into windows as if there is no traces of installing linux.

thanx...
 
Old 12-23-2006, 07:39 AM   #2
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
Grub is missing it's menu.lst file. If you just want to reinstall the windows boot loader, boot from your windows cd, go into recovery console, and type "fixmbr" and reboot. Otherwise, for grub to work, it will need a linux partition to keep it's conf files, or you could try grub4dos.
 
Old 12-23-2006, 10:55 PM   #3
Balakrishna
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad
Posts: 17

Original Poster
Rep: Reputation: 0
Hi Ynot,

i would like to know

is there any way to fix the MBR without using the windows installation disk

or
how to automate grub so that it always chooses the windows partition to load with out giving the prompt "grub>" at command line.

thanx
 
Old 12-24-2006, 08:15 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Balakrishna
Hi Ynot,

i would like to know

is there any way to fix the MBR without using the windows installation disk

or
how to automate grub so that it always chooses the windows partition to load with out giving the prompt "grub>" at command line.

thanx
I think there are other utilities out there to fix the mbr--try searching Google. Also look at the web site for the "Ultimate Boot CD".

As already stated (or implied) grub can't automatically start Windows--or do anything, for that matter, without its config file (which was in the Linux partitions you deleted)

You could certainly re-install Linux and get everything working that way....
 
Old 12-25-2006, 07:44 AM   #5
Balakrishna
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks to every one who helped me in this issue.

Atlast i overwritten my MBR with a windows bootable disk. But i personally feel there may be some way to direct grub to a specific partition (by default, as it is already doing).


i think "can we overcome this behaviour by placing grub on the primary partition of linux itself rather on MBR. so that next time when we remove the linux partition, the presence of the grub may be unidentified".

have any one of you tried this. if so what is the out come........


Thanks any way. My problem is solved, but the question is still alive..

Bye...
 
Old 12-25-2006, 09:03 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by Balakrishna
"can we overcome this behaviour by placing grub on the primary partition of linux itself rather on MBR. so that next time when we remove the linux partition, the presence of the grub may be unidentified".
Been done all the time. Many information in the last link of my signature.
 
Old 12-25-2006, 11:00 PM   #7
Balakrishna
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you very much saikee. your links did more than solving my problem.

bye..
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
GRUB boot loader blocking windows boot julienroger Linux - Newbie 3 10-12-2004 01:11 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
Need help with boot loader. Multi boot questions. Grub? 1993gt40 Linux - Software 1 10-16-2003 08:28 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

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

All times are GMT -5. The time now is 04:05 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