April 2, 2009, 9:31 pm
There are two major usage models for moblin-chroot, one-shot image post processing and multiple times changes.
For one-shot time image processing, type like following:
 
 
The above command creates a chroot from the input LiveCD image with a few bind mounts like /proc /sys /dev/pts and /parentroot. With those bind mounts, it is possible to exchange files in the chroot environment with a host using the /parentroot mount and run yum install/remove and any other network related operations. After modification of the environment is done, type “exit” to trigger creation of a new live ISO image from the chroot environment with the changes
It is also possible to keep the development environment described above to make additional changes. This is done using the following command:
 
 
This creates a folder named after chroot-fs in the current directory for the chroot environment from the LiveCD image. Whenever you would like make changes in that chroot environment, just jump into it with:
 
 
When you’re ready to create an image from the chroot environment, execute the following command to create a LiveCD image: