Security updates have fouled it up-AGAIN!!

Asked by Richard

Once again, installing updates have corrupted the loading of 9.10. Via grub, I have to go back to a previous version. This is not helpful. What is going on with the developers of Ubuntu? Never had this bother with 9.04, for example!!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

Sorry for the trouble you've experienced.

Which securtiy update?
http://www.ubuntu.com/usn

You may search for the package and go to bug section to see if your issue is already reported.
http://packages.ubuntu.com/

In case of helping to make Ubuntu better, you may consider to file a bug.
https://help.ubuntu.com/community/ReportingBugs

Revision history for this message
Richard (richard-a-finch) said :
#2

Thanks for this. I have no idea which update caused this. I just accept the
update manager's suggestions for security updates and recommended updates.
Perhaps I should only install them one at a time, and make a note of each
one? This is time consuming!!!
This is the fourth time this has happened since 9.10, and I am not happy
about it. I have to scrap every thing and start again each time.
The message I get is:
[1.104323] Kernel Panic - not syncing: VFS: Unable to mount root fs on
unknown - block (8.17)
I have used WUBI to install Ubuntu, and it all worked much better when GRUB
was not involved.
Richard

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Sam
Sent: 31 January 2010 22:24
To: <email address hidden>
Subject: Re: [Question #99346]: Security updates have fouled it up-AGAIN!!

Your question #99346 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

    Status: Open => Answered

Sam proposed the following answer:
Sorry for the trouble you've experienced.

Which securtiy update?
http://www.ubuntu.com/usn

You may search for the package and go to bug section to see if your issue is
already reported.
http://packages.ubuntu.com/

In case of helping to make Ubuntu better, you may consider to file a bug.
https://help.ubuntu.com/community/ReportingBugs

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346/+confirm?a
nswer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Sam_ (and-sam) said :
#3

> Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown - block

Virtual Filesystem: unable to mount root filesystem on unknown block ...
means Grub can't mount /

Anyway there should appear more messages which may advise, to view them turn off 'quiet splash'.
After editing the file update Grub and reboot.
Depending on which Grub is installed.
Grub_legacy:
/boot/grub/menu.lst
# defoptions=quiet splash

Grub_2:
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

> Via grub, I have to go back to a previous version

Previous version of what? Ubuntu version, Grub version?

How are you running Ubuntu at the moment, via Wubi, dualboot, multiboot?
Did you change anything about partitions?
Did you choose a former kernel image in boot menu and could boot with it?
Did you check with MemTest (also available from boot menu)?
Did you make a filesystem check via 'fsck'?
CLI:
sudo touch /forcefsck
## after next boot filesystem will be checked.
https://help.ubuntu.com/community/SystemAdministration/Fsck

> which update caused this

Verify the day of the update. Synaptic has an option to search the history, which is stored for xxx days, depending on your preferences.
Open Synaptic -> file -> history

btw. in case you have proposed repository enabled, you'll get packages for testing purpose and you may disable it.
https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu%20Updates

Which version of Grub are you using, Grub_legacy or Grub_2, may depend if you upgrade from 9.04 to 9.10 or made fresh installation of 9.10.
https://wiki.ubuntu.com/Grub2
CLI:
sudo grub-install -v

https://help.ubuntu.com/community/GrubHowto

For further investigations, verify the output of:
sudo fdisk -l
cat /etc/fstab
sudo blkid
mount

Revision history for this message
Sam_ (and-sam) said :
#4
Revision history for this message
Richard (richard-a-finch) said :
#5

Thanks for the replies.
To answer your questions, but not necessarily in the order you asked:
I dual boot, having used WUBI to install, GRUB was not involved until 9.10
Ubuntu. The version is 1.97, beta 4.
The GRUB menu screen (after boot.ini gives me the choice for Windows or
Ubuntu) gives me 5 choices:
Ubuntu, Linux 2.6.31-17-generic
Ubuntu, Linux 2.6.31-17-generic (recovery mode)
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Microsoft Windows XP Pro (on /dev/sda1)

Windows does not boot from this point, though. WUBI first gave me Linux
image 2.6.31-14, which quickly updated to 2.6.13-17 without problems. This
has worked OK for the last few weeks, since the last corrupting update!
Selecting 2.6.31-14 will load Ubuntu OK.

This version of GRUB is at /etc/default/grub, but I am not sure how to "turn
off" quiet splash.

I have not changed any partition information. (Since 9.10, my partitions
have not been recognised in the same way as with 9.04, and previous
versions. I have 2 hard drives, partitioned into 3 each, labelled Local Disk
1A, 1B, 1C, and 2A, 2B, and 2C. Windows boots from 1A, and Ubuntu is on 2A.
1B and 2B are not recognised as such, Ubuntu sees them as extended partions
with unallocated space, but with ntfs-config, they can be accessed.

I have run fsck, this showed no problems.

The updates which caused the problem were loaded on 31 Jan and were the
following:
Upgraded the following packages:
dhcp3-client (3.1.2-1ubuntu7) to 3.1.2-1ubuntu7.1
dhcp3-common (3.1.2-1ubuntu7) to 3.1.2-1ubuntu7.1
fuse-utils (2.7.4-1.1ubuntu4.1) to 2.7.4-1.1ubuntu4.3
libcairo2 (1.8.8-2ubuntu1) to 1.8.8-2ubuntu1.1
libfuse2 (2.7.4-1.1ubuntu4.1) to 2.7.4-1.1ubuntu4.3
libpulse-browse0 (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
libpulse-mainloop-glib0 (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
libpulse0 (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
libsmbclient (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
libwbclient0 (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
pulseaudio (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-esound-compat (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-module-bluetooth (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-module-gconf (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-module-udev (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-module-x11 (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
pulseaudio-utils (1:0.9.19-0ubuntu4) to 1:0.9.19-0ubuntu4.1
rhythmbox (0.12.5-0ubuntu5.1) to 0.12.5-0ubuntu5.2
samba (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
samba-common (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
samba-common-bin (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
smbclient (2:3.4.0-3ubuntu5.3) to 2:3.4.0-3ubuntu5.4
software-center (1.0.2) to 1.0.3

I do not have the proposed repository selected.

I have not tried to update GRUB.

The outputs you suggested are as follows:
richard@ubuntu:~$ cat /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
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda5 /media/Local\040Disk\0401B ntfs-3g defaults,locale=en_GB.UTF-8 0 0

/dev/sda6 /media/Local\040Disk\0401C ntfs-3g defaults,locale=en_GB.UTF-8 0 0

/dev/sda1 /media/Local\040Disk\0401A ntfs-3g defaults,locale=en_GB.UTF-8 0 0

/dev/sdb6 /media/Local\040Disk\0402C ntfs-3g defaults,locale=en_GB.UTF-8 0 0

/dev/sdb5 /media/Local\040Disk\0402B ntfs-3g defaults,locale=en_GB.UTF-8 0 0

richard@ubuntu:~$ sudo blkid
/dev/loop0: UUID="cd312c35-9152-4c98-98db-9cbcdcbcb541" TYPE="ext4"
/dev/sda1: UUID="F84CA83B4CA7F294" LABEL="Local Disk 1A" TYPE="ntfs"
/dev/sda5: UUID="B0BCD5D6BCD59766" LABEL="Local Disk 1B" TYPE="ntfs"
/dev/sda6: UUID="DAC014EAC014CE9F" LABEL="Local Disk 1C" TYPE="ntfs"
/dev/sdb1: UUID="42CC3F0DCC3EFB2D" LABEL="Local Disk 2A" TYPE="ntfs"
/dev/sdb5: UUID="D0D871D3D871B7F4" LABEL="Local Disk 2B" TYPE="ntfs"
/dev/sdb6: UUID="D82819B62819951A" LABEL="Local Disk 2C" TYPE="ntfs"

richard@ubuntu:~$ sudo fdisk -l
omitting empty partition (5)

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd205d205

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 3265 26226081 7 HPFS/NTFS
/dev/sda2 3266 9729 51922080 f W95 Ext'd (LBA)
/dev/sda5 3266 6121 22940788+ 7 HPFS/NTFS
/dev/sda6 6122 9729 28981228+ 7 HPFS/NTFS
omitting empty partition (5)

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd25bd25b

   Device Boot Start End Blocks Id System
/dev/sdb1 1 2802 22507033+ 7 HPFS/NTFS
/dev/sdb2 2803 9730 55643679 f W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sdb5 2803 6247 27671931 7 HPFS/NTFS
/dev/sdb6 6248 9730 27971685 7 HPFS/NTFS

The grub.cfg file looks like this (the main parts, perhaps):

menuentry "Ubuntu, Linux 2.6.31-17-generic" {
 insmod ntfs
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set 42cc3f0dcc3efb2d
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-17-generic root=/dev/sdb1
loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
 insmod ntfs
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set 42cc3f0dcc3efb2d
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-17-generic root=/dev/sdb1
loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
 insmod ntfs
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set 42cc3f0dcc3efb2d
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sdb1
loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
 insmod ntfs
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set 42cc3f0dcc3efb2d
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sdb1
loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-14-generic
}

I hope that this will help to sort it out. Thanks in anticipation.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Sam
Sent: 01 February 2010 21:17
To: <email address hidden>
Subject: RE: [Question #99346]: Security updates have fouled it up-AGAIN!!

Your question #99346 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

    Status: Open => Needs information

Sam requested for more information:
> Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown -
block

Virtual Filesystem: unable to mount root filesystem on unknown block ...
means Grub can't mount /

Anyway there should appear more messages which may advise, to view them turn
off 'quiet splash'.
After editing the file update Grub and reboot.
Depending on which Grub is installed.
Grub_legacy:
/boot/grub/menu.lst
# defoptions=quiet splash

Grub_2:
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

> Via grub, I have to go back to a previous version

Previous version of what? Ubuntu version, Grub version?

How are you running Ubuntu at the moment, via Wubi, dualboot, multiboot?
Did you change anything about partitions?
Did you choose a former kernel image in boot menu and could boot with it?
Did you check with MemTest (also available from boot menu)?
Did you make a filesystem check via 'fsck'?
CLI:
sudo touch /forcefsck
## after next boot filesystem will be checked.
https://help.ubuntu.com/community/SystemAdministration/Fsck

> which update caused this

Verify the day of the update. Synaptic has an option to search the history,
which is stored for xxx days, depending on your preferences.
Open Synaptic -> file -> history

btw. in case you have proposed repository enabled, you'll get packages for
testing purpose and you may disable it.
https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu%20Updates

Which version of Grub are you using, Grub_legacy or Grub_2, may depend if
you upgrade from 9.04 to 9.10 or made fresh installation of 9.10.
https://wiki.ubuntu.com/Grub2
CLI:
sudo grub-install -v

https://help.ubuntu.com/community/GrubHowto

For further investigations, verify the output of:
sudo fdisk -l
cat /etc/fstab
sudo blkid
mount

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Sam_ (and-sam) said :
#6

Thanks very much for info.

> version is 1.97, beta 4.
> This version of GRUB is at /etc/default/grub, but I am not sure how to "turn
> off" quiet splash.

It's Grub_2

First backup the file:
sudo cp /etc/default/grub /etc/default/grub.backup

Open the file:
gksudo gedit /etc/default/grub

edit this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

change it to:
GRUB_CMDLINE_LINUX_DEFAULT=""

save the file.
Update Grub:
sudo update-grub

Wubi and Grub_2 have issues:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/477104
http://ubuntuforums.org/showthread.php?t=1339203

> corrupting update

Sorry, not sure which of posted packages could be the cause, rather was assuming grub-pc or kernel update, since you can't boot with 2.6.13-17 anymore.
## btw. where are kernel -15 and -16??

> grub.cfg file looks like this (the main parts, perhaps)

?? Where is WinXP?

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

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
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/white
### 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 ###
menuentry "Ubuntu, Linux 2.6.31-15-generic" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-15-generic
}
menuentry "Ubuntu, Linux 2.6.31-15-generic (recovery mode)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-15-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda2)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 drivemap -s (hd0) ${root}
 chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### 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 ###

Hence, please take a look in tutorials already mentioned and verify that XP is added in some of the scripts in
/etc/grub.d/
https://wiki.ubuntu.com/Grub2#/etc/grub.d/%20%28folder%29

About 'Disk /dev/sdb' (output of fdisk -l)
#says
9729 cylinders
# but this line shows
/dev/sdb2 2803 9730 55643679 f W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary
# that it goes to 9730
# same here
/dev/sdb6 6248 9730 27971685 7 HPFS/NTFS

Honest, I'd leave Wubi since it's suboptimal and make it a real dualboot, e.g.
/
/home
swap
# with a separate /home partition you wont have any hassle with upgrades in the future.

https://help.ubuntu.com/community/Installation#Other%20installation%20guides

Revision history for this message
Richard (richard-a-finch) said :
#7

Thanks Sam, that solved my question.

Revision history for this message
Richard (richard-a-finch) said :
#8

Thanks for the reply.
I take your final point about not using WUBI, but having had a previous bad
experience with the "usual" dual boot arrangement using GRUB (had to reload
Windows as well as Ubuntu), I will stick to Wubi. I have had a look at the
various tutorials and other info you have indicated, and have now got the
system back to a satisfactory situation.
Thanks again for your help.
R.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Sam
Sent: 02 February 2010 21:51
To: <email address hidden>
Subject: RE: [Question #99346]: Security updates have fouled it up-AGAIN!!

Your question #99346 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

    Status: Open => Answered

Sam proposed the following answer:
Thanks very much for info.

> version is 1.97, beta 4.
> This version of GRUB is at /etc/default/grub, but I am not sure how to
"turn
> off" quiet splash.

It's Grub_2

First backup the file:
sudo cp /etc/default/grub /etc/default/grub.backup

Open the file:
gksudo gedit /etc/default/grub

edit this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

change it to:
GRUB_CMDLINE_LINUX_DEFAULT=""

save the file.
Update Grub:
sudo update-grub

Wubi and Grub_2 have issues:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/477104
http://ubuntuforums.org/showthread.php?t=1339203

> corrupting update

Sorry, not sure which of posted packages could be the cause, rather was
assuming grub-pc or kernel update, since you can't boot with 2.6.13-17
anymore.
## btw. where are kernel -15 and -16??

> grub.cfg file looks like this (the main parts, perhaps)

?? Where is WinXP?

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

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
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/white
### 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 ###
menuentry "Ubuntu, Linux 2.6.31-15-generic" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda2
loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-15-generic
}
menuentry "Ubuntu, Linux 2.6.31-15-generic (recovery mode)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda2
loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-15-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2
loop=/ubuntu/disks/root.disk ro quiet splash
 initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 loopback loop0 /ubuntu/disks/root.disk
 set root=(loop0)
 linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2
loop=/ubuntu/disks/root.disk ro single
 initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda2)" {
 insmod ntfs
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 125c7c4e5c7c2f1b
 drivemap -s (hd0) ${root}
 chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### 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 ###

Hence, please take a look in tutorials already mentioned and verify that XP
is added in some of the scripts in
/etc/grub.d/
https://wiki.ubuntu.com/Grub2#/etc/grub.d/%20%28folder%29

About 'Disk /dev/sdb' (output of fdisk -l)
#says
9729 cylinders
# but this line shows
/dev/sdb2 2803 9730 55643679 f W95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary
# that it goes to 9730
# same here
/dev/sdb6 6248 9730 27971685 7 HPFS/NTFS

Honest, I'd leave Wubi since it's suboptimal and make it a real dualboot,
e.g.
/
/home
swap
# with a separate /home partition you wont have any hassle with upgrades in
the future.

https://help.ubuntu.com/community/Installation#Other%20installation%20guides

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346/+confirm?a
nswer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/99346

You received this question notification because you are a direct
subscriber of the question.