Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-30-2006, 04:07 AM   #1
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 108

Rep: Reputation: 16
Question Help with grub booting

Hy guys, please help me if you can.
I had a leptop with WINXP and FC4 installed, it was working perfectly after some time of using I realise that I never used fc4, most of times I use vmware with a image or boot cd, so I deleted yesterday the fc4 partition and there was 1 extra small partition made by fc4 somelike 10mb that one in winxp was empty I delete that one too. after rebooting the laptop I got


nothing alse, and I tryed many commands nothing helps, I booted with knoppix and everything is there my winxp partitions and the other ones wich I removed and formated.

now I have to boot into winxp to use it,
can sombody tell me how to repair it so I can use WinXP only. I have diferent life linux cd's, I dont have any repair diskets and even a disket station on my laptop,please help if you can.
Old 06-30-2006, 04:35 AM   #2
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
Do you have no WINXP rescue disk at all??
If you do have one, insert it and type "fixmbr".

If not look here:
This should work from the grub prompt(if windows is on hda1)
          grub> rootnoverify (hd0,0)
          grub> makeactive
          grub> chainloader +1 
          grub> boot
once you're in window you can once again remove grub with "fixmbr"

Last edited by deroB; 06-30-2006 at 04:46 AM.
Old 06-30-2006, 10:27 AM   #3
Registered: Oct 2003
Location: Tennessee
Distribution: Devuan 3.0 (Beowulf)
Posts: 211

Rep: Reputation: 17
Here's what happened: When you installed Linux, the installer put a program named grub on your master boot record. In order to work, grub reads a file called grub.conf which tells it what operating systems are installed, where they are, etc. Grub.conf is normally located in one of your Linux partitions. When you deleted your Linux partitions, you also deleted grub.conf, so grub was no longer able to boot Windows automatically.

The Windows fixmbr program rewrites your master boot record and replaces grub with a program that allows you to boot Windows. The grub commands (in the code section above) replicate the information (normally found in grub.conf) needed to boot Windows.
Old 06-30-2006, 02:23 PM   #4
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 108

Original Poster
Rep: Reputation: 16
Smile Hy, thanks everybody

I want to thank you guys for helping me out. I used the fixmbr tool it solved my problem, actualy I kenw about that but when I got the problem its like al my knowledge and expereince was lost, so I'm realy thanfull. now I'm not going to use 2 systems anymore cause the vmware gives me the posibility to use it in windows.
Thanks again.


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
how to edit grub.conf from grub shell during booting pashaikh Linux - Security 1 06-27-2006 05:01 AM
booting from CD when using grub??? thanos155 Fedora 7 08-04-2005 06:08 PM
Cannot See the Grub while booting Morpheus Linux - Hardware 2 01-17-2005 08:51 AM
Booting from a CD using Grub? kaider Red Hat 3 08-02-2004 10:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 PM.

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