Cubic hangs on creating customized disk image from ubuntu 18.04 ISO
Hello, I'm experimenting with Cubic using ubuntu 18.04 host system and trying to modify standard ubuntu 18.04 ISO.
On the last step cubic hangs when executing "Generate the customized disk image step". No error message is present.
Any clues what's wrong? Any log file to look at?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Vim
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
This should be working without issue.
Would you please run Cubic from the command line?
(Just open a terminal window, type "cubic", and press <Enter>).
(To save time, you don't have to do your full customization inside the chroot environment).
After you experience the "hang" cut and paste the log output here.
Revision history for this message
|
#2 |
Its looks to be FileNotFound error for the output file. It is true that output file doesn't exist yet, because it is the first time I tried to create it.
Here is list of my working folder if needed:
~/disk1$ ls -ao
total 22
drwxrwxrwx 5 root 4096 ก.ค. 27 14:49 .
drwxr-xr-x 18 test 4096 ก.ค. 27 14:48 ..
-rw-r--r-- 1 test 819 ก.ค. 27 14:50 cubic.conf
dr-xr-xr-x 12 root 4096 ก.ค. 25 00:02 custom-live-iso
dr-xr-xr-x 1 root 2048 เม.ย. 27 01:43 original-iso-mount
drwxr-xr-x 22 root 4096 เม.ย. 27 01:30 squashfs-root
Here is log from the console:
Performing requested transition action
Transition from...
Transition to.....
Finished running thread with id........ 139853718767360
The custom ISO image filename is....... ubuntu-
The custom ISO image filepath is....... /home/test/
The custom ISO image md5 filename is... ubuntu-
The custom ISO image md5 filepath is... /home/test/
Is existing project page, custom
section, valid?.
The custom ISO image filename is....... ubuntu-
The custom ISO image filepath is....... /home/test/
The custom ISO image md5 filename is... ubuntu-
The custom ISO image md5 filepath is... /home/test/
Is existing project page, custom
section, valid?.
The custom ISO image disk name is...... Ubuntu 18.04 LTS "Bionic Beaver" -
Is existing project page, custom
section, valid?.
The custom ISO image volume id is...... Ubuntu 18.04 LTS amd64
Is existing project page, custom
section, valid?.
The custom ISO image disk name is...... Ubuntu 18.04 LTS amd64 "Bionic
Is existing project page, custom
section, valid?.
Button clicked.
Created new thread
Current page...
New page...
Running thread with id................. 139853718767360
Interrupting previous thread with id... No previous thread to interrupt
Performing requested transition action
Transition from...
Transition to.....
The original ISO image file path is.... /home/test/
The original ISO image file path in
the configuration is.....
Save configuration.
Create vmlinuz version details list
Get vmlinuz versions from directory.... /home/test/
Get vmlinuz versions from directory.... /home/test/
Get vmlinuz version from file type..... /home/test/
Execute synchronously.
Found version.
Version name...
• Vmlinuz filename.
• Initrd filename.
• Directory.
• Note...
The default vmlinuz version is......... vmlinuz
Create list of installed packages
Execute synchronously.
Set a new process for thread id........ 139853718767360
The new process id is.....
Total number of installed packages..... 1785
Create new filesystem manifest file
Write filesystem manifest to........... /home/test/
filesystem.
Show tab for....
Read list of packages to remove from... /home/test/
Create package details list
Total number of installed packages..... 1785
Number of packages to be removed....... 230
Number of packages to be retained...... 1555
filesystem.
found in.....
Show tab for....
Read list of packages to remove from... /home/test/
Create package details list
Total number of installed packages..... 1785
Number of packages to be removed....... 164
Number of packages to be retained...... 1621
Hiding old page...
Showing new page...
The current page name is............... manage_options_page
Finished running thread with id........ 139853718767360
Button clicked.
Created new thread
Current page...
New page...
Running thread with id................. 139853434283776
Interrupting previous thread with id... No previous thread to interrupt
Performing requested transition action
Transition from...
Transition to.....
filesystem.
Get removable packages list from user selections
Get user selections from............... manage_
New number of packages to be removed... 230
Create new filesystem manifest remove file
Write filesystem manifest remove
file to.....
filesystem.
found in.....
Get removable packages list from user selections
Get user selections from............... manage_
New number of packages to be removed... 164
Create new filesystem manifest remove file
Write filesystem manifest remove
file to.....
Hiding old page...
Showing new page...
The current page name is............... repackage_iso_page
Update ISO boot files
Delete existig files with pattern..... /home/test/
Copy file...
The source file is.....
The target file is.....
Execute asynchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Update boot cofigurations for vmlinuz
Replace text in file...
Search text...
Replacement text...
Replace text in file...
Search text...
Replacement text...
Replace text in file...
Search text...
Replacement text...
Delete existig files with pattern..... /home/test/
Execute synchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
The file type informaton is............ /home/test/
The compression for initrd is.......... LZMA
Copy file...
The source file is.....
The target file is.....
Execute asynchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Update boot cofigurations for initrd
Replace text in file...
Search text...
Replacement text...
Replace text in file...
Search text...
Replacement text...
Replace text in file...
Search text...
Replacement text...
Create squashfs
The source path is.....
The target path is.....
Execute asynchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Update filesystem size
Execute synchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Write filesystem size to............... /home/test/
The file system size is................ 4.33 GiB (4644024320 bytes)
Update disk name
Write disk name to.....
Replace text in file...
Search text...
Replacement text...
Update disk information
Write custom ISO image disk name....... Ubuntu 18.04 LTS amd64 "Bionic
Write to.....
Updated the disk name...
Update md5 sums
Write md5sums to.....
Execute synchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Number of checksums calculated and
added to md5sum.
Calculate directory size
The directory is.....
The total size of all files on the
disk is.....
The maximum size limit for all files
on the disk is.....
Create ISO image
Use xorriso with isohybrid MBR......... /usr/lib/
Execute asynchronously.
Set a new process for thread id........ 139853434283776
The new process id is.....
Exception encountered in thread........ 139853434283776
Ignore exception?
The tracekback is.....
Finished running thread with id........ 139853434283776
Revision history for this message
|
#3 |
Alex,
The file "ubuntu-
I could not recreate this issue on my end, so we will need to do a little more debugging on your machine.
It is likely the the command just before this error does not succeed.
See item [3] below to find out what the error could be.
---[1]---
Please let me know what is the output of:
$ sudo dpkg-query --showformat=
---[2]---
Is "/home/test/disk1" a remote or mounted file system?
Is "/home/
---[3]---
Please launch cubic from the command line, as before.
(Work with your existing project in "/home/
Navigate through the Cubic pages by clicking Next, until you get to the page where you can select the ISO Kernel.
At this point, do *not* click Next, and do *not* close or exit Cubic.
Then, open a new terminal window on your ~host~ machine.
Inside the new terminal window, execute the following:
$ sudo xorriso -as mkisofs -r -V "Ubuntu 18.04 LTS amd64" -cache-inodes -J -l -isohybrid-mbr /usr/lib/
(Be sure to copy the space followed a "." at the end of the above command, when you cut-and paste).
Please share the output of this command. (There may be an error).
Revision history for this message
|
#4 |
Thanks for your help.
1) sudo dpkg-query --showformat=
[sudo] password for test:
2018.07-
2) No, these folders are not mounted or remote.
3) sudo xorriso -as mkisofs -r -V "Ubuntu 18.04 LTS amd64" -cache-inodes -J -l -isohybrid-mbr /usr/lib/
xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 1297m free
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
xorriso : UPDATE : 10900 files added in 1 seconds
xorriso : UPDATE : 22800 files added in 2 seconds
xorriso : UPDATE : 35100 files added in 3 seconds
xorriso : UPDATE : 45100 files added in 4 seconds
xorriso : UPDATE : 56200 files added in 5 seconds
xorriso : UPDATE : 71100 files added in 6 seconds
xorriso : UPDATE : 81300 files added in 7 seconds
xorriso : UPDATE : 93800 files added in 8 seconds
xorriso : UPDATE : 106400 files added in 9 seconds
xorriso : UPDATE : 123200 files added in 10 seconds
xorriso : UPDATE : 138600 files added in 11 seconds
xorriso : UPDATE : 155800 files added in 12 seconds
Added to ISO image: directory '/'='/home/test'
xorriso : UPDATE : 158977 files added in 12 seconds
xorriso : FAILURE : Cannot find in ISO image: -boot_image ... bin_path=
xorriso : UPDATE : 158977 files added in 13 seconds
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
Revision history for this message
|
#5 |
Alex,
If you get a chance, would you execute the following, and let me know the results?
(Basically, it's the same command as step 3 above, but I want you to cd into the ~/test/
$ cd /home/test/
$ sudo xorriso -as mkisofs -r -V "Ubuntu 18.04 LTS amd64" -cache-inodes -J -l -isohybrid-mbr /usr/lib/
Revision history for this message
|
#6 |
Alex,
CORRECTION FOR COMMENT #5:
If you get a chance, would you execute the following, and let me know the results?
(Basically, it's the same command as step 3 above, but I want you to cd into the ~/test/
$ cd /home/test/
$ sudo xorriso -as mkisofs -r -V "Ubuntu 18.04 LTS amd64" -cache-inodes -J -l -isohybrid-mbr /usr/lib/
Revision history for this message
|
#7 |
Well, this is totally my fault - I'm using VBOX and assigned to little disk space to it.
xorriso fails with no disk space available.
Thanks for your time.