PDA

View Full Version : [wubi] Windows xp fail to start after boot option display



alokbcse
June 2nd, 2013, 01:38 PM
Hi,

I had installed Ubuntu 10.4 on an already runing windows xp desktop. Dual boot worked for few days and i was able to use both Windows as well as Ubuntu. Today suddenly my windows stopped booting. Ubuntu is working fine though.

When I start my computer it takes me to boot options where I can choose either Windows xp or Ubuntu. If I choose Windows it takes me to a page which gives below options:

1. Start Windows xp in safe mode
2. Start Windows xp in safe mode with networking
3. Start Windows xp from last working configuration
4. Start Windows normaly

None of the above options work and by chossing any of them it again goes to previous screen(boot menu).

I have run bootinfoscript and below is the out put:
Boot Info Script 0.61 [1 April 2012]


=============================
Boot Info Summary: ===============================

=> Windows is installed in the MBR of /dev/sda.

sda1: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM /wubildr /wubildr.mbr

sda2: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files: /wubildr /ubuntu/winboot/wubildr
/ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk

sda5/Wubi: __________________________________________________ ___________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab


============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 63 204,796,619 204,796,557 7 NTFS / exFAT / HPFS
/dev/sda2 204,796,620 625,121,279 420,324,660 f W95 Extended (LBA)
/dev/sda5 204,796,683 625,121,279 420,324,597 7 NTFS / exFAT / HPFS


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 87a15942-982f-4edd-bf44-439dc286fd7c ext3
/dev/sda1 869CCFDC9CCFC4C1 ntfs
/dev/sda5 16F06547F0652E65 ntfs

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 / ext3 (rw)
/dev/sda5 /host fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,all ow_other,blksize=4096)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]^M
timeout=30^M
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S^M
[operating systems]^M
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect^M
C:\wubildr.mbr = "Ubuntu"^M
--------------------------------------------------------------------------------

======================== sda5/Wubi/boot/grub/grub.cfg: =========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.5.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.5.0-28-generic root=UUID=16F06547F0652E65 loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.5.0-28-generic
}
menuentry 'Ubuntu, with Linux 3.5.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.5.0-28-generic ...'
linux /boot/vmlinuz-3.5.0-28-generic root=UUID=16F06547F0652E65 loop=/ubuntu/disks/root.disk ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-28-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.5.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=16F06547F0652E65 loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.5.0-23-generic
}
menuentry 'Ubuntu, with Linux 3.5.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 16F06547F0652E65
loopback loop0 /ubuntu/disks/root.disk

set root=(loop0)
echo 'Loading Linux 3.5.0-23-generic ...'
linux /boot/vmlinuz-3.5.0-23-generic root=UUID=16F06547F0652E65 loop=/ubuntu/disks/root.disk ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-23-generic
}
}
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 869CCFDC9CCFC4C1
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

============================= sda5/Wubi/etc/fstab: =============================

--------------------------------------------------------------------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/host/ubuntu/disks/swap.disk none swap sw 0 0
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/host/ubuntu/disks/swap.disk none swap sw 0 0
--------------------------------------------------------------------------------

================= sda5/Wubi: Location of files loaded by Grub: =================

GiB - GB File Fragment(s)

= boot/grub/grub.cfg 3
= boot/initrd.img-3.5.0-23-generic 66
= boot/initrd.img-3.5.0-28-generic 76
= boot/vmlinuz-3.5.0-23-generic 22
= boot/vmlinuz-3.5.0-23-generic.efi.signed 21
= boot/vmlinuz-3.5.0-28-generic 27
= boot/vmlinuz-3.5.0-28-generic.efi.signed 25
= initrd.img 76
= initrd.img.old 66
= vmlinuz 27
= vmlinuz.old 22

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 12 d9 ae 0b 89 fd 0b 5c df d1 48 2a ed 1d b9 ec |.......\..H*....|
00000010 d7 ba 5f fc 2e b9 e6 b7 93 03 3b c8 82 3b d1 52 |.._.......;..;.R|
00000020 5a 3e da 46 2f bc 9c a0 2b 5e 4e d7 1f 5f ae d2 |Z>.F/...+^N.._..|
00000030 34 d1 ed fa 15 75 a5 9c df 4d 85 b5 15 67 a3 b0 |4....u...M...g..|
00000040 73 1c b8 5d 13 6c cc ae df b8 d7 b5 bf 2b a4 1d |s..].l.......+..|
00000050 5d 01 70 bc 26 76 9d 80 3a da a6 ed c5 e6 ad 45 |].p.&v..:......E|
00000060 d1 7e 29 64 a7 4f 89 bd 32 c8 f9 e8 0b 9d 19 bd |.~)d.O..2.......|
00000070 af e3 78 25 45 af ea df fd 05 5d 48 b5 ee 4e ed |..x%E.....]H..N.|
00000080 cb 09 ab 5e 86 6f df 24 f7 5b b9 de da c4 4d 06 |...^.o.$.[....M.|
00000090 8b d6 a0 ae 8e 82 90 e7 f4 01 f8 dc 8a c8 fb bb |................|
000000a0 bf 8f 1d a3 bc ce eb 87 c4 cc 3c ea 02 51 48 a5 |..........<..QH.|
000000b0 5b 05 f2 4e d0 63 d2 41 2b bb fe fa 4f ce a3 3f |[..N.c.A+...O..?|
000000c0 b8 d6 cb 2d e7 58 fb 34 8b bb 4a 2d b6 7b c5 65 |...-.X.4..J-.{.e|
000000d0 a9 69 1d c1 b5 af e0 15 89 e4 c3 2a 29 e0 37 4b |.i.........*).7K|
000000e0 72 bf 4d fe 8e 3f 3f 07 37 52 91 5b ab e1 9e bd |r.M..??.7R.[....|
000000f0 6d cd 94 5b a7 2f 38 ce 28 72 e9 48 a4 bf ce 8f |m..[./8.(r.H....|
00000100 0c d1 6c 91 7e da ce ad 0e 2b 84 eb db fa 09 f0 |..l.~....+......|
00000110 b1 76 34 85 1c 7e 99 49 06 bd cc 25 bd 5f 96 95 |.v4..~.I...%._..|
00000120 dd 2f 4b 4a ed 68 63 30 bc 5a 58 b9 32 9a 2a 7a |./KJ.hc0.ZX.2.*z|
00000130 02 ae fa 13 d8 f1 6d cc 66 7d 3b 19 aa 22 d9 1c |......m.f};.."..|
00000140 4d 9b 6c 92 b6 8d 99 a3 83 23 fb a9 5f 07 e1 0d |M.l......#.._...|
00000150 8f d1 87 85 64 a9 ff 40 8e 47 c7 49 65 fc 29 d1 |....d..@.G.Ie.).|
00000160 3d 92 9e 98 ab 1b bd 2f 7b a3 8f 64 b6 ff 13 a4 |=....../{..d....|
00000170 5d 46 85 69 23 0d 5c 56 29 1a 39 03 7e 6c d7 77 |]F.i#.\V).9.~l.w|
00000180 62 a6 6b ae 98 11 e4 45 27 62 bb 22 b9 f2 5e 98 |b.k....E'b."..^.|
00000190 0e 78 0c 7e 97 8a 78 e9 18 5d a5 29 89 bf 0c d1 |.x.~..x..].)....|
000001a0 18 f0 b2 a0 1c 88 e6 e1 58 85 c3 bd 84 1e 20 52 |........X..... R|

*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=============================== StdErr Messages: ===============================

awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

wildmanne39
June 3rd, 2013, 12:35 AM
Please do not use colors for large amounts of text. Please use code tags - if you are using New Reply button - highlight text and use the # button in the text box header.

If using Quick Reply then
at the beginning and at the end.

ahallubuntu
June 3rd, 2013, 12:54 AM
~

bcbc
June 3rd, 2013, 07:25 AM
What's the output of

df -h

alokbcse
June 4th, 2013, 05:40 PM
Output of df -h is :


Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 4.8G 13G 29% /
udev 807M 4.0K 807M 1% /dev
tmpfs 327M 820K 326M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 816M 76K 816M 1% /run/shm
/dev/sda5 201G 29G 173G 15% /host

bcbc
June 4th, 2013, 05:53 PM
So it doesn't seem related to space. Although that doesn't show the space on your boot partition.

Can you check the space on /dev/sda1 as well please?:

sudo mount /dev/sda1 /mnt
df -h
sudo umount /mnt

One thing that is weird is the line endings in your boot.ini (^M), but if Ubuntu is booting, then it's probably nothing:


[boot loader]^M
timeout=30^M
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S^M
[operating systems]^M
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect^M
C:\wubildr.mbr = "Ubuntu"^M

Mark Phelps
June 5th, 2013, 02:26 PM
I noticed in the report that you have UEFI firmware -- which may SERIOUSLY complicate the setup. Not a UEFI expert, so I can't advise you on that.

However, I would advise NOT to run CHKDSK -- since you have a Wubi installation. There's no guarantee, but there is the stong likelyhood that CHKDSK will render the Wubi install unbootable.

Also, since you already said you can't get into SAFE mode, solutions using that are obviously not going to work.

And finally, Ubuntu 10.04 passed end-of-life long ago. My recommendation, once you get XP Booting again, is to remove the current Ubuntu install and try a more recent version -- like 12.04.

bcbc
June 5th, 2013, 08:04 PM
OP has 12.04.2 and there is no UEFI firmware - that's just a grub script with no output because no UEFI firmware was detected. You cannot boot XP with UEFI in any case, and you would also require a GPT partition table.

CHKDSK is 'safe' for Wubi installs. It's the only way to correct NTFS corruption, and leaving the partition corrupted won't help. It's true that CHKDSK may remove files or repair them out of existence, but in that case they are likely already corrupted (damage done) which is why ongoing regular backups are a always good idea.

In this case, all Windows data should be backed up to an external drive (via the Wubi install or an Ubuntu live DVD/USB) prior to attempting repairs/reinstalling.

alokbcse
June 6th, 2013, 02:51 PM
Space on /dev/sda1


alok@ubuntu:~$ sudo mount /dev/sda1 /mnt
alok@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 4.8G 13G 29% /
udev 807M 4.0K 807M 1% /dev
tmpfs 327M 820K 326M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 816M 80K 816M 1% /run/shm
/dev/sda5 201G 29G 173G 15% /host
/dev/sda1 98G 21G 77G 22% /mnt

ahallubuntu
June 6th, 2013, 03:42 PM
~

bcbc
June 6th, 2013, 06:53 PM
Space on /dev/sda1


alok@ubuntu:~$ sudo mount /dev/sda1 /mnt
alok@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 17G 4.8G 13G 29% /
udev 807M 4.0K 807M 1% /dev
tmpfs 327M 820K 326M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 816M 80K 816M 1% /run/shm
/dev/sda5 201G 29G 173G 15% /host
/dev/sda1 98G 21G 77G 22% /mnt

Well it's definitely not a space problem. I think you need to approach this as a Windows problem with the Windows repair disk - for XP you probably need the installation DVD. It doesn't seem likely to be related to installing Wubi.