njven Posted April 20, 2008 Posted April 20, 2008 (edited) I finally got an operating system working on my PC. I had Vista and it was controlling the MBR and bootloader and all that. Some of the operating system was corrupt and I decided to delete the partition thinking that I could just use the Windows XP CD to recover the bootloader and MBR. That didn't work right. It took me around 6 hours to get a working operating system besides live cds. I'm using Ubuntu right now. When I choose XP from the GRUB boot menu I get this error:A error has occured in the disk.Press CTRL+ALT+DELETE to restartI can still access the partition from Ubuntu fine though. I don't have any external drives to backup on. So I need to either fix it, or keep it intact. 1) How your disk is setup (how many partitions, which type, etc)HD0,0 WinXP PrimaryHD0,1 Ubuntu PrimaryHD0,2 Storage (file storage) Primary2) What is in the Grub menu.lst entry that you try to boot withtitle Windows XProot (hd0,0)savedefaultmakeactivechainloader +13) Which kind of source XP CD you have (recovery CD, Full Install, OEM Install, etc.)Full Install4) How did you try (and failed to) install XPI tried to do a repair, but it wouldn't let me boot to the partition to finish the repair.PIC Edited April 20, 2008 by njven
jaclaz Posted April 20, 2008 Posted April 20, 2008 There is NO way anyone can help you with those few information you give.Please post:1) How your disk is setup (how many partitions, which type, etc)2) What is in the Grub menu.lst entry that you try to boot with3) Which kind of source XP CD you have (recovery CD, Full Install, OEM Install, etc.)4) How did you try (and failed to) install XPjaclaz
njven Posted April 20, 2008 Author Posted April 20, 2008 Anyone have any ideas? Load FailSafe Defaults in BIOS does nothing if I forgot that. If I install over top on XP it will reset the registry right?
JedMeister Posted April 21, 2008 Posted April 21, 2008 Try booting into XP Recovery Console (using the XP CD) and then fix the Boot Sector & the MBR. First type "fixboot" (no quotes) then "fixmbr" (no quotes) - press enter after each command. Be aware though this will probably break your Ubuntu install, so as with any sensitive disk operations that may cause data loss,to be on the safe side, you should backup all the important stuff first in case something goes wrong.
jaclaz Posted April 21, 2008 Posted April 21, 2008 I would try the "fixboot" only first.Right now your booting works like this:1) MBR loads grub2) grub chainloads bootsector3) either grub or bootsector failsFixmbr will overwrite the MBR code, removing the loading of grub.If you have a floppy, or can burn a CD, I would try with grub4dos that allows to chainload directly NTLDR, bypassing the bootsector.Get "old" version 0.4.2:http://grub4dos.jot.com/WikiHomeYou need to make sure you have NTLDR, NTDETECT.COM and BOOT.INI in root of (hd0,0).jaclaz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now