windows xp - Cannot boot XP, after installing Ubuntu 9.10
2014-04
I had 2 partitions with 2 XP. I selected the 1st partition, formatted it, and installed Ubuntu 9.10 on it.
Now I can't boot into XP cz is showing me the XP loader of the XP that I deleted... I tried fixmbr and fixboot but with no effect.
In the beginning XP couldn't boot, but at least I could browse the folders from Linux. Now in the Disk Utility it's written unrecognised, unknown or unused.
Screenshots:
Here it is:
~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057
Device Boot Start End Blocks Id System
/dev/sda1 * 1 22508 180795478+ 83 Linux
/dev/sda2 22509 30400 63392490 f W95 Ext'd (LBA)
/dev/sda5 * 22752 30400 61440592+ 7 HPFS/NTFS
/dev/sda6 22509 22751 1951834+ 82 Linux swap / Solaris
~#
~# ntfsfix /dev/sda5
Mounting volume... $MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
FAILED
Attempting to correct errors... $MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
FAILED
Failed to startup volume: Input/output error.
Volume is corrupt. You should run chkdsk.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Update: after playing with some partition boot CDs:
root@ubuntu-tower:~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7e61057
Device Boot Start End Blocks Id System
/dev/sda1 * 1 22508 180795478+ 83 Linux
/dev/sda3 22752 30400 61440592+ 7 HPFS/NTFS
Here's a screenshot of GParted and Disk Utility:
Any ideas?
I have same problem as you and Partition Table Doctor resolved it. Some time ago in work when WinXP can`t load I use fixmbr and fixboot commands from WinXP recovery console and it works too, here is tutorial
I believe you are right: the problem seems to be due to the XP bootloader "gone with the wind". Does any of these how-to help?
I have ubuntu installed.
This is the output of $sudo fdisk -l /dev/sda Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x143b143a Device Boot Start End Blocks Id System /dev/sda1 1 3263 26210016 5 Extended /dev/sda2 3264 12327 72806580 83 Linux /dev/sda3 * 12328 17712 43255012+ 7 HPFS/NTFS /dev/sda4 17713 19457 14016712+ 83 Linux /dev/sda5 2778 3263 3903763+ 82 Linux swap / Solaris /dev/sda6 1021 1319 2401686 83 Linux /dev/sda7 1320 2777 11711353+ 83 Linux Partition table entries are not in disk order
I want to install winXP I get a bank screen when I try to install XP by booting from CD. I dont want to loose any linux partitions. I would prefer installing windows on existing NTFS partition. What p[tions do I have ? Any kind of help will be highly appreciated... Thanks in advance.
I partly agree with pavium. Windows will not overwrite the linux partition till you tell it to do so. But it will remove entries for the boot menu. So once you install Windows over Linux, you will not be able to boot to Linux. The only way is to re install GRUB.
Also Windows XP SP2 does not have drivers for SATA Disk Drives by default. So if you boot your PC with XP, it may not detect your Disk Drive. Is that the issue?
The WinXP install will not overwrite the Linux partitions till you give it permission to either use the entire disk, or to specifically repartition/reformat it. You should be able to install XP on the NTFS partition; the guide here has a couple of screenshots showing the XP option to install to a specific partition.
The XP install will however wipe out your GRUB bootloader, so you won't be able to boot into linux till you restore it. Follow the Ubuntu Community Documentation guide on Recovering Ubuntu After Installing Windows to do this. It is a good idea to read the guide before you embark on the XP install, so you know what you're getting into.
I don't think you'll be happy with the consequences of installing Windows after Linux.
I may be wrong, because I haven't dual-booted for some time, but I expect Windows will ignore the Linux partitions and overwrite them.
It's safer to install Linux after Windows, so the Linux installer can say "look, you've got some other partitions here — do you want to dual-boot?"