Customize Rescue CD

Patricio A. Bruna pbruna at it-linux.cl
Mon Dec 18 20:43:03 UTC 2006


John, 
Thx for the reply, do you have any web link where i can find more info about build this thing? 
im a little short of "Build a booteable cd" 


----- Mensaje Original ----- 
De: John Reiser <jreiser at BitWagon.com> 
Para: Development discussions related to Fedora Core <fedora-devel-list at redhat.com> 
Enviados: lunes 18 de diciembre de 2006 14H47 GMT-0400 America/Santiago 
Asunto: Re: Customize Rescue CD 

> how can i customize de rescue enviroment of Fedora, i need to add a couple of software to it. 

Find the recipe for building the rescue disk, and change it. :-) 

Or, reverse engineer it: 
# mount -o ro,loop FC-6-i386-rescuecd.iso /mnt/tmp1 
$ cd /mnt/tmp1; ls 
images isolinux TRANS.TBL 
$ (cd images; ls; file state2.img) 
stage2.img TRANS.TBL 
stage2.img: Squashfs filesystem ... 
$ (cd isolinux; ls; file initrd.img) 
... initrd.img ... 
initrd.img: gzip compressed ... 
$ gzip -d -c isolinux/initrd.img >/tmp/initrd 
$ file /tmp/initrd 
/tmp/initrd: ASCII cpio archive 
$ cpio --list --verbose </tmp/initrd 
... init .profile ... 

So in addition to the normal isolinux stuff for a bootable .iso, 
there is a squashfs filesystem stage2.img and an initial ramdisk 
filesystem that contains an init and a .profile. Find the squashfs 
tools, put your programs into a new stage2.img, create another .iso. 

> PS: Anyone knows how can i build a live cd with more that one distro? 

Have more than one stage2.img file; choose and mount the one you want. 

-- 

-- 
fedora-devel-list mailing list 
fedora-devel-list at redhat.com 
https://www.redhat.com/mailman/listinfo/fedora-devel-list 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20061218/9a45e0e2/attachment.htm>


More information about the fedora-devel-list mailing list