PDA

View Full Version : [ubuntu] 10.04 no XP entry in my grub menu



smaba
May 9th, 2010, 03:08 PM
Hey there,

I just upgraded to Lucid 10.04 64bit (Kubuntu), but there's the XP-entry missing in my Grub menu. I already tried a
sudo update-gruband
sudo apt-get grub-mkconfig without any success.

That's my result.txt:


Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #6 for /boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

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

sda7: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

Platte /dev/sda: 80.0 GByte, 80026361856 Byte
255 Köpfe, 63 Sektoren/Spur, 9729 Zylinder, zusammen 156301488 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 61,439,615 61,439,553 c W95 FAT32 (LBA)
/dev/sda2 61,448,686 156,296,384 94,847,699 5 Extended
/dev/sda5 61,448,688 64,372,454 2,923,767 82 Linux swap / Solaris
/dev/sda6 136,761,408 156,296,384 19,534,977 83 Linux
/dev/sda7 64,372,518 136,761,344 72,388,827 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 F4B8-3EC0 vfat ��1��1R�
/dev/sda2: PTTYPE="dos"
/dev/sda5 a24d47bd-e2c7-4d58-9682-99f2265f2fdc swap
/dev/sda6 fbf1b52d-94e8-44c2-8a66-cc4368101fd0 ext3
/dev/sda7 a29ea914-ca94-4a4b-bdeb-9d743cd9f5c1 ext3
/dev/sda: PTTYPE="dos"

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

Device Mount_Point Type Options

/dev/sda6 / ext3 (rw,errors=remount-ro)
/dev/sda7 /home ext3 (rw)
/dev/sda1 /windows vfat (rw,utf8,umask=007,gid=46)


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

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn

=========================== sda6/boot/grub/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 $prefix/grubenv ]; then
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
}
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
set locale_dir=($root)/boot/grub/locale
set lang=de
insmod gettext
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, mit Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=fbf1b52d-94e8-44c2-8a66-cc4368101fd0 ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, mit Linux 2.6.32-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
echo 'Linux 2.6.32-22-generic wird geladen …'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=fbf1b52d-94e8-44c2-8a66-cc4368101fd0 ro single
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, mit Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=fbf1b52d-94e8-44c2-8a66-cc4368101fd0 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, mit Linux 2.6.32-21-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
echo 'Linux 2.6.32-21-generic wird geladen …'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=fbf1b52d-94e8-44c2-8a66-cc4368101fd0 ro single
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set fbf1b52d-94e8-44c2-8a66-cc4368101fd0
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=fbf1b52d-94e8-44c2-8a66-cc4368101fd0 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=a29ea914-ca94-4a4b-bdeb-9d743cd9f5c1 /home ext3 defaults 0 2
# /windows was on /dev/sda1 during installation
UUID=F4B8-3EC0 /windows vfat utf8,umask=007,gid=46 0 1
# swap was on /dev/sda5 during installation
UUID=a24d47bd-e2c7-4d58-9682-99f2265f2fdc none swap sw 0 0

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


73.5GB: boot/grub/core.img
73.4GB: boot/grub/grub.cfg
73.5GB: boot/initrd.img-2.6.32-21-generic
70.3GB: boot/initrd.img-2.6.32-22-generic
73.5GB: boot/vmlinuz-2.6.32-21-generic
73.5GB: boot/vmlinuz-2.6.32-22-generic
70.3GB: initrd.img
73.5GB: initrd.img.old
73.5GB: vmlinuz
73.5GB: vmlinuz.old


Shouldn't the first entry look like that?


sda1: __________________________________________________ _______________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /ntdetect.com
??

And why does he show me 156GB on a 80GB disk?

Any ideas how to fix that?

greets

smaba