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 11-09-2004, 10:34 PM   #1
chynk
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
unsuccessful mandrake uninstallation


ok this is my problem. i had winxp pro and mandrakelinux 10 running off seperate partitions are a single physical hard drive. then i decided that i didnt have enough time on my hands to fiddle around with it so i decided to reformat to remove linux.

all thats left now is when i boot up my laptop, i get the linux boot loader. i can get into windows fine but its just annoying how i need to select windows everytime.

can anyone tell me how i can remove the boot loader when im in win xp? i have read something about typing "fdisk /mbr" in dos but i really have no idea how to do that. i do not have a windows boot disk, only a toshiba recovery disk.

can someone please help? thanks in advance!
 
Old 11-09-2004, 10:45 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
fdisk /mbr is going to blow away your boot record completely, I'd just set lilo or grub's default to winxp and call it good.

linux_terror
 
Old 11-10-2004, 07:37 AM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
This question comes up almost daily. if you use the search button, you'll get zillions of results. I have participated in threads with this subject about 7 or 8 times this past year.

Here's what you do:

If Toshiba's recovery cd acts like the Windows installation disk, you merely have to boot with the cd to the point where it gives you the choice to hit "r" for recovery console. This will bring you to a command prompt in a few seconds. At the prompt, you type
Code:
fixmbr
and reboot your computer without the cd. If its stubborn and still doesn't boot, you do the same thing, but type
Code:
fixmbr
fixboot
and you should be back to having the NTLDR loaded.

Next time you install Linux, and I hope you do, why not leave it there. Its not going anywhere and you can play with it once in a while. If you want to make XP your default boot and you don't want to wait long, you can log in as root and edit your /etc/lilo.conf file manually with a text editor (nano is often included and easy to use for almost anyone from day 1)
Code:
nano -w /etc/lilo.conf
You'll have to look for the line "default <xxxxx>" and change the default to the title of the stanza representing your Win32 boot. Then, if the timeout is too long, you can also shorten it if you want. I have set my /boot/grub/menu.lst (the grub configuration file) in a similar manner, as my kids often will boot to WindowsXP (although they prefer the Linux games). Its the default boot and the timeout is 5 seconds, so I(we) have plenty of time to choose Linux before the machine carries on without me.

Its a thought, but you were interested at one point. It'd be great to continue having your input in the *nix community.

BTW, if you want, you can throw in your Mandrake disk and try restoring the Windows bootloader that way as well, by choosing F1 or F2, whichever is the option for more details on the first screen. Choose the rescue option. It may work, or it may try restoring the Win98 mbr, which won't be what you want, as linux_terror suggested.

Last edited by vectordrake; 11-10-2004 at 07:40 AM.
 
Old 11-10-2004, 10:31 AM   #4
chynk
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
got it working. thanks guys
 
  


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
Mandrake 10.1 uninstallation PatrickMay16 Mandriva 2 04-15-2005 05:56 PM
first boot unsuccessful jsarrel Red Hat 2 02-28-2005 03:45 AM
Proper Uninstallation of Mandrake 10 DraGoNsLaYeR Linux - Newbie 2 06-24-2004 10:05 PM
Unsuccessful Mandrake 9.0 installation xfuzz Linux - Distributions 7 04-22-2003 11:47 PM
unsuccessful instal terry Linux - Software 0 05-15-2001 11:44 AM


All times are GMT -5. The time now is 06:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration