Giter Club home page Giter Club logo

jlivecd's Introduction

Disclaimer

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

Description:

This is a simple command line tool to customize live cd/dvd of Debian, Archlinux, Ubuntu family, Linux Mint and some of their derivatives. It does not require that the host system and the target system be the same, i.e you can modify debian live cd sitting on ubuntu or archlinux, or modify archlinux live cd sitting on ubuntu and so on.

It gives you a chroot environment for modification and creates the modified iso image. You need to do all the customizations on your own, JLIVECD itself does not do any modifications.

It is developed with the help of the documentation found on:

  1. https://help.ubuntu.com/community/LiveCDCustomization
  2. https://wiki.debian.org/DebianInstaller/Modify/CD
  3. https://wiki.archlinux.org/index.php/Remastering_the_Install_ISO

This tool is intended primarily for personal use.

Please read through the Additional info section before you start with a Ubuntu or Linux Mint ISO for the first time.

Mentionables:

Resume capability

It works as project basis. For a JLIVECD project, you need to use your base ISO only once to extract it and deploy the project. After that, you can keep changing things and building and testing ISOs built on those changes.

Project and Global configuration

It works with both global and local configuration files. Using config files, you can skip prompts that need answers from user input. Local (project wise) config is prioritized over global config.

Global configuration file: /usr/local/JLIVECD/.config

Local configuration file: config.conf file in your project directory.

Dependencies:

  1. bash (This is generally installed by default in most Linux distros)
  2. squashfs-tools
  3. genisoimage
  4. syslinux, syslinux-utils (If you want hybrid ISO image (default))
  5. rsync
  6. xterm (optional)
  7. dosfstools (archlinux)

Install requirements with the following command in debian like systems:

sudo apt-get install squashfs-tools genisoimage syslinux syslinux-utils rsync xterm

and the following command in Archlinux:

sudo pacman -S squashfs-tools cdrkit syslinux rsync xterm dosfstools

Installation:

run the install.sh file in terminal:

chmod +x ./install.sh
sudo ./install.sh

How to use:

Run JLstart as root in a terminal or run it from menu->Development->JLIVECD.

JLIVECD menu image

Example:

~$ sudo JLstart
[sudo] password for user: 

**************** JLIVECD******************
*Tips:
*   1. Paths must be absolute. (~ allowed)
*   2. Inputs are literal
*   3. Do not use NTFS partition
******************************************


=== Is this a new project: (y/n)?: 

...............................

Hints are given on the go, follow them to successfully create a customized live cd/dvd.

It prompts for OSMODE (debian, ubuntu or archlinux) for new projects and saves it in project specific .config file so that next time it doesn't require you to specify the OS again. Make sure you don't change it in the .config file.

If you want to run JLIVECD in specific OSMODE, there's three option for you:

Option Alt. option Detail
-ub --ubuntu Ubuntu mode (for Ubuntu family & Linux Mint)
-db --debian Debian mode (Debian family)
-al --archlinux Archlinux mode (Archlinux family)

Note If you run JLIVECD in a specific OSMODE and it doesn't match with what's in .config file, it will throw error and exit.

Examples of running JLIVECD in specific OSMODE:

sudo JLstart -ub #ubuntu
sudo JLstart -db #debian
sudo JLstart -al #archlinux

Directories & Files:

In your project directory, you will find some default files/directories. Don't change their names.

The directories are:

  • debcache: .deb or pkg files are kept here. See the cache management section for more details.
  • edit: This is the root filesystem (i.e /) for the live system (chroot system). Any change you make here will appear in the finalized ISO.
  • extracted: This is where the original ISO is extracted. You can change several things here, like Diskname, release, date, splash screen, etc.
  • mnt: A directory used only for mounting ISO image.
  • mydir: A directory with 777 permission. This directory is moved inside edit/ during chroot, thus in chroot it will be available as /mydir. Use this directory to store/install packages and files that you need to store for future but do not want to include them in the ISO.

The files are:

  • .config: configuration of the corresponding project i.e DISKNAME and some other defaults (for internal use)
  • config.conf: Configuration managed by user. This is essentially a bash script and thus you can make intelligent use of it and set dynamic options. Any non-empty value set to a variable (option) will bypass its input prompt.

Things to care:

  1. Paths must be absolute. JLIVECD does not run in the current directory. ~ is respected.
  2. Quotation in prompts are taken as literal. ~/"some folder" and "~/some folder" are different. If you want spaces then give it as it is: ~/some folder.
  3. Do not use NTFS partition.
  4. The default is n for all y/n type prompts unless specified otherwise.

Some Tips & Tricks:

  1. If you are not being able to get connected to internet in chroot, you can try running the code: sudo JLopt -rn in another terminal in your main system. This may happen if you start JLIVECD before connecting your pc to the internet.
  2. If you want to change the timeout value then run this code in a terminal in your main system: JLopt -t timeout_value. "timeout_value" should be replaced with your desired time in seconds. Ex: for 12 seconds timeout: JLopt -t 12
  3. JLIVECD seems to have problem running the mate-terminal properly. For mate DE, install xterm instead ( sudo apt-get install xterm).
  4. You can change the default terminal JLIVECD uses for chroot. To change the primary default terminal run this code in a terminal in your main system: JLopt -t1 actual-terminal-command. To change the secondary default terminal: JLopt -t2 actual-terminal-command. For Ex. JLopt -t1 gnome-terminal
  5. You don't need to give the full name/path to the base iso prompt: enter base iso path: ~/Downloads/x. As there is only one file that matches 'x in my Downloads folder is xubuntu-14.04.1-x64.iso, it will take that file as the input.
  6. You can use full path with or without .iso.

Archlinux specific tips

  • Do not manually clean pacman cache (pacman -Scc). JLIVECD cleans pacman cache after backing up the pkg files to reduce future downloads. If you do clean manually, the pkg cache will not be available anymore and you will have to redownload the same packages again when installing/reinstalling next time around.

Cache management

  1. Put your .deb files in edit/var/cache/apt/archives folder (or pkg files in edit/var/cache/pacman/pkg/) so that they don't get downloaded again in the software installation process.
  2. They will be moved automatically to a folder named debcache (located in the same directory as "edit") prior to image creation so that they won't be included in the iso image.
  3. You never need to delete .deb or pkg files from edit/var/cache/apt/archives manually and you shouldn't (not even with package manager cache clean program unless you want it that way for disk space constraint).
  4. Alternatively, you can put the .deb or pkg files in debcache folder too, but in that case you need to run JLIVECD after you have finished copying files to this folder.

New features:

  • Support for Archlinux live ISO.

Customization help:

Customization related documents can be found on JLIVECD github wiki.

Creating bootable USB

By default JLIVECD creates hybrid image. You can either use tools like unetbootin or something like dd to create the bootable USB. If you want to use dd, be careful about mistyping and what you are doing. For example, you could end up wiping your hard disk if you mistype /dev/sdb as /dev/sda. For this, I have another script (chibu) that checks the validity of the usb device and makes sure it's a USB device not something else like a partition on your hard drive. After cheking validity it runs a dd command to create the bootable USB.

Note: chibu or dd will destory existing data on the USB

With chibu, it's like this:

sudo chibu iso_path /dev/sdx

where /dev/sdx (not /dev/sdx1 etc..) is your usb device, (x is a letter)

You can find the device id with:

sudo fdisk -l

look for the usb device in the output of the above command.

Notes:

  • USB created with unetbootin may not have its boot flag set. Check with gparted and set the boot flag if not set.
  • USB created with unetbootin may fail to boot with its first default boot option, choose failsafe option.
  • If unetbootin doesn't work, try dd (preferably chibu)
  • unetbootin won't work for archlinux, use dd (preferably chibu)

Tested OS:

  • Debian (xfce) testing (stretch) @ Thu Mar 23 13:31:53 UTC 2017
  • Debian (xfce) 8.7.1 Jessie
  • Archlinux 2017.05.01 x86_64
  • Xubuntu 16.04 LTS
  • Linux Mint 17 cinnamon
  • Linux Mint 17 XFCE
  • Xubuntu 14.04.1 LTS
  • Ubuntu 14.04.1 LTS
  • Ubuntu 14.04.3 LTS
  • Kubuntu 14.04.1 LTS

Additonal info:

1.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).

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

3.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/1325142

4.In 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 and 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 for more details:

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142

5.You may encounter another bug: Ubiquity installer, hang/freeze on harddisk detection. This bug can be solved by editing the file edit/usr/share/applications/ubiquity-gtkui.desktop and changing the section exex from

sh -c 'ubiquity gtk_ui'

to

sh -c 'sudo ubiquity gtk_ui'
```y

jlivecd's People

Contributors

neurobin avatar yehan2002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jlivecd's Issues

Hi neurobin,

Hi neurobin,
I'm trying to create a Ubuntu Xenial custom live Linux,
but using this Ubuntu version and your last JLIVECD seem impossible to create a bootable live linux distro.
For the truth I've try only with usb pen (iso to usb with many different transfer tools).
Do you now issue about this?

many thanks

davide

Ubiquity hang during harddisk detection

Hi neurobin,
I've found that on a live system based to Ubuntu-Gnome 14.04 upgraded to the last packages and Gnome 3.12.2, Ubiquity freeze/hang during harddisk detection.

For bypass the problem, is relatively simple:

must substitute

sh -c 'ubiquity gtk_ui'

with

sh -c 'sudo ubiquity gtk_ui'

on /usr/share/applications/ubiquity-gtkui.desktop

Does it work with Manjaro XFCE?

Hello, after years using JLiveCD to make custom Xubuntu ISO's, I tried using it today to create a custom Manjaro ISO.
It said "Could not open mnt/arch/x86_64/airootfs.sfs", I renamed it from "rootfs.sfs" to "airoot" and then it was able to initialize the chroot but with a bunch of errors. Xterm popped up but I suspect it was browsing from my "host" machine, there were packages already installed that do not come by default for example, no home directory, no "mydir" directory.
Is the Manjaro filesystem different compared to "standard Arch"? (I've never used it)
PICTURES: imgur.com/a/yVuWZHL

Installing and booting new kernel in ubuntu live cd

Don't do it unless you know what you are doing.

Not every kernel in ubuntu mainline supports live system

Therefore, choose a kernel which is supposed to support a live system e.g the kernels that comes with ubuntu releases.

If you are experienced enough you can download the source and compile the kernel yourself with live system support enabled. For that, copy a config file from a kernel which already supports live system and use it to compile this new kernel.

All been said and done, installing and inserting new kernel in live cd is easy. Just install them like you install any other package.

I generally use synaptic.

You can run synaptic by simply running synaptic on chroot terminal if it is installed, otherwise install it by apt-get install synaptic

Synaptic is officially supported by JLIVECD, while other software managers are not. The cleaning process for synaptic is done by JLiveCD automatically, while for other package manager, you will need to do the cleaning yourself or those files will lie around there.

Then after exiting the chroot, you will see a prompt like this:

......have you installed new kernel and want to boot the new kernel in live cd/dvd: (y/n)?:

Give it y , it will ask the the kernel version, give the correct version (take a look inside edit/lib/modules/ or edit/boot) and you are done; sit back and let it build the iso.

JLiveCD updated to work with MX Linux 19.3 (AHS release)

Hey it's me again, I had trouble making JLiveCD to work with recent release of MX Linux 19.3 (based off Debian 10 Buster)
It was easy enough to modify the script file Funcs.sh so it's working now.
It still has that problem where I can't initialize GUI apps inside the chroot environment. Any ideas on how to fix that?
But anyway, I'm not a coder, I don't know how to operate Github, I will provide the modified file in this dropbox link so anyone else can fork this project or update it, I don't know how it works.
There are two versions updated by me: one version updated to work with Xubuntu 20.20 (should work with any Ubuntu variant) and this one here updated to work with MX Linux (should work with any Debian-based distros? please provide test reports kind people...)
JLiveCD is one of the BEST and more straight-forward solutions to build remasters or custom ISO I ever seen, I would love to see this project being kept alive.
Link below:
https://www.dropbox.com/sh/s61370wofadlny5/AAA6s0rjAz1QW9N1fJihYhBia?dl=0

deletion of home directory

Hi neurobin,

running (on Ubuntu 14.04) by JLstart "clean" script, result the deletion of the live home directory created on chroot environment, with or without "n" answer. And no echo "........edit/home cleaned!......" appears with or witout y/n

echo -e "\n...............Time is value.............\n......you have $timeout seconds each to answere the following questions.....\n......if not answered, I will take 'n' as default (be ready)...\n"
read -t $timeout -p "Want to retain edit/home directory? (y/n)?: " home
if [ "$home" != "y" ] && [ "$home" != "Y" ]; then
rm -rf edit/home/*
echo "........edit/home cleaned!......"
fi

davide

Could not open mnt/casper/filesystem.squashfs, because No such file or directory

just clone the repo and run it , then get an error message

Could not open mnt/casper/filesystem.squashfs, because No such file or directory
chchang@hqdc039:~/git/JLIVECD$ sudo JLstart 

**************** JLIVECD ******************
*Tips:
*   1. Paths must be absolute. (~ allowed)
*   2. Inputs are literal
*   3. Do not use NTFS partition
*******************************************


=== Is this a new project: (y/n)?: y

=== Where do you want to save your project ? Choose a directory where you have full permission. Enter path: /tmp/jlive
=== Enter the path to your base iso image: /home/chchang/Downloads/ubuntu-20.04.1-legacy-server-amd64.iso

*** Found iso: /home/chchang/Downloads/ubuntu-20.04.1-legacy-server-amd64.iso

***********************************************
*** Default value for (Y/n) prompts is 'n'  ***
*** unless specified otherwise.             ***
*** If you just hit enter without giving    ***
*** anything to a prompt, it will take the  ***
*** default (previous) value.               ***
***********************************************

***************** MODE SELECT *****************
* For Ubuntu family & Linux Mint: ubuntu mode *
* For Debian:                     debian mode *
* For archlinux:               archlinux mode *
***********************************************
1) Ubuntu
2) Debian
3) ArchLinux
Please select a mode (#?): 1
mount: /tmp/jlive/mnt: WARNING: device write-protected, mounted read-only.
Could not open mnt/casper/filesystem.squashfs, because No such file or directory

E: unsquashfs failed

*** END ***

any suggestions ??

Space in path prevents working with this path

I had a path where a directory name contained spaces. JLIVECD never got beyond asking for the path to the base iso image and replied: W: couldn't find the iso.

After removing the spaces JLIVECD cold continue.

First guess: The path string is not properly quoted.

[question] Can I setup default user password?

I hope setup default user(mint) password.
In chrooted terminal

# adduser mint

Setup password during this process.
And exit chrooted terminal, then rebuild squashfs -> create iso.
Launch created iso, unfortunately, I can't log in Desktop.
Maybe, this behavior reason is JLIVECD does remove /home/mint directory.
I hope just boot up a custom live system, simply ssh by another machine with password authentication.

The Step Of MKSquashFS Is Very Slow

I Waiting 22 Hours To Done But Is Stuck And I Cancelled And I Waiting For Nothing :(

You Can Change The Step For The Duration For 5-15 Minutes And NOT 1 Day?

After Updating My System, JLiveCD doesn't create UEFI enabled ISO

Up until recently when I updated my system, with JLiveCD, I was able to create ISO images with UEFI. No problems.

Now, when I enable the UEFI option towards the end of the configuration, JLiveCD completely fails making an ISO. I get the following towards the end:
*** Using exhaustive compression. Size may become lesser Parallel mksquashfs: Using 4 processors Creating 4.0 filesystem on extracted/live/filesystem.squashfs, block size 131072. [=========================================================|] 259158/259158 100%
...

*** Updating md5sums

*** Creating the image
genisoimage: option '-e' is ambiguous; possibilities: '--eltorito-boot' '--exchange' '--ethershare' '--exclude-list' '--exclude' '--eltorito-catalog' '--eltorito-alt-boot'
Usage: genisoimage [options] -o file directory ...

Use genisoimage -help
to get a list of valid options.

Report problems to [email protected].
isohybrid: could not open file '../myLiveCD.iso': No such file or directory

W: Could not convert to hybrid image

*** Finalizing image
chmod: cannot access '../myLiveCD.iso': No such file or directory

*** .All done. Check the result.
Press enter to exit

Upon searching through the directory, the squashfs DOES exist in /extracted/live/filesystem.squashfs, and I'm able to manually make an ISO using tools such as genisoimg, it just will not have the EFI support.

Also, if I select 'n' for UEFI support, thereby disabling UEFI support, it succeeds in creating a normal vanilla ISO with JLiveCD that will boot in Legacy mode.

Note 1: I am doing this on an external USB Stick formatted with an EXT3 file system, with complete permissions to the folder, and folders two levels above it. Everything works besides this part, and I wouldn't know why that is relevant, but I might as well make mention of that in case it is.

Note 2: If I try to make a JLIVECD ISO and it fails because of the UEFI, there still is an EFI.img located in extracted/boot/grub/efi.img. When I manually try to make the ISO with other tools, It seems to not do anything upon boot, however, and only Legacy boot works.

Note 3: It's Debian
Big fan of this project, by the way. Complete verbose attached in log file.
bash_log.txt

Bootable ISO

Hi, your script is the best!
I just have a problem with the ISO it builds, it just gets bootable on usb stick if I use the default *buntu "startup disk creator" or in windows using "rufus". Any other program (DD, unetbootin, MintStck) will not work... the usb stick won't boot.
I tried to compare the code of UCK (ubuntu customization kit), which makes the ISOs bootable, but could not find any difference...
Any help on this?
Thanks for this great software!

jlivecd ubuntu 20.10

i always use jlivecd to configure iso's. But on ubuntu 20.10 i get this error:
genisoimage: Uh oh, I cant find the boot catalog directory 'isolinux'!

Problem with the Desktop file

This is a small matter, the script works like a charm from the command line. But the desktop entry file appears to be invalid. When I click the menu launcher this is what comes up:

An error window that says: Invalid desktop entry file: '/home/duke/.local/share/applications/JLIVECD.desktop'

The only other problem which was easily corrected is that the script seems to have a problem with the terminal emulator call Terminator when opening the chroot terminal. I set the system so that it would open xterm instead.

I am using Lubuntu 17.04 amd64 and other than what I stated above it works like a charm. Have successfully used it to remaster the Lubuntu iso.

W: couldn't dtermine initrd name in: extracted/casper

I got warning W: couldn't dtermine initrd name in: extracted/casper after

=== Rebuild initramfs (Y/n)? (default 'n'): y

**************** JLIVECD ******************
*Tips:

    1. Paths must be absolute. (~ allowed)
    1. Inputs are literal
    1. Do not use NTFS partition

Name : JLIVECD
Description : Live CD/DVD customization tool
Version : 2.4.5
Author : Md. Jahidul Hamid [email protected]
Source : https://github.com/neurobin/JLIVECD
Bug report : https://github.com/neurobin/JLIVECD/issues

======
xubuntu-16.04.6-desktop-amd64.iso

Changing the boot/startup theme of ubuntu live cd

Customize the plymouth theme in /usr/share/plymouth (xubuntu 16.04) or /lib/plymouth (xubuntu 14.04).

And, to apply this changes, when JLiveCD asks for

......have you modified init script or kernel module? (y/n)?:

give it 'y' so that it rebuilds the initrd

Error with Ubuntu-Mate 15.10

Chroot fail and xterm error (which is installed)
Terminal output:

......Found: initrd.lz

......Preparing network connection for chroot.....

......Network connection will be available in chroot.....

......Debcache Management starting....
......moving deb files to edit/var/cache/apt/archives......

......Preparing the chroot terminal......
access control disabled, clients can connect from any host
------Preparing chroot failed-----

......Preparation complete! Running chroot terminal...
......When you are finished, run: exit or simply close the chroot terminal.....

...... run 'cat help' or './help' to get help in chroot terminal......

......Failed to run x-terminal-emulator. Check if x-terminal-emulator link exists and not broken
Want to continue without chroot (Y/n)?:
......Running x-terminal-emulator failed. Exiting...

ubuntustudio

I want to remaster ubuntustudio, but the size is more than 4GB, so the built failed.
Is there a workaround?

Custom live Ubuntu 14.04-Gnome don't boot

Hi neurobin,

today I've realized that the live based on Ubuntu 14.04-Gnome don't boot using JLivecd. Using UCK I've not found this problem (but anothers).
The live hang trying to start cups services (cupsd and cups-browsed).

For this live I've created two version: the first with only a simply user added and another with mjor updates and the second with software installation, and for both applied the changes for "BUG libpam-systemd and zz-update-grub";

for both the same behaviorr: hang trying to start cups services (cupsd and cups-browsed).

you 've already something similar ?

many thanks

Xubuntu 20.10

I'm having issues on Xubuntu (Xfce)... Seems like I can't run apps like xfce4-panel or xfce4-settings-manager inside of the Chroot environment, I suspect that Systemd is mixing up the Host and the Chroot environments together. Error message is "Failed to connect to D-BUS session", "There is already a running instance".
I can run Thunar inside of the Chroot, but it doesn't save settings.
Ever faced issues like these?
I want to clarify that I've used this excellent tool in the past with Xubuntu 16.04 and had zero issues.
Did Systemd bring problems to how we can use Chroot? Any recent updated tutorials on Chroot that you recommend out there? I can only find outdated ones. I'm not sure if Xubuntu 16.04 already had systemd, maybe yes.
I'm also noticing issues with Xfce not being able to keep settings across reboots too. Ever seen any of this happening in your ISO's?
...
Well, the plan B would be: finish creating the ISO only with terminal commands that I can run, and then later on copy the contents of my Host Machine xfce4 and panel settings inside of /etc/skel/.config, and other graphical settings that I want. Maybe copy to /etc/xdg/ too... Would this suffice? Any input?

help command were missing

In chrooted terminal

*** Preparing chroot...
*** Chroot preparation finished

*****************************************
*** This is the chroot terminal       ***
*** Run './help' to get help for      ***
*** debian/ubuntu based distro        ***
*** and './help -al' to get archlinux ***
*** specific help.                    ***
*****************************************

root@lin:/# ./help
bash: ./help: No such file or directory
root@lin:/# ./help
bash: ./help: No such file or directory
root@lin:/# cat help
cat: help: No such file or directory
root@lin:/# cat ./help
cat: ./help: No such file or directory

./help command not found.
Is this bug?

Error whet try to make an UEFI ISO image

genisoimage: option '-e' is ambiguous; possibilities: '--eltorito-boot' '--exchange' '--ethershare' '--exclude-list' '--exclude' '--eltorito-catalog' '--eltorito-alt-boot'
Usage: genisoimage [options] -o file directory ...

this meaasage appears when try to make the iso UEFI bootable.
Any solution?

thanks

uefi supported image

This may help (copied from here):

cd ~/mylivecd/extracted
sudo mkisofs -U -A "LinuxMint_64" -V "LinuxMint_64" -volset "LinuxMint_64" -J -joliet-long -r -v -T -o "../linuxmint-17.3-cinnamon-x64-surface.iso" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot .
cd ..
sudo isohybrid --uefi linuxmint-17.3-cinnamon-x64-surface.iso

changing live session username and hostname

Live session username and hostname can be changed by editing edit/etc/casper.conf:

# This file should go in /etc/casper.conf
# Supported variables are:
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM, FLAVOUR

export USERNAME="user"
export USERFULLNAME="Live user"
export HOST="Host"
export BUILD_SYSTEM="Ubuntu"

# USERNAME and HOSTNAME as specified above won't be honoured and will be set to
# flavour string acquired at boot time, unless you set FLAVOUR to any
# non-empty string.

export FLAVOUR="Flavour"

File path issues

JLIVECD seems to have a hard interpreting paths.

It can't read "~/", I have to enter the full path.
It can't read "", I have to enter only paths that do not contains any spacing.

Script continues without waiting for chroot to finish

Hi!

I´m running JLIVECD on ubuntu-16.04.2-desktop-amd64, trying to edit debian-live-8.8.0-amd64-standard.iso
When the chroot terminal opens, the script doesn´t wait for chroot to finish, it just keeps going.
I tried to set a longer timer value with JLopt -t 600, but it still only waits 15s.

What am I doing wrong?

Customizing Linux Mint LiveCD

Hello. I want to customize Linux Mint LiveCD/USB. But I'm a novice at Linux terminal commands.
The changes I want to make is listed below (in order of "System Settings")

1- application appearance (kFaenza icon set will be installed)
2- locale (Turkish will be installed) [this is optional]
3- workspace appearance (window decoration, cursor theme, desktop theme and splash screen will be changed)
4- input devices (keyboard layout will be changed into Turkish) [this must be changed]
5- pre-installed software will be updated
6- adblock extension for mozilla firefox will be installed
7- Google chrome will be installed (with adblock extension)
8- GRUB customizer will be installed

that's all. I won't share my customized linux mint. It's just for personal use. I read your tutorial here: http://community.linuxmint.com/tutorial/view/1784
But I couldn't do it. So I tried the alternative JLIVECD@neurobin. Here is what I did:

I copy/paste this code on terminal
sudo apt-get install squashfs-tools genisoimage
then I downloaded tar.gz archive then extracted. Then run the following command

/home/kaptan/JLIVECD-release/install.sh
password for kaptan:
..... Install Complete!
..... see the readme file provided with this software for instructions to use it...

After installation. I click on JLIVECD application shortcut and get this error:

There was an error launching the application.
Detail: Failed to execute child process "xterm" (No such file or directory)

How can I do what I want, What codes do I need?

If making these changes is possible just using chroot terminal, what codes do I need?

bug? mksquashfs process buggy when specify current dir (dot only).

Enter the directory path where you have saved your project: .

I answer [.] only, then mksquashfs output here

*** Using exhaustive compression. Size may become lesser
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on extracted/casper/filesystem.squashfs, block size 131072.
[|                                                                                                     ]        296/1073976745   0%
Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access

Unrecognised xattr prefix system.posix_acl_access
[\                                                                                                     ]       6264/1073976745   0%
Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Input/output error

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Read failed because Invalid argument

Failed to read file edit/proc/1459/maps, creating empty file
Read failed because Invalid argument
[/                                                                                                     ]      14476/1073976745   0%
Failed to read file edit/proc/1459/mem, creating empty file
Read failed because Invalid argument
[/                                                                                                     ]      14476/1073976745   0%
Failed to read file edit/proc/1459/mountinfo, creating empty file
Read failed because Invalid argument
[/                                                                                                     ]      14476/1073976745   0%
Failed to read file edit/proc/1459/mounts, creating empty file
Read failed because Invalid argument
[/                                                                                                     ]      14476/1073976745   0%
Failed to read file edit/proc/1459/mountstats, creating empty file
Read failed because Invalid argument
[/                                                                                                     ]      14476/1073976745   0%
Failed to read file edit/proc/1459/net/arp, creating empty file

Is this bug?

Dynamic image name and self uninstaller

Hi neurobin,
I've tested your new release and now hybrid and UEFI works fine.
I suggest you two things, if you like:

  1. at the end of the work give automatically a name based from two mix: release name, and day-month-year-hour, with the ability to insert changes in the name
  2. including on the install script the ability to remove all previous JL installed versions directory. So because the new one is different and I've run the installer without removing manually the previous and this has generate some trouble..

for the rest, for me, JL is a very very good software (more fine of Cubic because more essential and to this doesn't miss a beat. I've try Cubic recently and it has created several problems to me, because it automates too ) ;-)

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.