LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   overwriting boot loader (GRUB) (https://www.linuxquestions.org/questions/linux-newbie-8/overwriting-boot-loader-grub-513129/)

Balakrishna 12-23-2006 07:15 AM

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...

Ynot Irucrem 12-23-2006 07:39 AM

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.

Balakrishna 12-23-2006 10:55 PM

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

pixellany 12-24-2006 08:15 AM

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....;)

Balakrishna 12-25-2006 07:44 AM

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...

saikee 12-25-2006 09:03 AM

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.

Balakrishna 12-25-2006 11:00 PM

Thank you very much saikee. your links did more than solving my problem.

bye..


All times are GMT -5. The time now is 02:08 AM.