[Bug 643475] Re: cannot start 64-bit ubuntu hardy: it is not detected
Phillip Susi
psusi at ubuntu.com
Wed May 22 15:31:01 UTC 2013
If this is still happening, please run the boot info script and attach
the results:
http://sourceforge.net/projects/bootinfoscript/
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/643475
Title:
cannot start 64-bit ubuntu hardy: it is not detected
Status in “grub2” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: grub2
I allowed Ubuntu Lucid to run automatic updates, and it screwed up the boot loader.
What's worst, is that one of the installations has simply disappeared (that is, I cannot start it).
I have two ubuntu hardy, one 32-bit and one 64-bit, on /dev/sda2 and /dev/sda5 (do not
remember which one is which).
IIRC, the loader was on sda5 while the 64-bit system was on sda2.
Now grub2 shows the menu where both /dev/sda2 and /dev/sda5 are marked
as 32-bit, and the loaded system is 32-bit in both cases. It looks
like the volume ID is the same in grub.cfg.
I attach the current menu.cfg and include the good menu.lst from sda5
(the 64-bit system had a menu.lst that was not used)
As to security... if the user can start a wrong operating system
without knowing what happened, it probably is a security
vulnerability.
-- menu.lst --
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### 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=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## 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=quiet splash
## 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
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## 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 ##
# manually inserted
# changes: (hd0,1) root=UUID=<code>
title Ubuntu 8.04.4 LTS, kernel 2.6.24-28-generic (on /dev/sda2) (Jul 2010)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-28-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro quiet splash
initrd /boot/initrd.img-2.6.24-28-generic
quiet
title Ubuntu 8.04.4 LTS, kernel 2.6.24-28-generic (recovery mode) (on /dev/sda2) (Jul 2010)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-28-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro single
initrd /boot/initrd.img-2.6.24-28-generic
# changes: (hd0,14) root=UUID=<code>
title Ubuntu 10.04 Lucid Lynx, 2.6.32-23-generic (on /dev/sda15) (Jul 2010)
root (hd0,14)
kernel /boot/vmlinuz-2.6.32-23-generic root=UUID=019dc42a-3f79-4272-9c66-c10eea2221bc ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
quiet
#title Ubuntu 8.04.4 LTS, kernel 2.6.24-27-generic (on /dev/sda2) (Jul 2010)
#root (hd0,4)
#kernel /boot/vmlinuz-2.6.24-27-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro quiet splash
#initrd /boot/initrd.img-2.6.24-27-generic
#quiet
#title Ubuntu 8.04.4 LTS, kernel 2.6.24-27-generic (recovery mode) (on /dev/sda2) (Jul 2010)
#root (hd0,4)
#kernel /boot/vmlinuz-2.6.24-27-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro single
#initrd /boot/initrd.img-2.6.24-27-generic
# manually inserted
title Ubuntu 8.04.2, kernel 2.6.24-26-generic (on /dev/sda2) (Dec 2009)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro quiet splash
initrd /boot/initrd.img-2.6.24-26-generic
savedefault
boot
title Ubuntu 8.04.2, kernel 2.6.24-26-generic (recovery mode) (on /dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-26-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro single
initrd /boot/initrd.img-2.6.24-26-generic
savedefault
boot
title Ubuntu 8.04.2, kernel 2.6.30.1-my
root (hd0,1)
kernel /boot/vmlinuz-2.6.30.1-my root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro quiet splash
initrd /boot/initrd.img-2.6.30.1-my
#quiet
title Ubuntu 8.04.2, kernel 2.6.30.1-my (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.30.1-my root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro single
initrd /boot/initrd.img-2.6.30.1-my
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda2.
title Ubuntu 8.04.2, kernel 2.6.24-23-generic (on /dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda2.
title Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode) (on /dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=c62570e7-0089-47fc-8dd3-4081a83c1c63 ro single
initrd /boot/initrd.img-2.6.24-23-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda2.
title Ubuntu 8.04.2, memtest86+ (on /dev/sda2)
root (hd0,1)
kernel /boot/memtest86+.bin
savedefault
boot
title Ubuntu 8.04.2, kernel 2.6.30-my (32-bit)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30-my root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro quiet splash
initrd /boot/initrd.img-2.6.30-my
quiet
title Ubuntu 8.04.2, kernel 2.6.30-my (32-bit, recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.30-my root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro single
initrd /boot/initrd.img-2.6.30-my
title Ubuntu 8.04.2, kernel 2.6.24-24-generic (32-bit)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet
title Ubuntu 8.04.2, kernel 2.6.24-23-generic (32-bit)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet
title Ubuntu 8.04.2, kernel 2.6.24-23-generic (32-bit, recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro single
initrd /boot/initrd.img-2.6.24-23-generic
title Ubuntu 8.04.2, kernel 2.6.24-19-generic (32-bit)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.2, kernel 2.6.24-19-generic (32-bit, recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=51c3524e-353b-4eba-ae3c-6c6f355d6f12 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.2, memtest86+ (32-bit)
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
#title Other operating systems:
#root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional RU
root (hd0,0)
savedefault
makeactive
chainloader +1
title=Gentoo Linux
root (hd0,8)
kernel /boot/kernel-genkernel-x86_64-2.6.24-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda9
initrd /boot/initramfs-genkernel-x86_64-2.6.24-gentoo-r7
title Slackware 12.2 (32-bit)
root (hd0,10)
kernel /boot/vmlinuz root=/dev/sda11 ro quiet splash
initrd /boot/initrd.gz
quiet
title Slackware 12.2 (32-bit test)
root (hd0,10)
kernel /boot/vmlinuz root=/dev/sda11 ro quiet splash
#initrd /boot/initrd.gz
quiet
title Slackware 12.2 (32-bit, recovery mode)
root (hd0,10)
kernel /boot/vmlinuz root=/dev/sda11 ro single
initrd /boot/initrd.gz
--eof menu.lst --
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Mon Sep 20 16:11:30 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: grub2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/643475/+subscriptions
More information about the foundations-bugs
mailing list