[Bug 577369] Re: "Grub loading." raid1 rootfs takes very long

Launchpad Bug Tracker 577369 at bugs.launchpad.net
Mon Jul 22 04:17:39 UTC 2013


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

-- 
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/577369

Title:
  "Grub loading." raid1 rootfs takes very long

Status in “grub2” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: grub2

  The "Grub loading." message only shows if the shift key was held down,
  otherwise only a blank screen with a blinking cursor is shown.

  It takes over 60 seconds before boot continues / menu is shown.

  /boot is on raid1 (md0)
  and the root fs is a logical volume on another raid1 (possibly not available and the reason for the delay?)

  
  From the grub.cfg:

  ### 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 raid
  insmod mdraid
  insmod lvm
  insmod ext2
  set root='(vg0-root)'
  search --no-floppy --fs-uuid --set 449................
  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 raid
  insmod mdraid
  insmod ext2
  set root='(md0)'
  search --no-floppy --fs-uuid --set 512..............................
  set locale_dir=($root)/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 raid
  	insmod mdraid
  	insmod ext2
  	set root='(md0)'
  	search --no-floppy --fs-uuid --set 512...............................
  	linux	/vmlinuz-2.6.32-22-generic root=/dev/mapper/vg0-root ro   quiet splash
  	initrd	/initrd.img-2.6.32-22-generic
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/577369/+subscriptions




More information about the foundations-bugs mailing list