Re: Customize Rescue CD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
Para: Development discussions related to Fedora Core <fedora-devel-list@xxxxxxxxxx>
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux