[Bug 541684] New: initrd not created and menu.lst empty after kernel security update when /boot and / are on mirror raid (results in boot failure)
http://bugzilla.novell.com/show_bug.cgi?id=541684 Summary: initrd not created and menu.lst empty after kernel security update when /boot and / are on mirror raid (results in boot failure) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Olaf.Zander@t-online.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1 Firefox/3.0.14 The following has happened repeatedly on different machines with openSuSE-11.1 and both /boot and / on separate md mirror raid devices: During the kernel security upgrade, the new initrd is not created and the grub menu.lst file is left empty. There is no error message during the upgrade. Just rebooting after the upgrade will result in a system not able to boot anymore. If you do not have a copy of your old files: bad luck (had that happen before)! as during the upgrade, the old modules and initrd and kernels are deleted. Work-around: Get a copy of menu.lst BEFORE upgrading. After upgrade and before reboot create the missing initrd manually: - just "mkinird" will fail - execute "mkinitrd -d /dev/md0" with md0 being the / device, this will successfully create the missing inirds Restore the saved menu.lst and edit it to match the new kernel version Reboot. Reproducible: Always Steps to Reproduce: Whenever there was a kernel security update on machines with / and /boot on separate md mirror raid devices, this has happened. Note: I have not tried a single / on a mirror raid nor have I tried other raid levels. Actual Results: New kernel is put in place, initrd(s) are missing, all boot entries in the grub menu.lst file are missing. Unfortunately, all old kernels/initrds/modules are deleted during the upgrade. So there is no way to boot anymore. Expected Results: Create the inird properly and modify the menu.lst file appropriately. Possibly leave the last known working files on the system as a backup and only delete them later (to revert). Possibly delete old files only AFTER the upgrade was successful. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541684
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c3
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c4
Olaf Zander
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c5
--- Comment #5 from Olaf Zander
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c6
--- Comment #6 from Olaf Zander
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c7
--- Comment #7 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c8
Olaf Zander
http://bugzilla.novell.com/show_bug.cgi?id=541684
http://bugzilla.novell.com/show_bug.cgi?id=541684#c9
--- Comment #9 from Dennis Olsson
https://bugzilla.novell.com/show_bug.cgi?id=541684
https://bugzilla.novell.com/show_bug.cgi?id=541684#c10
Bruno Friedmann
participants (1)
-
bugzilla_noreply@novell.com