update to 11.3 has lost boot entry

Hi,
my own fault really,just dived in to do the update and did not back everything up. I have three disks in my machine one winxp for games , one was suse 11.2 and added lately one for ubuntu.
added the ubuntu disk installed and this replaced the grub loader, still gave me all my previous options but does not look as nice as the suse one.
so I did update on 11.2 and thought would give me the nice one back and still have all my entries. Er no. entry for win and 11.3 but no ubuntu.
Any easy way I can find the boot entries? all help appreciated, thanks.

Add one manually

It would be like this

#Don’t change this comment - YaST2 identifier: Original name: none#
title Ubuntu 10.04
root (hd0,6)
kernel /vmlinuz root=/dev/sda7 ro quiet splash
initrd /initrd.img

You just need to replace the hd info that is correct for your system

If you don’t know what that is, post your fdisk -l info

More info @swerdna’s
http://opensuse.swerdna.org/susebootubuntu.html

Hi,
thanks for the reply. I have tried various entries as per your post and still get error 15 file not found.
I have found an excellent tool at SourceForge.net: Boot Info Script - Project Web Hosting - Open Source Software which allowed me to see info on my disks. I think I am doing this right and do not know why I have no progress. below I have pasted my amended menu.lst and the output from the bootinfo script.
Anyone point me in the right direction?

menu.1st

Modified by YaST2. Last modification on Thu Aug 26 19:33:44 BST 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd1,1)/boot/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.3 - 2.6.34-12
root (hd1,1)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/sdb2 repair=1 resume=/dev/sdb1 splash=silent ipv6.disable=1 showopts vga=0x314
initrd /boot/initrd-2.6.34-12-desktop

###Don’t change this comment - YaST2 identifier: Original name: none###
title Ubuntu 10.04
root (hd2,2)
kernel /boot/vmlinuz-2.6.32-24-generic root=UUID=bceb26f9-dacb-4f5e-9dc4-6e36a505d80f ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic

###Don’t change this comment - YaST2 identifier: Original name: none###
title Ubuntu 10.04
root (hd2,2)
kernel /vmlinuz ro quiet splash
initrd /initrd.img

title Windows
rootnoverify (hd0,0)
chainloader +1

output from bootinfo

            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 boot drive #2
in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.
=> Windows is installed in the MBR of /dev/sdb
=> No boot loader is installed in the MBR of /dev/sdc

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

sdb1: _________________________________________________________________________

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

sdb2: _________________________________________________________________________

File system:       ext3
Boot sector type:  -
Boot sector info:      Operating System:  Welcome to openSUSE 11.3 "Teal" 
                   - Kernel ().
Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sdb3: _________________________________________________________________________

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

sdc1: _________________________________________________________________________

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

sdc2: _________________________________________________________________________

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

sdc3: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 512,007,614 512,007,552 7 HPFS/NTFS

Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 160.0 GB, 160041885696 bytes

Partition Boot Start End Size Id System

/dev/sdb1 63 4,209,029 4,208,967 82 Linux swap / Solaris
/dev/sdb2 4,209,030 46,154,744 41,945,715 83 Linux
/dev/sdb3 46,154,745 312,576,704 266,421,960 83 Linux

Drive: sdc ___________________ _____________________________________________________

Disk /dev/sdc: 500.1 GB, 500107862016 bytes

Partition Boot Start End Size Id System

/dev/sdc1 2,048 19,531,775 19,529,728 82 Linux swap / Solaris
/dev/sdc2 19,531,776 312,500,223 292,968,448 83 Linux
/dev/sdc3 312,500,224 976,773,119 664,272,896 83 Linux

blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 CE24E22924E2146D ntfs
/dev/sda: PTTYPE=“dos”
/dev/sdb1 16743db8-306d-4302-b126-ca6ff0a12333 swap
/dev/sdb2 7d4f98f5-489f-479f-97eb-00ba9768da4c ext3
/dev/sdb3 43f23d20-5b12-4687-8ed2-f0c04e654b67 ext3
/dev/sdb: PTTYPE=“dos”
/dev/sdc1 66b02eef-c05c-4815-a54c-2f6c6196eddb swap
/dev/sdc2 bceb26f9-dacb-4f5e-9dc4-6e36a505d80f ext4
/dev/sdc3 0151674b-e549-4f7c-a5b0-0fd824fa2506 ext4
/dev/sdc: PTTYPE=“dos”

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

Device Mount_Point Type Options

/dev/sdb2 / ext3 (rw,acl,user_xattr)
/dev/sdb3 /home ext3 (rw,acl,user_xattr)
/dev/sda1 /data2 fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr0 /media/Ubuntu 10.04 LTS amd64 iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500)

================================ 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 Professional” /noexecute=optin /fastdetect

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

Modified by YaST2. Last modification on Thu Aug 26 19:33:44 BST 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
gfxmenu (hd1,1)/boot/message

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.3 - 2.6.34-12
root (hd1,1)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/sdb2 repair=1 resume=/dev/sdb1 splash=silent ipv6.disable=1 showopts vga=0x314
initrd /boot/initrd-2.6.34-12-desktop

###Don’t change this comment - YaST2 identifier: Original name: none###
title Ubuntu
root (hd1,1)
kernel /boot/vmlinuz root=/dev/sdc2 ro quiet splash
initrd /initrd.img

title Windows
rootnoverify (hd0,0)
chainloader +1

=============================== sdb2/etc/fstab: ===============================

UUID=16743db8-306d-4302-b126-ca6ff0a12333 swap swap defaults 0 0
UUID=7d4f98f5-489f-479f-97eb-00ba9768da4c / ext3 acl,user_xattr 1 1
UUID=43f23d20-5b12-4687-8ed2-f0c04e654b67 /home ext3 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
/dev/sda1 /data2 ntfs-3g users,gid=users,umask=0002,utf8=true 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

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

23.3GB: boot/grub/menu.lst
23.2GB: boot/grub/stage2
23.2GB: boot/initrd
23.2GB: boot/initrd-2.6.34-12-desktop
23.3GB: boot/vmlinuz
23.3GB: boot/vmlinuz-2.6.34-12-desktop

=========================== sdc2/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=’(hd2,2)’
search --no-floppy --fs-uuid --set bceb26f9-dacb-4f5e-9dc4-6e36a505d80f
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=’(hd2,2)’
search --no-floppy --fs-uuid --set bceb26f9-dacb-4f5e-9dc4-6e36a505d80f
set locale_dir=($root)/boot/grub/locale
set lang=en
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, with Linux 2.6.32-24-generic’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=’(hd2,2)’
search --no-floppy --fs-uuid --set bceb26f9-dacb-4f5e-9dc4-6e36a505d80f
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=bceb26f9-dacb-4f5e-9dc4-6e36a505d80f ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry ‘Ubuntu, with Linux 2.6.32-24-generic (recovery mode)’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=’(hd2,2)’
search --no-floppy --fs-uuid --set bceb26f9-dacb-4f5e-9dc4-6e36a505d80f
echo ‘Loading Linux 2.6.32-24-generic …’
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=bceb26f9-dacb-4f5e-9dc4-6e36a505d80f ro single
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-2.6.32-24-generic
}

menuentry “openSUSE 11.2 - 2.6.31.12-0.2 (on /dev/sdb2)” {
insmod ext2
set root=’(hd1,2)’
search --no-floppy --fs-uuid --set 7d4f98f5-489f-479f-97eb-00ba9768da4c
linux /boot/vmlinuz-2.6.31.12-0.2-default root=/dev/sdb2 repair=1 resume=/dev/disk/by-id/ata-MAXTOR_STM3160215AS_6RA6YCHP-part1 splash=silent showopts ipv6.disable=1 vga=0x314
initrd /boot/initrd-2.6.31.12-0.2-default
}
menuentry “Failsafe – openSUSE 11.2 - 2.6.31.12-0.2 (default) (on /dev/sdb2)” {
insmod ext2
set root=’(hd1,2)’
search --no-floppy --fs-uuid --set 7d4f98f5-489f-479f-97eb-00ba9768da4c
linux /boot/vmlinuz-2.6.31.12-0.2-default root=/dev/sdb2 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.12-0.2-default
}

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

=============================== sdc2/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/sdc2 during installation

UUID=bceb26f9-dacb-4f5e-9dc4-6e36a505d80f / ext4 errors=remount-ro 0 1

/home was on /dev/sdc3 during installation

UUID=0151674b-e549-4f7c-a5b0-0fd824fa2506 /home ext4 defaults 0 2

swap was on /dev/sdb1 during installation

UUID=16743db8-306d-4302-b126-ca6ff0a12333 none swap sw 0 0

swap was on /dev/sdc1 during installation

UUID=66b02eef-c05c-4815-a54c-2f6c6196eddb none swap sw 0 0

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

18.7GB: boot/grub/core.img
100.7GB: boot/grub/grub.cfg
18.7GB: boot/initrd.img-2.6.32-21-generic
18.8GB: boot/initrd.img-2.6.32-22-generic
19.1GB: boot/initrd.img-2.6.32-24-generic
18.7GB: boot/vmlinuz-2.6.32-21-generic
10.6GB: boot/vmlinuz-2.6.32-22-generic
19.1GB: boot/vmlinuz-2.6.32-24-generic
19.1GB: initrd.img
18.8GB: initrd.img.old
19.1GB: vmlinuz
10.6GB: vmlinuz.old
=============================== StdErr Messages: ===============================

No volume groups found
mdadm: No arrays found in config file or automatically

Thanks for any feedback

But where is the

fdisk -l

output?

hi;
fdisk -l output

MeanMachine:/home/dave # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xced1ced1

Device Boot Start End Blocks Id System
/dev/sda1 * 1 31871 256003776 7 HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x16461645

Device Boot Start End Blocks Id System
/dev/sdb1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sdb2 263 2873 20972857+ 83 Linux
/dev/sdb3 2874 19457 133210980 83 Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002bcce

Device Boot Start End Blocks Id System
/dev/sdc1 1 1216 9764864 82 Linux swap / Solaris
/dev/sdc2 1216 19453 146484224 83 Linux
/dev/sdc3 19453 60802 332136448 83 Linux

This information is within the bootinfo report.
Thanks

Try this

#Don’t change this comment - YaST2 identifier: Original name: none#
title Ubuntu 10.04
root (hd2,1)
kernel /vmlinuz root=/dev/sdc2 ro quiet splash
initrd /initrd.img

Hi,
It works,now in ubuntu and all going ok.
I see you are in the lakes, up the road from my liverpool home. would offer beer for fix.
Thanks for your assistance.
Cheers

No problem
I come to Southport regular to see the Mother-in-Law :slight_smile: Actually I was Born there.

I’m T-Total

IIRC Ubuntu kernel updates will re-install Ubuntu grub. If it does, you can either keep using that or repair what you have now. Do you know what to do in each case?