LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2007, 02:37 PM   #1
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
Removing Vista from my MBR -- Help!


So I have been dual booting XP/Fedora6 on my Dell Inspiron 630m
with no issues and I use Grub as my bootloader.

So I get a copy of Vista RC1 and i think.. lets try it. BIG MISTAKE! So now I reformatted the vista partition.. and re-installed Grub. I can boot into linux by selecting it from the Grub menu but I cannot re-install XP. I am thinking something in the boot record is preventing it.

Any one know of a way to wipe out the MBR from within Linux as I can't seem to get the bloody thing to boot of the XP cd.


Thanks All.
 
Old 02-07-2007, 03:12 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,806

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Nothing that you describe would stop the Windows CD from booting. Did you mean that it won't boot, or it won't install?

If the latter, Windows in notorious for seeing something on the drive that it doesn't like and declaring the drive to be no good. I don't know if just wiping the mbr will do it.

First--from Linux, put grub on a floppy--this will allow you to get back to Linux after wiping the MBR. If you need the exact commands, post the output of fdisk -l (run as root)

Backup important data first

to wipe the mbr (assumes one IDE drive)
dd if=/dev/zero of=/dev/hda bs=446 count=1

(To be precise, this wipes the boot code, but leaves the partition table)

for SATA or SCSI, change hda to sda
 
Old 02-07-2007, 03:55 PM   #3
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
Ok Will do. And sorry for the mixup. I meant it wont boot the XP CD. It starts by saying examing your computer's hardware and then goes to a black screen and stays there.

I will try your suggestion and let you know in a lil while.

Thanks.
 
Old 02-07-2007, 06:52 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,806

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
If it won't boot from CD, I'd fix that first.
Is the bios set correctly?
Will it boot from ANY CD?
 
  


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
[SOLVED] Removing lilo from the MBR Menno RB Linux - Newbie 17 12-10-2006 05:45 PM
Removing Linux/Lilo from MBR hsimah Slackware 6 09-01-2006 08:21 PM
removing GRUB from MBR gomez6211 Linux - Newbie 1 07-25-2005 11:09 AM
Removing RH from MBR esael Slackware 2 09-15-2002 06:26 PM
removing LILO from the MBR keegan1 Linux - General 10 06-12-2001 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 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
Open Source Consulting | Domain Registration