Help - Zoeken - Gebruikers - Kalender
Volledige versie: Remaster MCNLive Cherbourg
MandrivaClub.NL > MCNLive > MCNLive: International
kris
Remastering MCNLive Cherbourg on-the-fly

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. Update: It was reported that you can also use a partition with a NTFS (after remounting it read-write) filesystem for the build process.

Steps

* 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.

* Change your running Live system, add software, uninstall programs, change settings.
When you are done close all running applications except a terminal.

* Open a terminal, get root in the terminal by typing: su
Enter the root password: root

* 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
_________________________

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)
PeterM
Heb er een wiki artikel van gemaakt. icon_idea.gif
PeterM
En nog even vertaald naar het Nederlands
http://www.mandrivaclub.nl/wiki/index.php/...g_on-the-fly_nl
kris
Update

Turned out (?) that you can also use a partition with a FAT or NTFS (after remounting it read-write) filesystem for the build process.

Update of the update:

No, you definetely can't use a FAT partition for the build process, I've just tested. icon_cheesygrin.gif
david
Hello ,

I don't know if this can help someone but I create a little php script based on mklivecd help.

Enter your options and script give the commanline .. copy/paste in a terminal.

check out : mklivecd help


David
Dit is een "Print" versie van onze forums. Om de volledige versie met meer informatie, afbeeldingen en opmaakte bekijken, a.u.b. klik hier.