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.
remove grub, xp question
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
remove grub, xp question
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: remove grub, xp question
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.
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.
Re: remove grub, xp question
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
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
Re: remove grub, xp question
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.
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.
Re: remove grub, xp question
Thanks guys, very helpful, very quick too, this is the best forum.
I'll try later today.
I'll try later today.