[Bug 449757] New: kiwi oem bootloader reconfig chooses wrong root dev
https://bugzilla.novell.com/show_bug.cgi?id=449757 Summary: kiwi oem bootloader reconfig chooses wrong root dev Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: ms@novell.com ReportedBy: lnussel@novell.com QAContact: qa@suse.de Found By: Development The bootloader reconfiguration during fist boot of an oem type image chooses the wrong root partition for me. The oem image is on a usb stick. The kiwi initrd loads the edd module and choses a edd unique id as root device (/dev/disk/by-id/edd-int13_dev80-part1). The new initrd for sucessive boots however no longer finds that device and therefore fails to boot. So the kiwi initrd should probably skip edd unique ids at first and see if there are better suitable ids for the root device. -- 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=449757 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449757#c1 --- Comment #1 from Ludwig Nussel <lnussel@novell.com> 2008-11-27 07:24:26 MST --- Created an attachment (id=256237) --> (https://bugzilla.novell.com/attachment.cgi?id=256237) kiwi boot log -- 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=449757 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449757#c2 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lnussel@novell.com --- Comment #2 from Marcus Schaefer <ms@novell.com> 2008-11-28 04:32:32 MST --- that's interesting. I don't see these edd- links, maybe that's because I used beta4 for testing. I agree using the edd links is not a good idea especially because kiwi creates an MBR id to detect the boot device so we don't need the 0x80 address check which in many cases doesn't work for USB stick booting The following should fix this: Index: modules/KIWILinuxRC.sh =================================================================== --- modules/KIWILinuxRC.sh (revision 1799) +++ modules/KIWILinuxRC.sh (working copy) @@ -3085,6 +3085,9 @@ return fi for i in /dev/disk/by-id/*;do + if echo $i | grep -q edd-;then + continue + fi local dev=`readlink $i` dev=/dev/`basename $dev` if [ $dev = $device ];then could you give it a test ? 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=449757 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kiwi oem bootloader reconfig chooses wrong root |kiwi: oem bootloader reconfig chooses wrong root |dev |dev -- 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=449757 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449757#c3 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|lnussel@novell.com | Resolution| |FIXED --- Comment #3 from Marcus Schaefer <ms@novell.com> 2008-12-02 08:51:55 MST --- this one should be fixed -- 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