Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before you guys yell at me "why not linux?", let me explain my situation first:
I have two PC's and both are set to dual boot mandrake 10 official/win xp. I have decided to erase the mandrake partition on my AMD 3000+ machine so that I can install more PC games (say hi to half life 2!) to it. If I want to use Mandrake, I can always go back to the slower P4 1.6G.
My question is: how do I fix grub (better yet, erase it) after Mandrake is erased? I know there are several possible solutions:
1. boot with mandrake cd 1 and fix MBR;
2. boot with win xp cd and fix MBR;
3. boot with win98 floppy and fix MBR.
I dont know which one really works and since I have too much data on my hd to back up, I need a CORRECT answer, not an educated guess. Can somebody help me please?
In Windows XP, you can uninstall GRUB as follows:
Boot from the Windows XP CD and press the "R" key during the setup in order to start the Recovery Console. Select your Windows XP installation from the list and enter the administrator password. At the input prompt, enter the command "FIXMBR" and confirm the query with "y". The MBR will be rewritten and GRUB will be uninstalled. Press "exit" to reboot the computer.
Using a DOS or Windows 9x/ME Boot Floppy
In case you have DOS or Windows 9x/ME on your system, you can use fdisk for this purpose. Create a rescue disk in DOS or Windows 9x/ME, use it to boot the computer, and execute fdisk as follows:
fdisk /mbr
The MBR will be rewritten and GRUB will be uninstalled.
Wow that was fast. So it looks like options 2 and 3 actually work, although I have heard some horror stories about people getting their data lost forever.
2 works
3 doesn't really, as it makes a win98 MBR, when you need NTLDR
Do exactly what abisko00 has quoted with your XP cd and you'll be back in business in minutes. If you're not boot back into the cd a go to Recovery Console again and type "fixboot" then "fixmbr". You'll be back in Win32 once again....
....and, hey, who's yelling? mandy can handle that slower computer better anyhow. LOL (couldn't resist)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.