JLIVECD
Live CD/DVD customization tool
Customized ISOs for personal use are fine. If you want to share your customization with others, whether for free or for purchase, you'll have to rename it; remove all distro specific artwork, branding, and other identity elements; and you can't confuse your intended users about the customization being associated in any way with the base distro. You're free to use the softwares without renaming those, as they are licensed under GPL. But otherwise, it will be your own creation and no longer you base distros'. The name and identity elements of a distro are trademarked and copyrighted. Unless you have approval from appropriate authorization you can't use those (identity elements and name).
Install requirements:
sudo apt-get install squashfs-tools genisoimage
Optionally you can keep xterm
installed. It will act as a backup terminal if the default terminal fails to run.
sudo apt-get install xterm
chmod +x ./install.sh
./install.sh # or you can just drag & drop in terminal
Run JLstart
in a terminal:
~$ JLstart
Is this a new project: (y/n)?n
[sudo] password for user:
...............................
or run it from the menu:
Hints are given on the go, follow them to successfully create a customized live cd/dvd.
Don't use quotation in file/folder path
~/"some folder" or "~/some folder" is invalid
~/some folder is valid
yes/no
type questions are changed according to previous choices for some questions (retain home directory? etc..). For example, if you choose y
for the question retain home directory (y/n)?
; next time if you just hit Enter, it will take y
instead of n
. This is project specific i.e each project remembers its own options.
JLopt -rn
in another terminal in your main system. This may happen if you start JLIVECD before connecting your pc to the internet
JLopt -t timeout_value
timeout_value should be replaced with your desired time in seconds. Ex: for 12 seconds timeout:
JLopt -t 12
mate-terminal
properly. For mate DE, install xterm
instead:
sudo apt-get install xterm
JLopt -t1 actual-terminal-command
To change the secondary default:
JLopt -t2 actual-terminal-command
For Example, adding gnome-terminal as the primary default:
JLopt -t1 gnome-terminal
I call it debcache management!
You can use short cut in names for path to base iso i.e xubuntu for xubuntu-14.04.1-x64.iso if there is no other file named xubuntu in the same folder. You can even use only x if there is no other file starting with x in the same folder.
Example:
enter base iso path: ~/Downloads/xAs there is only one file that matches x is xubuntu-14.04.1-x64.iso it will take that file as input automatically.
xterm
is added as a secondary terminal besides the default x-terminal-emulator
.
JLopt -v
)JLopt -h
)JLopt
contains several useful functionality.In Linux Mint 17 XFCE there's a bug. To fix this edit /usr/sbin/invoke-rc.d file (in chroot) as: replace exit 100 with exit 0 at line 285 and 421, then apply upgrade. after upgrading revert this modification (must).
In Linux Mint 17 xfce, if you install nautilus then it will set gnome-session as default session and if gnome desktop is not installed then no desktop window will show up in live session. change the link /usr/bin/x-session-manager to point to /usr/bin/xfce4-session
In xubuntu 14.04.1 there's another bug: Can't open /scripts/casper-functions error) to fix this, run this code in chroot:
ln -s /usr/share/initramfs-tools/scripts /scripts
Follow the following link for bug report:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142In Ubuntu 14.04 Gnome LTS you might encounter two more bugs:
One should be solved by editing:
/var/lib/dpkg/info/whoopsie.prerm
/var/lib/dpkg/info/libpam-systemd\:amd64.prerm
/var/lib/dpkg/info/libpam-systemd\:amd64.postinst
(change exit $?
to exit 0
in the invoke-rc.d lines)
Other one should be solved by editing:
/etc/kernel/postrm.d/zz-update-grub
/etc/kernel/postinst.d/zz-update-grub
find the following and comment out the if
an fi
line:
if [ -e /boot/grub/grub.cfg ]; then
#exec update-grub
fi
Revert these changes before exiting the chroot.
Follow the following link for bug report:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142exex
from
sh -c 'ubiquity gtk_ui'
to
sh -c 'sudo ubiquity gtk_ui'
If you are a developer, you can consider contributing to this project by forking this repository and making changes for better and do a pull request, or sharing ideas and suggestions or finding bugs, anything at all, what you think will be beneficial for this project.
If you aren't a developer, but still want to contribute, then you can support the contributing developers spiritually, by starring the repository and sharing ideas. If you want to be notified of the continuous development, you can add this in your watch list in Github.
If you see any problems or bugs please open an issue here
Md. Jahidul Hamid
© 2015, Neurobin, All rights reserved.
Related Social Pages: