Dual Boot Ubuntu-Windows problem

Asked by Damian

My net book has 2 OS, Ubuntu and Windows. Last 4 months I only used Ubuntu but yesterday when I tried to open Windows (XP) it went till the screen that has the Windows logotype and the blue bar and then it restarts automatically... Since I only used Ubuntu I assume that the problem was caused by something I did in Ubuntu. Is there something I can do to fix it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
bcbc (bcbc) said :
#1

Is this a Wubi install? Do you see a grub menu first, or do you see the Windows boot manager? Is Ubuntu booting fine? If so, can you pastebin the results of the bootinfoscript and then comment here with the pastebin address?

Pastebin: http://pastebin.ubuntu.com/

Bootinfoscript: http://bootinfoscript.sourceforge.net/

Revision history for this message
Damian (damianos-d) said :
#2

No I dont think it's a Wubi install and yes I see a grub menu first. Ubuntu is booting fine.
What is pastebin?

# Boot Info Script 0.55 dated February 15th, 2010

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

 => Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
    in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: _________________________________________________________________________

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

sda2: _________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows XP
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files/dirs:

sda3: _________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows XP
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files/dirs:

sda4: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 10.04.2 LTS
    Boot files/dirs: /boot/grub/menu.lst /etc/fstab

sda6: _________________________________________________________________________

    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files/dirs:

sda7: _________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

=========================== 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 End Size Id System

/dev/sda1 * 63 73,400,984 73,400,922 7 HPFS/NTFS
/dev/sda2 73,400,985 136,311,524 62,910,540 7 HPFS/NTFS
/dev/sda3 136,311,588 503,493,164 367,181,577 7 HPFS/NTFS
/dev/sda4 503,493,165 625,137,344 121,644,180 f W95 Ext d (LBA)
/dev/sda5 503,493,228 566,403,704 62,910,477 83 Linux
/dev/sda6 566,403,768 618,839,864 52,436,097 83 Linux
/dev/sda7 618,839,928 625,137,344 6,297,417 82 Linux swap / Solaris

blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 B49017019016CA2E ntfs SYSTEM
/dev/sda2 3E740E9B740E55D5 ntfs DATA
/dev/sda3 28A06384A06356FA ntfs SPARE
/dev/sda4: PTTYPE="dos"
/dev/sda5 7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ext3
/dev/sda6 40638306-87eb-489b-b05c-2eb23106f9da ext3
/dev/sda7 c86b953b-3604-4a59-b5ee-8633fbba1e8d swap
/dev/sda: PTTYPE="dos"
error: /dev/sdc: No medium found

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext3 (rw,relatime,errors=remount-ro)
/dev/sda6 /home ext3 (rw,relatime)
/dev/sda1 /media/sda1 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda2 /media/sda2 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda3 /media/sda3 fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)

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

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect

=========================== sda5/boot/grub/menu.lst: ===========================

default 0
timeout 2

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=false

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 10.04.2 LTS, kernel 2.6.32-31-generic
uuid 7a3d2c06-ae4c-41a6-b3d7-e47d218d7272
kernel /boot/vmlinuz-2.6.32-31-generic root=UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ro
initrd /boot/initrd.img-2.6.32-31-generic
quiet

title Ubuntu 10.04.2 LTS, kernel 2.6.32-26-generic
uuid 7a3d2c06-ae4c-41a6-b3d7-e47d218d7272
kernel /boot/vmlinuz-2.6.32-26-generic root=UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ro
initrd /boot/initrd.img-2.6.32-26-generic
quiet

title Ubuntu 10.04.2 LTS, kernel 2.6.31-22-generic
uuid 7a3d2c06-ae4c-41a6-b3d7-e47d218d7272
kernel /boot/vmlinuz-2.6.31-22-generic root=UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ro
initrd /boot/initrd.img-2.6.31-22-generic
quiet

title Ubuntu 10.04.2 LTS, kernel 2.6.28-11-generic
uuid 7a3d2c06-ae4c-41a6-b3d7-e47d218d7272
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

title .
root

title Microsoft Windows XP Home Edition
root (hd0,0)
chainloader +1
savedefault

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

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
/dev/sda1 /media/sda1 ntfs-3g defaults,utf8,umask=007,gid=46 0 0
/dev/sda2 /media/sda2 ntfs-3g defaults,utf8,umask=007,gid=46 0 0
/dev/sda3 /media/sda3 ntfs-3g defaults,utf8,umask=007,gid=46 0 0
# Entry for /dev/sda5 :
UUID=7a3d2c06-ae4c-41a6-b3d7-e47d218d7272 / ext3 relatime,errors=remount-ro 0 1
# Entry for /dev/sda6 :
UUID=40638306-87eb-489b-b05c-2eb23106f9da /home ext3 relatime 0 2
# Entry for /dev/sda7 :
UUID=c86b953b-3604-4a59-b5ee-8633fbba1e8d none swap sw 0 0

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

 275.5GB: boot/grub/menu.lst
 275.5GB: boot/grub/stage2
 275.6GB: boot/initrd.img-2.6.28-11-generic
 275.5GB: boot/initrd.img-2.6.31-22-generic
 275.6GB: boot/initrd.img-2.6.32-26-generic
 275.6GB: boot/initrd.img-2.6.32-31-generic
 275.6GB: boot/vmlinuz-2.6.28-11-generic
 275.5GB: boot/vmlinuz-2.6.31-22-generic
 275.6GB: boot/vmlinuz-2.6.32-26-generic
 275.6GB: boot/vmlinuz-2.6.32-31-generic
 275.6GB: initrd.img
 275.6GB: initrd.img.old
 275.6GB: vmlinuz
 275.6GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdc

Revision history for this message
bcbc (bcbc) said :
#3

I can't see any problems from the bootinfoscript. The main XP bootfiles are there. Can you insert your windows DVD, boot from it to a repair prompt and see if it will fix whatever is bothering it.

I'm going to put you back into the main section of the forum since this isn't a Wubi specific issue - but I wonder whether you'd be better off trying a Windows forum.

Revision history for this message
Damian (damianos-d) said :
#4

My netbook doesn't has a dvd/cd reader.... Is there anything I can download and put in a USB?

Revision history for this message
bcbc (bcbc) said :
#5

Press F8 repeatedly as Windows boots. See if you get a menu and try safe
mode, or boot to a command prompt and run chkdsk.

On Wed, Apr 27, 2011 at 11:37 AM, Damian <
<email address hidden>> wrote:

> Question #154428 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/154428
>
> Damian gave more information on the question:
> My netbook doesn't has a dvd/cd reader.... Is there anything I can
> download and put in a USB?
>
>

Revision history for this message
Damian (damianos-d) said :
#6

Tried with same mode but nothing...

Revision history for this message
Damian (damianos-d) said :
#7

safe mode*

Revision history for this message
bcbc (bcbc) said :
#8

What about booting to a dos prompt. Then run: chkdsk /f

Can you help with this problem?

Provide an answer of your own, or ask Damian for more information if necessary.

To post a message you must log in.