Remaster MCNLive Cherbourg on-the-fly
Van MandrivaClub.NL Wiki
You can remaster the LiveCD or the LiveUSB on-the-fly, while running in live mode without installing to HD first.
Requirements
- Enough RAM. How much depends on the new .iso file you wish to create. For a 400 MB LiveCD 512 MB RAM should be enough. A Linux swap partition (automatically detected and activated when you run MCNLive) would help here too.
- A hard disk with enough free space to build your new live system. The partition needs a Linux filesystem.
Steps
1. Start the LiveCD or LiveUSB. Open a terminal window. Find out which partition on the harddisk you want to use for the build process by typing:
mount
Remember where it is mounted, for example:
/mnt/hda5
Find out how much space is left on the partition by typing:
df
It is useful if your chosen partition has a /tmp directory. Just create it if it is missing.
2. Change your running Live system, add software, uninstall programs, change settings. When you are done close all running applications except a terminal.
3. Open a terminal, get root in the terminal by typing:
su
Enter the root password:
root
4. Assuming that you have chosen the partition hda5 which is mounted at /mnt/hda5 and a /mnt/hda5/tmp directory is available, you would start the remaster-on-the-fly with the following command:
mklivecd --verbose --root=/union --tmp=/mnt/hda5/tmp /mnt/hda5/live.iso
This will build a file live.iso on /mnt/hda5, without any initial bootsplash, the build process will be done at /mnt/hda5/tmp. You can watch the build process in the terminal window. The build time will be between 7 - 30 minutes depending how much you added, how much RAM you got and and ...
Another example with the default graphic isolinux bootsplash from MCNLive (the files are in /home/guest/):
mklivecd --verbose --root=/union --tmp=/mnt/hda5/tmp --bootmsg myboot.msg --bootkey F1=help2.msg --bootkey F2=myboot.msg /mnt/hda5/live.iso
[bewerk] Remaster MCNLive Cherbourg after installation on a hard disk
It is also possible to install MCNLive first on your harddisk, with the graphical Wizard 'draklive-install'. Remastering is possible with 256 MB RAM and a swap partition. Boot the system, make your changes, get root in a terminal and run:
mklivecd --verbose live.iso
(without boot splash)
or:
mklivecd --verbose --bootmsg myboot.msg --bootkey F1=help2.msg --bootkey F2=myboot.msg live.iso
(with graphical bootsplash)

