Public bug reported:

When USE_GRUB_CONFIG is set to "true" in /etc/default/kexec, reboot
hangs with scrambled screen somewhere on kernel load.

This is due to incorrect parsing of /boot/grub/grub.cfg performed in
/etc/init.d/kexec-load. In 12.10 grub.cfg contains submenues, which have
their own 'menuentry' records. Incorrect parsing brings wrong kernel
parameters (from the last record, which is 'recovery mode').

As grub.cfg is generated file, I would expect that kernel, initrd and
parameters are fetched with the same algorithm that generate grub.cfg.

$ lsb_release -rd
Description:    Ubuntu 12.10
Release:        12.10

$ apt-cache policy kexec-tools 
kexec-tools:
  Installed: 1:2.0.3-1ubuntu2
  Candidate: 1:2.0.3-1ubuntu2
  Version table:
 *** 1:2.0.3-1ubuntu2 0
        500 http://ru.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: kexec-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1159499

Title:
  kexec-load incorrectly parses grub.cfg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1159499/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to