[Bug 865227] New: grub2-reboot grubenv on lvm2 continues to boot "temporary" image
https://bugzilla.novell.com/show_bug.cgi?id=865227 https://bugzilla.novell.com/show_bug.cgi?id=865227#c0 Summary: grub2-reboot grubenv on lvm2 continues to boot "temporary" image Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: diego.ercolani@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 In my environment I have a problem to halt the system, every time I halt th systsem, the kernel issues a reboot. (for reference see: https://bugzilla.novell.com/show_bug.cgi?id=812592) To circumvent the problem I use the grubenv feature of grub issuing a: "grub2-reboot 'halt'" and a "shutdown -h now" obviously there is an entry in the grub2 config file that is: menuentry 'halt' --class opensuse --class halt { echo "halting system" sleep 5 set saved_entry=0 save_env saved_entry halt } so when I firstly run shutdown -h now, the kernel issue a reboot but observing the grub2-reboot 'halt' command, grub shutdown the system. Then I can power on my system and grub "forget" to boot 'halt' and boots properly. This work when the boot filesystem is on a real partition but, as I have bought a new hard disk, and grub2 permit the full use of lvm2 (insmod lvm) I configured my system also with the boot partition as lvm2 logical volume. Normal boot works but, when I issue grub2-mkboot 'halt' the grub correctly use it and halt the system but, when I power-up again it continues to boot 'halt' so I'm in a dead lock. Probably there is a issue in grub2 that don't permit to upgrade (from grub) the grubenv file.... Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com