[Bug 376310] New: run mkzimage on Pegasos and EFIKA as part of installation , and after kernel upgrades
https://bugzilla.novell.com/show_bug.cgi?id=376310 Summary: run mkzimage on Pegasos and EFIKA as part of installation, and after kernel upgrades Product: openSUSE 11.0 Version: Factory Platform: PowerPC OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pczanik@genesi-usa.com QAContact: jsrain@novell.com Found By: --- Pegasos and EFIKA are PPC machines from bPlan/Genesi. This should be an enhancement request, but became critical due to other problems. Current boot manager situation: - yaboot is installed as bootmanager on Pegasos, but works only with recent firmwares, the rest need a workaround - EFIKA: no bootmanager is installed The mentioned workaround is to boot inst32 again, then boot the installed system, finish installation, login as root, and create a bootable kernel image. Obviously this is not a user friendly solution, especially that typical users of these machines are desktop users (mostly from the Amiga world). Even this workaround is lost now with recent factory releases, booting the installed system from inst32 does not work any more ( see: https://bugzilla.novell.com/show_bug.cgi?id=373569 ) The proposed solution is to run the following command during installation to get a bootable kernel image. chroot /mnt mkzimage --initrd /boot/initrd --vmlinux \ /boot/vmlinux --output /boot/zImage This should be on one line, broke only for bugzilla readibility. 'chroot' is needed, as only the installed system has the 'mkzimage' tool (part of the PPC version of the 'lilo' package). On the installed system 'chroot' obviously is not needed, but running the same command automatically would save users a lot of trouble. -- 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=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c1
Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=376310
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c2
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=376310
User juhliarik@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c3
Jozef Uhliarik
https://bugzilla.novell.com/show_bug.cgi?id=376310
User aosthof@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c4
Alexander Osthof
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c5
--- Comment #5 from Matt Sealey
Reading the output of the command executed in comment #3 tells that the produced output file is 2773200 bytes too large.
Could it be that the partition where /boot is located is simply too small?
NewWorld Macs have a size limit on the size of the bootable image. But, you have yaboot to work around it - just don't boot the zImage, boot Yaboot and use that to boot the vmlinux and load the initrd seperately. Regardless, the bug has been posted because without a zImage with a combined initrd, Pegasos and Efika can't boot (yaboot is not entirely usable). On NewWorld Macs, yaboot can run with the files in the kernel package and a seperate initrd.. so it's not exactly a requirement to generate the image on ALL platforms, although it wouldn't hurt as long as on NewWorld and other systems, yaboot was still the preferred loader. How about this. Can it be determined if the bootloader is installed or not, and then mkzimage is run if it's not? If you have yaboot, it's a waste of time to generate the combined zImage+initrd, on some other systems it's also pretty useless. It's only really common, I should expect, to disable the boot loader on Pegasos and Efika, and the disabling has already been 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.
https://bugzilla.novell.com/show_bug.cgi?id=376310
User pczanik@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c6
peter czanik
https://bugzilla.novell.com/show_bug.cgi?id=376310
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=376310
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=376310
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c7
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=376310
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=376310
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c8
--- Comment #8 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c9
--- Comment #9 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c10
--- Comment #10 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c11
--- Comment #11 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c12
--- Comment #12 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c13
--- Comment #13 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c14
--- Comment #14 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
User matt@genesi-usa.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376310#c15
--- Comment #15 from Matt Sealey
https://bugzilla.novell.com/show_bug.cgi?id=376310
Alexander Osthof
participants (1)
-
bugzilla_noreply@novell.com