Download your favorite Linux distribution at LQ ISO.
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 07-25-2004, 08:49 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Removing Lilo, restoring to windows boot loader

I have a triple boot system using lilo. It can boot win 98 and win XP Pro or mandrake linux 9.2.

I want to remove the mandrake partition which i can do with win XP Pro. I can just delete them with the disk management in win XP. But I want to restore the MBR so it gives me the windows boot loader, so I can boot either the win 98 or win xp. I have seen different commands but I am not sure what they do? Like I said I want to restore the windows boot loader.

Will this work ?-- " put in any winxp cd, use the repair mode and type 'fixmbr' at the prompt. " will that restore the windows boot loader? I need the windows dual boot

what does fdisk /mbr do? will it restore the MBR to a previous version allowing dual boot still? .

Just needed to verify cause i need to boot from both 98 and XP still.
Old 07-25-2004, 08:51 PM   #2
Registered: Oct 2003
Location: new brunswick canada
Distribution: red hat ,suse 9.0 ,dsl-dam small linux
Posts: 42

Rep: Reputation: 15
the fdisk /mbr will delete you boot loader "restore it to default "

i use it all the time works good
Old 07-25-2004, 08:52 PM   #3
Registered: Oct 2003
Location: new brunswick canada
Distribution: red hat ,suse 9.0 ,dsl-dam small linux
Posts: 42

Rep: Reputation: 15
so you alredy deleter your linux partition wright ?
Old 07-25-2004, 08:53 PM   #4
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
or use thr restorembr program on the windowsXP disk.
Old 07-26-2004, 02:41 AM   #5
LQ Newbie
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
where does the old windows boot loader get moved to when lilo takes its place in the MBR?

I havent deleted the linux partition yet...i dont want to untill i am sure what i am doing

"the fdisk /mbr will delete you boot loader restore it to default" ...does that mean the windows boot loader one that will give me the option of booting win 98 or win xp? is the default the windows boot loader????

does the restorembr program on the windowsXP disk take the previous windows boot loader?? the previous boot configuration that worked??
Old 01-10-2005, 07:07 PM   #6
LQ Newbie
Registered: Jan 2005
Location: Little Rock, AR
Distribution: Linspire 4.5
Posts: 5

Rep: Reputation: 0
Thanx everyone for your help so far...still working on it. Windho's sux

Old 01-30-2005, 07:53 PM   #7
LQ Newbie
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
is there any way to do this from linux? instead of having to use your xp boot cd?
Old 03-01-2005, 05:26 PM   #8
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
I know the techs over at Totalsem can answer this question rather quickly.

Post this at

These are dedicated windows people.



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
Fedora Remove and restoring windows MBR boot loader eng_muhammad Fedora 3 12-03-2005 12:39 PM
replace lilo loader with windows loader Mickaletto Linux - Newbie 9 11-25-2005 06:26 PM
Removing a boot loader w/ Windows? julienroger Linux - General 2 05-11-2005 01:53 AM
Restoring boot loader (with boot disk?) Kylotan Linux - General 0 07-08-2004 06:29 AM
removing lilo to boot directly into windows scubanix Linux - Software 2 05-05-2004 05:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

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