Bug#490584: Boot-delay (probably while loading png - graphic)

Christian Meyer c2h5oh at web.de
Sat Jul 12 21:11:35 UTC 2008


Package: grub-pc
Version: 1.96+20080704-1 (and before)
Severity: important

After fixing #477083 there still is a boot-delay loading grub2 (compared to grub-legacy).
Using real hardware (no qemu or so): AMD Duron 1200 (K7)

My grub2 boot-timing is the following: (with some "echo"-calls as Robert Millan suggested)
0 - 2 sec.:       "Welcome to GRUB!", some flickering (loading gfxterm, vbe)
                      the first three "echo"-calls flickers but are not readable (gone extreme fast)
2 - 5 or 6 sec: displaying the two lines: "Before insmod png" _and_ "After insmod png" (appear together)
6 - ... sec:       the last three "echo"-calls flickers but are not readable (gone extreme fast)
                      displaying graphical menu

I think the middle-part (2 - 6 sec) is too long and needs improvement.


See my grub.cfg for the placement of the "echo"-calls:

### BEGIN /etc/grub.d/00_header ###
set default=2
set timeout=5
set root=(hd0,9)
search --fs-uuid --set a7abc87e-7b9d-4585-b292-fdd1fc33f1b4
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
echo "Before insmod gfxterm"
  insmod gfxterm
echo "After insmod gfxterm, before insmod vbe"
  insmod vbe
echo "After insmod vbe"
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,9)
search --fs-uuid --set a7abc87e-7b9d-4585-b292-fdd1fc33f1b4
echo "Before insmod png"
insmod png
echo "After insmod png"
if background_image /boot/grub/debian-blueish-wallpaper-640x480.png ; then
  echo "bgimage"
  set color_normal=black/black
  set color_highlight=magenta/black
else
  echo "no bgimage"
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

echo "Now OS-list:"


Christian Meyer
_________________________________________________________________
WEB.DE schenkt Ihnen jeden Monat einen hochkarätigen Blockbuster 
von maxdome! Jetzt anmelden unter http://www.blockbuster.web.de






More information about the Pkg-grub-devel mailing list