remove grub, xp question

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

remove grub, xp question

Postby bigphredo on Fri Mar 27, 2009 11:22 pm

I'll try to explain this the best I can, I have a windows xp machine and added an extra harddrive and installed linux mint on it as a dual boot. I would now like to pull that extra harddrive out and put it into its own computer but when I do my xp machine will no longer boot. Is there anyway to fix this to boot into xp directly again? Please help, it would make my day.

Thank you.
bigphredo
Level 1
Level 1
 
Posts: 25
Joined: Mon Nov 19, 2007 5:50 pm

Linux Mint is funded by ads and donations.
 

Re: remove grub, xp question

Postby Coburn64 on Sat Mar 28, 2009 12:40 am

Sure.

Boot from your Windows XP Home/Pro/MCE CD.

Where is says "Press enter to install windows", press "R" to jump to the recovery console.

Now, i recommend to do the following. If you're administrator account has a password, you'll need to type it in.

Run fixmbr . It'll issue a warning that it could corrupt your harddisk, but usually you'll be right. Follow the prompts and when finished, type fixboot . Fix boot will rewrite windows xp loader code, and then type exit to reboot. Don't boot from CD, and XP should be resurectted from the dead. ;)
Coburn64
Linux Mint User (not to mention proud supporter! :P)
http://krystalgaming.net
"I'm not a Intel Inside, I'm a Penguin Inside."
Coburn64
Level 1
Level 1
 
Posts: 3
Joined: Fri Mar 27, 2009 8:21 pm
Location: Australia

Re: remove grub, xp question

Postby Fred on Sat Mar 28, 2009 4:13 am

Coburn64,

The above should work for you, but if it doesn't you can try the below in a terminal.

sudo su

dd if=/dev/zero of=/dev/sda bs=446 count=1

Close the terminal. This will erase the boot loader. If the boot area of the MBR contains nothing the BIOS will boot the first bootable partition it comes to on the drive. I am assuming this will be your Windows partition located on sda.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: remove grub, xp question

Postby altair4 on Sat Mar 28, 2009 7:42 am

YAO - Yet Another Option

If you don't have the WinXP install disk you need to download an old windows boot disk: http://www.allbootdisks.com/download/iso.html

Download the Win95b.bootdisk.iso
Burn it to a CD
Then you can use the fdisk /mbr command.

Don't be concerned about it being a Win95 bootdisk, you could also use the DOS 6.22 bootdisk for this.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6270
Joined: Tue Feb 03, 2009 10:27 am

Re: remove grub, xp question

Postby bigphredo on Sat Mar 28, 2009 8:15 am

Thanks guys, very helpful, very quick too, this is the best forum.

I'll try later today.
bigphredo
Level 1
Level 1
 
Posts: 25
Joined: Mon Nov 19, 2007 5:50 pm


Return to Installation & Boot

Who is online

Users browsing this forum: gmport, Google Adsense [Bot] and 11 guests