Giter Club home page Giter Club logo

jlivecd's Issues

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?

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?

ubuntustudio

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

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

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.

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?

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

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

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?

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'!

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

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

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

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.

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?

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!

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

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

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.

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?

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

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 ??

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

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

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!

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.

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"

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

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.