[Xorp-hackers] create Xorp LiveCD

Pavlin Radoslavov pavlin@icir.org
Wed, 04 May 2005 10:59:11 -0700


> Hi all,
> I want to modify the LiveCD in order to change the keymap from qwerty to 
> azerty. I have copied the iso image from the Xorp LiveCD on my hard disk 
> and modified  the rc.conf to change the default keymap. After that I 
> have created the new iso image with mkisofs
> (mkisofs -b boot/boot0 -o /tmp/new_iso.iso /new_iso/master/)
> 
> But I am unable to boot with this new iso image ?
> 
> Could anybody say me how to create a bootable iso image of xorp liveCD

Vincent,

You can get the scripts we use for the LiveCD generation from the
anon. CVS. E.g., if you use csh/tcsh:

setenv CVSROOT :pserver:xorpcvs@cvs.xorp.org:/cvs
cvs login
[press <ENTER> for an empty password]
cvs checkout other/LiveCD

The scripts are in the other/LiveCD directory.
There is a README there to tell you how to use it.

Note that the scripts are for FreeBSD-4.9 or higher, but they may
not work for FreeBSD-5.x.
Also, note that currently we have kernel config patches only for 4.9
and 4.10.
If you are using a different 4.x distribution, then you have to
create a kernel config patch similar to
files/patch_generic_freebsd4.9 or files/patch_generic_freebsd4.10.
To do so, copy GENERIC to LIVECD, edit LIVECD similar to one of the
above two patches, and then generate the patch by
"diff -u GENERIC LIVECD".
Finally, you have to edit livecd.sh to add an entry for your OS
distribution: search for, say, 4.10-RELEASE and add a similar entry
with your new kernel patch.

Note that the LiveCD build process has a number of steps and you can
stop at any moment and continue later. Try to play a bit with the
system to get the feeling how it works and then decide where/when
to apply the rc.conf modifications.

Regards,
Pavlin