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 05-25-2009, 11:35 PM   #1
Blakes7
Member
 
Registered: Mar 2004
Posts: 42

Rep: Reputation: 15
Removing GRUB


Hi! I'm triple booting with xp, mandriva, and server 2003. I want to remove the xp and mandriva, and install vista and ubuntu, or reinstall xp if I don't like vista. I thought I could use partition magic to remove the mandriva partitions, but it doesn't recognize ext3 files or partition. I tried booting from the xp disk, figuring I could remove the partitions from there, but it starts up, then checks the disk and locks up. I figure that has something to do with the GRUB, and I would have to fix the mbr in windows. Am I right, and if I am, how do I solve this problem? Thanks. Any and all responses will be greatly appreciated.
 
Old 05-25-2009, 11:57 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Found this explanation on some windows site:

Quote:
use xp cd, enter "R" (for recovery?) in setup, select xp from list, enter password, enter FIXMBR, if that doesn't work enter "FIXBOOT"
I believe you need a full installation CD, not just a recovery CD for this to work. Never used xp so haven't tried it.

If you plan to install Ubuntu and vista, install vista first. You should be able to use GParted (partition manager in Ubuntu) from the Ubuntu CD to do the partitioninng. You could also download and use Parted Magic to do the same.

Windows usually has problems if non-windows info in mbr.
 
Old 05-26-2009, 12:51 AM   #3
Blakes7
Member
 
Registered: Mar 2004
Posts: 42

Original Poster
Rep: Reputation: 15
GRUB Reply

Thanks for the response. The xp cd is the full installation cd. It boots, then goes to the first screen---I believe it said it would check the disk, then the screen goes black and locks up. If I remove the cd, and reboot, the computer goes to GRUB, and gives me the boot options.
 
Old 05-26-2009, 02:22 AM   #4
moniker117
Member
 
Registered: May 2005
Location: Los Angeles, CA, USA
Distribution: Arch
Posts: 48

Rep: Reputation: 15
Quote:
Originally Posted by Blakes7 View Post
Hi! I'm triple booting with xp, mandriva, and server 2003. I want to remove the xp and mandriva, and install vista and ubuntu, or reinstall xp if I don't like vista. I thought I could use partition magic to remove the mandriva partitions, but it doesn't recognize ext3 files or partition. I tried booting from the xp disk, figuring I could remove the partitions from there, but it starts up, then checks the disk and locks up. I figure that has something to do with the GRUB, and I would have to fix the mbr in windows. Am I right, and if I am, how do I solve this problem? Thanks. Any and all responses will be greatly appreciated.
As yancek suggested, I would use GParted. I recommend using the GParted live cd, available from their website. It is very good, they use a stripped down version of linux to boot into, and it works similar to Partition Magic. It works with ext3 and NTFS partitions, and won't cost you any money.

I don't believe that the problem you're having with installing XP has anything to do with the MBR. If anything, the XP installation should be able to fix that as part of the installation. There's a way to repair an XP's MBR by booting into it using rescue mode and using the "fixmbr" command, however, I don't think you'll be able to use this because it probably requires that XP be installed already.
 
Old 05-26-2009, 01:08 PM   #5
Blakes7
Member
 
Registered: Mar 2004
Posts: 42

Original Poster
Rep: Reputation: 15
GRUB Response

Thanks for the response. Xp is already installed, and I can't access the recovery console because the install locks up on the first page---Setup will now check your hardware configuration... I've tried two different xp installation disks, and they both do the same, so there's nothing wrong with the install disks. If I use GParted, and remove both the mandriva and the xp partitions, am I correct in assuming that the Grub will be removed as well? Then I should have3 no problem booting with the xp media? Thanks.
 
Old 05-26-2009, 01:34 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You can't remove a boot loader. You overwrite one with another.

If you break up an OS its boot loader will be left in the MBR. The XP and Vista have junks too but you just don't see them.

You should be able to use the Recovery Console to "fixmbr". It is under the "repair" section. If you are into setup then you have already passed the Recovery Console.

You can download any Dos, FreeDos or Win9x floppy and do a
Code:
fdisk /mbr
It has the same effect of Xp's "fixmbr".

Since you have Vista the equivalent to Xp Recovery Console in Vista is "Command Prompt". This command in Vista Command prompt also overwrites Grub
Code:
bootrec /fixmbr
 
Old 05-26-2009, 02:35 PM   #7
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
Also, I was under the understanding that when you install vista, it will automatically overwrite the mbr with its bootloader
 
Old 05-26-2009, 09:45 PM   #8
Blakes7
Member
 
Registered: Mar 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Response

Thanks for the responses. As I couldn't boot windows from disk, at least not past the first screen, somebody told me to use Supergrub to fix the mbr, and then I could boot the disc and install the os. It worked like a charm. Thanks for the help.
 
  


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
Removing GRUB Zeptus Linux - Newbie 4 06-10-2007 09:17 AM
removing grub gothicbob Linux - Newbie 10 04-04-2007 10:39 AM
Removing GRUB dancullen Linux - Newbie 2 11-14-2005 12:32 PM
removing GRUB Ckret_01 Linux - Newbie 3 05-19-2004 05:06 PM
Removing grub fat_anis Linux - Software 2 07-22-2003 12:23 PM


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

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