Bug 333665

Summary: Missing Files for BootX installation
Product: [openSUSE] openSUSE 10.3 Reporter: Forgotten User v5inq2MBSE <forgotten_v5inq2MBSE>
Component: InstallationAssignee: Ruediger Oertel <ro>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: coolo, snwint
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: extract_inst32.sh

Description Forgotten User v5inq2MBSE 2007-10-13 13:48:32 UTC
In the suseboot directory of the openSUSE 10.3 oss repo directory I'm missing the files initrd32 and linux32.gz which are needed for a old world installation using BootX:

http://en.opensuse.org/Booting_on_PowerMac_(OldWorld)

In the openSUSE 10.2 directory this files (and also 64bit versions) are available, so I managed to install 10.2 and update to 10.3 by rpm (10.2 yast can't handle the 10.3 repository), but it's not a easy way...
Comment 2 Stephan Kulow 2007-10-29 10:58:06 UTC
No idea where these files should come from or if the wiki page is outdated
Comment 3 Olaf Hering 2007-10-29 13:22:35 UTC
Created attachment 181019 [details]
extract_inst32.sh
Comment 4 Olaf Hering 2007-10-29 13:24:27 UTC
something like the attached helper script should run before syncing the factory tree or the final openSuSE release to the internet install repository.

 extract_inst32.sh
#!/bin/bash

# $0 CD1/suseboot/inst32 CD1/suseboot/linux32 CD1/suseboot/initrd32.gz

input_zimage_initrd=$1
output_vmlinux=$2
output_initrd_gz=$3

rm -fv "$output_vmlinux" "$output_vmlinux".gz
objcopy \
        -O binary \
        -j .kernel:vmlinux.strip \
        "$input_zimage_initrd" \
        "$output_vmlinux".gz
gunzip -fv "$output_vmlinux".gz
rm -fv "$output_initrd_gz"
objcopy \
        -O binary \
        -j .kernel:initrd \
        "$input_zimage_initrd" \
        "$output_initrd_gz"
Comment 5 Forgotten User v5inq2MBSE 2007-11-01 12:06:51 UTC
Thank you Olaf, the script works fine. It's no problem to install openSUSE with the extracted files and BootX.
I'm sorry I was not able to report the bug earlier, but my PowerBook was defect, three years. I've managed to repair it on the weekend after 10.3 was released (yes, it was no high priority).
Comment 6 Ruediger Oertel 2007-11-12 13:01:42 UTC
shouldn't this be done in the installation-images specfile ?
Comment 7 Steffen Winterfeldt 2007-11-12 14:02:41 UTC
From the report it sounds as if it used to be done there and was removed
lately. Olaf?
Comment 8 Olaf Hering 2007-11-12 14:44:25 UTC
if it comes from installation-images, the 4 files will end up on the DVD.
This should be avoided.
Thats why I'm asking for a factory/release only solution.
Comment 9 Steffen Winterfeldt 2007-11-12 15:20:37 UTC
Then you could place the files in the FTP directory in installation-images;
that's how we deal with bootdisk images on i386.

Or you might want to just provide that script above and let the user
create the files.
Comment 10 Olaf Hering 2007-11-13 11:57:55 UTC
I have adjusted the script for factory.
Comment 11 Ruediger Oertel 2008-11-05 15:42:19 UTC
fixed in installation-images on dec3/2007 by snwint