[Bug 762095] New: Current factory: Bootloader broken
https://bugzilla.novell.com/show_bug.cgi?id=762095 https://bugzilla.novell.com/show_bug.cgi?id=762095#c0 Summary: Current factory: Bootloader broken Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader AssignedTo: mchang@suse.com ReportedBy: aj@suse.com QAContact: jsrain@suse.com CC: snwint@suse.com Found By: Product Management Blocker: --- Running mkinitrd I see: Kernel image: /boot/vmlinuz-3.4.0-rc6-1-default Initrd image: /boot/initrd-3.4.0-rc6-1-default KMS drivers: i915 Root device: /dev/disk/by-id/ata-ST9160411AS_5TG1MMND-part2 (/dev/sda2) (mounted on / as ext4) Kernel Modules: hwmon thermal_sys thermal processor fan rtc-cmos scsi_dh scsi_dh_rdac scsi_dh_alua scsi_dh_hp_sw scsi_dh_emc video i2c-core button i2c-algo-bit drm drm_kms_helper i915 libata libahci ahci usb-common usbcore ohci-hcd uhci-hcd ehci-hcd hid usbhid hid-logitech-dj Features: acpi kms block usb resume.userspace resume.kernel Bootsplash: openSUSE (1024x600), openSUSE (800x600) Perl-Bootloader: 2012-05-14 14:39:12 ERROR: Core::ReadFiles: Failed to open /etc/default/grub_installdevice Can't use an undefined value as a HASH reference at /usr/lib/perl5/vendor_perl/5.14.2/Bootloader/Core/GRUB2.pm line 1023. There was an error generating the initrd (2) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c1
--- Comment #1 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c2
--- Comment #2 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c3
--- Comment #3 from Michael Chang
I set grub2 up ages ago - before your perl-bootloader changes went in.
Can't you get those values at install time from grub? Just check whether grub_installdevice and if not if grub has the data and if so, copy it to grub_installdevice?
The implementation is possible, maybe in perl-bootloader's %post section, or any other better place ? However my preference is get rid of /etc/default/grub_installdevice by merging it to /etc/default/grub (as comment#1 stats) and would not touch install device / activate / generic_mbr if they were missing (Simply because user haven't configured these items for grub2 in a way that upper managing tools aware of, so better don't touch them). Sync from grub should be a way to go and should work on most cases.. but may also have side effects if users get their grub2 installed manually on other locations we never know .. (basically we would suggest set /etc/sysconfig/bootloader:LOADER_TYPE=none if you want manually install bootloader, but your case somehow different). :( Thanks. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c4
--- Comment #4 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c5
--- Comment #5 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c6
Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=762095
https://bugzilla.novell.com/show_bug.cgi?id=762095#c7
Michael Chang
participants (1)
-
bugzilla_noreply@novell.com