Re: [suse-autoinstall] Adding the file "info" to an bootable CD/DVD
Hi Lee, thanks to you and the others as well. I had to do only cometic changes to your example: ----> gzip -dc /work-iso/initrd >/tmp/initrd.img <------ mkdir /work-initrd; cd /work-initrd # make a place to extract it cpio -i < /tmp/initrd.img # Extract it from cpio archive cp YOUR_INFO_FILE info # Put your info file in there ----> find . | cpio -H newc -o > /tmp/initrd.img <----- ----> gzip -c /tmp/initrd.img >/work-iso/initrd <----- So thanks a lot Hajo
Lee Mayes <autoinst@mayeses.com> 08/23/05 2:12 pm >>> Hi Hajo,
initrd is on the CD, but it's in its compressed form. Starting with 9.3 for suse (I think it's linux 2.6.10 and greater but don't hold me to that, Fedora Core 4 is the same way :) initrd.img is now a cpio image, not a filesystem, so you don't have to loopmount it to make changes. # I assume the original ISO is exploded under /work-iso gzip -dc /work-iso/initrd.img >/tmp/initrd.img # Uncompress it mkdir /work-initrd; cd /work-initrd # make a place to extract it cpio -i </tmp/initrd.img # Extract it from cpio archive cp /YOUR_INFO_FILE info # Put your info file in there find . | cpio -H newc -o /tmp/initrd.img # make new initrd.img gzip -c /tmp/initrd.img >/work-iso/initrd.img # Put in iso dir run mkisofs against /work-iso to create a new ISO image with your info file in it. Since I've got initrd open anyway, I also poke my autoyast.xml file in there and add: AutoYaST: file:///autoyast.xml to the info file so the bootimage is 100% self contained. Hope that helps! Lee On Tue, 2005-08-23 at 13:48 +0200, Hans-Joachim Ehlers wrote:
Hi folks, Give 9.3 Suse Pro Booting from CD Installation from Network
I would like to put the file "info" with is used by linuxrc on the installation cd because using an additional floppy causes to much trouble.
But i am a little bit lost about howto do that.
Do i have to change the isolinux.cfg ? Documentation tells me that the info file should be in initrd but i can not find that directory. ?
Any tips ? tia Hajo
============================ Hans-Joachim Ehlers UNIX Systems Engineer EUMETSAT Am Kavalleriesand, 31 64295, Darmstadt, Germany Tel : +49 6151 807-7307 eMail : hansjoachim.ehlers@eumetsat.int iNet : www.eumetsat.de
-- Lee Mayes <autoinst@mayeses.com>
participants (1)
-
Hans-Joachim Ehlers