ubuntu 9.10 beta "grub loadin" stay for more than 30 secondes"

Bug #453876 reported by litleubu
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub

Description: Ubuntu karmic (development branch)
Release: 9.10

multiboot ubuntu 9.10, 9.04 , win XP, Win 7

when starting the message "Grub loading" on black screen stay for more than 30 sec

after everything is ok with grub

did not find error in dmsg

------------------------- 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
insmod ext2
set root=(hd1,6)
search --no-floppy --fs-uuid --set d1c2622d-8a7f-4995-8faa-e798185f2134
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
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 ###
menuentry "Ubuntu, Linux 2.6.31-11-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
 set quiet=1
 insmod ext2
 set root=(hd1,6)
 search --no-floppy --fs-uuid --set d1c2622d-8a7f-4995-8faa-e798185f2134
 linux /boot/vmlinuz-2.6.31-11-generic root=UUID=d1c2622d-8a7f-4995-8faa-e798185f2134 ro quiet splash
 initrd /boot/initrd.img-2.6.31-11-generic
}
menuentry "Ubuntu, Linux 2.6.31-11-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
 insmod ext2
 set root=(hd1,6)
 search --no-floppy --fs-uuid --set d1c2622d-8a7f-4995-8faa-e798185f2134
 linux /boot/vmlinuz-2.6.31-11-generic root=UUID=d1c2622d-8a7f-4995-8faa-e798185f2134 ro single
 initrd /boot/initrd.img-2.6.31-11-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
 insmod fat
 set root=(hd0,2)
 search --no-floppy --fs-uuid --set 4040-cdf9
 chainloader +1
}
menuentry "Ubuntu 9.04, kernel 2.6.28-15-generic (on /dev/sdb1)" {
 insmod ext2
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set db4ab99f-b589-4510-bcff-cbc6243aa21f
 linux /boot/vmlinuz-2.6.28-15-generic root=UUID=db4ab99f-b589-4510-bcff-cbc6243aa21f ro quiet splash
 initrd /boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode) (on /dev/sdb1)" {
 insmod ext2
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set db4ab99f-b589-4510-bcff-cbc6243aa21f
 linux /boot/vmlinuz-2.6.28-15-generic root=UUID=db4ab99f-b589-4510-bcff-cbc6243aa21f ro single
 initrd /boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu 9.04, memtest86+ (on /dev/sdb1)" {
 insmod ext2
 set root=(hd1,1)
 search --no-floppy --fs-uuid --set db4ab99f-b589-4510-bcff-cbc6243aa21f
 linux /boot/memtest86+.bin
}
### 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 ###

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 17 13:45:41 2009
DistroRelease: Ubuntu 9.10
Package: grub (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: grub
Uname: Linux 2.6.31-11-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:1916): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1916): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2029): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2011): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

The file you quote is a grub2 config, not a grub1 menu.lst. Reassigning to the correct package.

affects: grub (Ubuntu) → grub2 (Ubuntu)
Revision history for this message
Felix Zielcke (fzielcke) wrote : Re: [Bug 453876] [NEW] ubuntu 9.10 beta "grub loadin" stay for more than 30 secondes"

> ### BEGIN /etc/grub.d/10_linux ###
> menuentry "Ubuntu, Linux 2.6.31-11-generic" {
> recordfail=1
> if [ -n ${have_grubenv} ]; then save_env recordfail; fi
> set quiet=1
> insmod ext2
> set root=(hd1,6)
> search --no-floppy --fs-uuid --set d1c2622d-8a7f-4995-8faa-e798185f2134
> linux /boot/vmlinuz-2.6.31-11-generic root=UUID=d1c2622d-8a7f-4995-8faa-e798185f2134 ro quiet splash
> initrd /boot/initrd.img-2.6.31-11-generic
> }

Remove the `set quiet=1' and `quiet splash' in the linux line.
Then you should get more output from the kernel and maybe you see where
it takes so long.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer

Revision history for this message
Elfy (elfy) wrote :

I have the same issue - though my Grub loading text lasts for approx 25s

I removed the set quiet and quiet splash - nothing appears to be any different in any of the log files.

That said I am not really sure which log file would show anything prior to the menu list being there and me being able to choose a kernel to boot from.

As with the OP - once the menu list has appered and a kernel booted the boot doesn't appear to take any longer than normal.

Revision history for this message
Felix Zielcke (fzielcke) wrote : Re: [Bug 453876] Re: ubuntu 9.10 beta "grub loadin" stay for more than 30 secondes"

Am Sonntag, den 18.10.2009, 16:24 +0000 schrieb forestpixie:
> I removed the set quiet and quiet splash - nothing appears to be any
> different in any of the log files.

Because it doestn't affect at all any log files.
It only affects the output of your monitor.
I thought it would help to get more info where exactly it needs this 30
seconds but seems like I was wrong.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer

Revision history for this message
Elfy (elfy) wrote :

ok - that's cool - I was just checking that I was not missing something I should have seen.

I did wonder originally if it was the bug/issue where grub and boot were on different partitions - since then I reinstalled grub to sdb - same drive as /boot and the rest of the install.

Anyway - any ideas would be great :)

Quite happy to do whatever needs to be done if it can help.

Revision history for this message
litleubu (cke) wrote :

Hello,
ok i supress the 'set quiet=1' and `quiet splash' in the grub.cfg, i'get no message during the GRUB loading (just the cursor is blinking) then when i select 9.10 in the grub menu, i get all the debug , but once i'm in the grub menu, grub is working fine
is just the delay before it's come to that point

is it possible to put grub in debug ?

thnaks for your help

Elfy (elfy)
Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Elfy (elfy) wrote :

I looked again in my BIOS - I found an option to change the boot order, changed to the drive that grub and /boot are installed to and the delay is gone for me now.

Revision history for this message
Regular User (dot.ru) wrote :

A similar situation here but nowhere near 30 seconds, a couple of seconds like 6.... and after that the boot process IS NOT faster than the previous iteration of ubuntu and it's kind of a mess IMHO (the first apple-like boot screen and then the windows-like one... is redundant and ugly).

Revision history for this message
gfx (gfx) wrote :

Same here, ubuntu 9.10 (rc) is on a large 180GB ext4 partition sdb3 and it takes a long time.
When I install it on a test partition sdb1 ext3 (14GB) it shows the boot items quickly.

rant
grub2 also seems a pain to edit manually, my default choice isn´t the same as the bootloader thinks.
It should be easier not more difficult. Please take out your eleven year old BeOS disk to see how simple
it can be to setup a bootloader: bootman
/rant

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.