mylivecd --nodir /home/hal-crunch,/home/hal-mepis,/home/hal-another distro,/home/isos --ufs unionfx --root / --tmp /home/hal-pclos/Desktop/temp/ --bootloader grub --bootmenu menu.lst --workdir /home/hal-pclos/isos --img /home/isos/pclos2012_jhw.iso
- You don't need to specify --ufs unionfs
, it is the default.
- The --nodir
option argument is better specified using "^
- The --root
option default is '/', you can omit this option
- The --tmp
option will allow you to specify an alternate storage for temp files (temp files will require approx the same size of the final iso), useful when you don't have enough free space on the default /tmp.
- The --workdir
is an alternate option to --tmp
, it specify an alternate location and additionally the temp files will not be deleted automatically, useful when you want to use the temp files directly (as allowed from LiveUSB-Creator to mention one).
- The --img
require as argument "a compressed image" to be used to build the final ISO image ..., to specify the desired ISO image name you simply need to add it as last argument on the command line: i.e. mylivecd --nodir ^/home image-file.iso
A final suggestion: start using a mylivecd command as simple as possible, (unmount the filesystem you don't want to be included), later add the option one at once, so that you can verify you are using it correctly.
Do not forget that actually the maximum allowed size for the final ISO is 4 GiB (approx 4300 MB).
You may find useful the use of --gzip
compression option, because it is much faster than the default compression, good for testing
Of course I didn't write 'another distro'.
Anyway, here are questions that I have:
1. --workdir says, "Specify a working directory which will not be cleaned." What exactly does this mean? I didn't want the isos folder to be cleaned since that is where the remaster iso will go. Is the way I have it what I need?
Hope to have clarified a bit.
2. How do I make sure that I have grub and a menu.lst? (is what I have listed going to do the job)
Really I never used such options, actually I'm unsure about their real meaning, however when your ISO will be ready, you can mount it and access it's content.
mount image.iso /<somewhere>
3. How do I make the installation persistent if I want to install the iso on a dvd?
You mean burning a DVD ? simply use some burning application, like K3b, and choose "burn ISO Image"