Giter Club home page Giter Club logo

cubic's Introduction

Cubic

Cubic (Custom Ubuntu ISO Creator) is a GUI wizard to create a customized Live ISO image for Ubuntu and Debian based distributions.

Cubic permits effortless navigation through the ISO customization steps and features an integrated virtual command line environment to customize the Linux file system. You can create new customization projects or modify existing projects. Important parameters are dynamically populated with intelligent defaults to simplify the customization process.

Cubic runs on distributions based on:

  • Ubuntu 18.04.5 Bionic Beaver and above
  • Debian 11 Bullseye and above

Cubic can be used to customize the Live ISOs for:

  • All versions of Ubuntu from 14.04 Trusty Tahr and above
  • Most distributions based on Ubuntu
  • Many versions of Debian (tested on Debian 11 Bullseye and above)
  • Many distributions based on Debian

Fund Cubic

Donate to Cubic with Paypal Donate to Cubic with Paypal

Install Cubic

Cubic runs on distributions based on Ubuntu 18.04.5 Bionic and above.

sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install --no-install-recommends cubic

Detailed Ubuntu installation instructions

Detailed Debian installation instructions

Screenshots

cubic's People

Contributors

pj-singh-001 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  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

cubic's Issues

How to start a new project with custom cubic.conf values?

I would like to be able to create a new project and have Cubic be able to read and use a partial cubic.conf file created in advance by a script (before Cubic is launched) to have the [Custom] and [Option] sections pre-filled so that I don't have to manually edit all that stuff for each new project.

If I try to create a new Cubic project with a partial cubic.conf like this currently, Cubic hits exceptions because various expected configuration values are missing.

I'm hoping for some sort of logic where Cubic continues on and treats it like a new project if any config values are missing, but still use any config values that happen to be present in the cubic.conf file. Or, if it's simpler, there could be some sort of separate cubic-defaults.conf file that could be read separately to specify the desired values for a new project rather than using a partial cubic.conf file.

The use case for me is that I create a new project each time I make a new updated Linux Mint iso with a few customizations. I have lots of things scripted, but the one manual point is that I still have to make sure to set all the Cubic settings manually and correctly for each new project. I create new projects because I found that over time when I would keep updating the same project, the iso would grow and bloat over time. Creating a new empty project and applying all updates just once keeps things as small as possible. I also want a new date in the iso after each update, so I would still need to manually edit things even if I kept updating the same project. Being able to start a new project with some pre-defined cubic.conf values would be pretty perfect for my needs.

Does that all make sense? Please let me know if you need new info. I understand if this is out of scope for Cubic, but I hope it may be doable. I am happy to help test or offer any other help that I can with this feature idea.

`cryptsetup "Couldn't resolve device"` error while upgrading packages.

Describe the bug

apt upgrade terminates with an error.

To Reproduce

At the Cubic terminal page type:

apt update
apt upgrade

Expected behavior

The update should terminate without errors.

OS Information

  • OS/Distro Name: Xubuntu
  • OS Version 20.04 LTS

Cubic Information (please complete the following information):

Cubic Log:

I don't file the log file.

Screenshots
OIdsE1u

Additional notes:
Even with the ERROR and WARNING, at the end of the process the packages get upgraded.

# apt upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Cubic doesn't open on WSL 2.

Describe the bug

See, when i try to open it in my wsl 2, it throws an error and exits

To Reproduce

Download it with the commands in WSL 2:

sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install --no-install-recommends cubic

Run It.

OS Information (please complete the following information):

  • OS/Distro Name: None
  • OS Version: None

Cubic Information (please complete the following information):

  • Cubic Version: 2022.01-70-release202201240317ubuntu

Cubic Log:

Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(cubic:475): Gtk-CRITICAL **: 17:21:06.373: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(cubic:475): Gtk-CRITICAL **: 17:21:06.373: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

(cubic:475): Gtk-CRITICAL **: 17:21:06.373: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Segmentation fault

How to customize the Ubiquity slideshow?

I asked this in a different question but I was told to ask again as it didn't relate to Plymouth issue.

How do I customise the uBiquity slideshow from "Xubuntu" to "LuxOS"?

nvidia-driver-470 is not installed successfully in Cubic

Describe the question

nvidia-driver-470 version 470.86-0ubuntu0.20.04.2 does not install successfully in Cubic.

nvidia-driver-460 version 460.91.03-0ubuntu0.20.04.1 does install successfully in Cubic.

Cubic 2022.01-70-release-202201240317-ubuntu20.04.1

Is this because ubuntu version is the same in Cubic and 460 driver (20.04.1) and not in the 470 driver (20.04.2)?

If affirmative, Is there a Cubic version for ubuntu20.04.2?

What you have tried

I installed cubic with apt command in Linux Mint 20.3 - Cinnamon. (desktop amd-64, Nvidia graphics.)

I run cubic, selected a Linux Mint 20.3 - Cinnamon iso image downloaded from Linuxmint.com

On terminal page I tried to install the nvidia-driver-470, but no success.

root@cubic:~# apt install nvidia-driver-470
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-470 : Depends: libnvidia-gl-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Depends: libnvidia-decode-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Depends: libnvidia-encode-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Depends: xserver-xorg-video-nvidia-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Depends: libnvidia-cfg1-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Depends: libnvidia-ifr1-470 (= 470.86-0ubuntu0.20.04.2) but it is not going to be installed
                     Recommends: libnvidia-compute-470:i386 (= 470.86-0ubuntu0.20.04.2)
                     Recommends: libnvidia-decode-470:i386 (= 470.86-0ubuntu0.20.04.2)
                     Recommends: libnvidia-encode-470:i386 (= 470.86-0ubuntu0.20.04.2)
                     Recommends: libnvidia-ifr1-470:i386 (= 470.86-0ubuntu0.20.04.2)
                     Recommends: libnvidia-fbc1-470:i386 (= 470.86-0ubuntu0.20.04.2)
                     Recommends: libnvidia-gl-470:i386 (= 470.86-0ubuntu0.20.04.2)
E: Unable to correct problems, you have held broken packages.

but nevertheless nvidia-driver-460 installs ok.

Out of Cubic, in Mint OS, driver 470 installs properly.

Expected behavior

My graphic card needs 470 driver for working properly.

OS Information (please complete the following information):

Linux Mint 20.3- Cinnamon. (desktop amd-64, Nvidia graphics.)

Cubic Information (please complete the following information):

The `setxkbmap` command does not work to update the user keyboard.

Hello forum

tried to change the keyboard-layout on the cli(terminal) to swiss-german with 'setxkbmap ch'. The following message is shown:

root@cubic:~# setxkbmap ch
Cannot open display "default display"
root@cubic:~# 

Thank's for your help!

Joe

PS:
I am on Cubic 22.01.70

What is an original disk image and how to get that?

I want to customize a ubuntu iso for testing purposes.

Whatever ubuntu iso i downloaded and tried to import, I always get the same error:
Error. The original disk image is required to copy important files and extract the Linux file system, but is not available.

I tried:

I'm running on Ubuntu 20.04.3
Cubic Version: 2021.12-68-release~202112271848~ubuntu20.04.1

Configuring Proxy Settings for a Location

Hi...

My installation process can take place in for two environments. One which is the most normal process, at home, with public sources.list, without "/etc/apt/apt.conf" etc etc etc

and another within the office environment that there is a proxy, username and password in "/etc/apt/apt.conf" etc etc etc

I think: Using it in Live mode and being the option to install on Disk for office use, what would it be like for me to apply the necessary settings to the system?

  • Today, I have a Script that applies to a standard "/home" and copies it to "/etc/skel"... But what if this happened after, for example, the installation process is completed?

Would it be a new Script (.sh) post installer?

Popup Menu and About Dialog warning `instance 'XXXXXXXXX' has no handler with id 'XXXXX'`.

Describe the bug

Opening and closing the menu popup after having previously viewed the About Dialog results in the following warning:

/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1680: Warning: ../../../gobject/gsignal.c:2732: instance 'XXXXXXXXX' has no handler with id 'XXXXX'

To Reproduce

  1. Launch Cubic from the terminal
  2. Click the menu button
  3. The menu popup will appear
  4. Click "About Cubic"
  5. The About Dialog will appear
  6. Close the About Dialog
  7. Click the menu button
  8. Click outside the menu button to close the menu popup
  9. Click the menu button (again)
  10. Click outside the menu button to close the menu popup (again)
  11. The ...instance 'XXXXXXXXX' has no handler with id 'XXXXX' warning will be displayed in the terminal

Expected behavior

This warning should not appear.

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu
  • OS Version 21.10

Cubic Information (please complete the following information):

Cubic Log:

  Transition pages 
  • Show new page.......................... start page

Clicked about menu button 


  Clicked close about dialog 
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1680: Warning: ../../../gobject/gsignal.c:2732: instance '0x1d6a2a0' has no handler with id '25242'
  return _Gtk_main(*args, **kwargs)
  • Clicked................................ Exit

Screenshots

Not applicable. The error is printed to the terminal.

Link to Cubic source code

Hi!

Since this repo seems to be just the documentation page for Cubic, it would be nice to have a link to the source code and bug tracker for the actual Cubic software.

I think many people (including me) ends up here believing to have found the Cubic source code repository, before a closer look. Having a link to the actual repo would be very handy.

Is it possible to get the source code of Cubic?

Dear owner,
I am learning how to make a customized iso distro base on ubuntu.
I found Cubic. It is so great and stable!
But It looks not an opensource tool.
Is it possible to get the source code?

Thanks!
Kejaing.

What is the boot time of an XZ compressed ISO?

Hello forum,

Xz compression makes my Ubuntu 1804 Desktop LTS ISO about 300-500 mb smaller and the fan of the CPU is going to turn much faster :)

Do you have experiences of how much this high compression does increase the startup time of rather old PC's (if the PC is booted from USB-stick or DVD)? Are there downsides of this high ISO compression to be expected?

Thank's a lot!

Joe

Permission denied error after customization of image is complete.

Describe the bug

I'm trying to customize an image.

I generally:

  1. Disable Update Release Description
add-apt-repository universe
apt update
apt install --yes vim tmate tmux openssh-server git curl wget nvme-cli htop mesa-utils gimp chrome-gnome-shell
# Remove the cache from apt to make the image smaller
rm -rf /var/lib/apt/lists/*

Expected behavior
Cubic to move forward.

I guess some parent directories were destroyed.
It seems the code in apt/cache tries to rebuild the cache, but doesn't have the right permissions.

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu
  • OS Version: Ubuntu 21.10

Cubic Information (please complete the following information):

  • Cubic Version:
$ dpkg -l cubic
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                                       Architecture Description
+++-==============-=============================================-============-====================================================
ii  cubic          2022.01-70-release~202201240318~ubuntu21.10.1 all          Wizard to create a customized Ubuntu Live ISO image.
  • ISO Customizing: ubuntu-20.04.4-desktop-amd64.iso

Cubic Log:

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/cubic/cubic/navigator.py", line 595, in navigate
    result = new_page.setup(action, page) if new_page else None
  File "/usr/share/cubic/cubic/pages/prepare_page.py", line 123, in setup
    validate_page()
  File "/usr/share/cubic/cubic/pages/prepare_page.py", line 1483, in validate_page
    model.ubiquity_version = constructor.get_package_version('ubiquity', model.project.custom_root_directory)
  File "/usr/share/cubic/cubic/utilities/constructor.py", line 376, in get_package_version
    apt_cache = apt.Cache(rootdir=root_directory)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 143, in __init__
    self._check_and_create_required_dirs(rootdir)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 183, in _check_and_create_required_dirs
    os.makedirs(rootdir + d)
  File "/usr/lib/python3.9/os.py", line 225, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/mark/Downloads/ubuntu_focal/custom-root/var/lib/apt/lists/partial'

Screenshots

image

Unable to locate the squashfs file during customization of Ubuntu Server

Describe the bug

When customizing an Ubuntu Server Image, it looks (and fails to find) filesystem.squashfs

To Reproduce

  1. Use Cubic to customize Ubuntu Server
  2. Look at the log

Expected behavior

It should look for all the different .squashfs files, as noted in the launchpad bug report #699265

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu MATE
  • OS Version Ubuntu MATE 21.10

Cubic Information (please complete the following information):

Cubic Log:

The below is from running cubic -v

Cubic - Custom Ubuntu ISO Creator

  • Set application directory.............. /usr/share/cubic
  • Set application user home.............. /home/james
  • Set application cubic version.......... 2022.01-69-release~202201160230~ubun
                                            tu21.10.1
  • Set application kernel version......... 5.13.0-1009-raspi

  Setup pages

  • Setup.................................. boot copy page
  • Setup.................................. compression page
  • Setup.................................. delete page
  • Setup.................................. extract page
  • Setup.................................. finish page
  • Setup.................................. generate page
  • Setup.................................. migrate page
  • Setup.................................. options page
  • Setup.................................. packages page
  • Setup.................................. prepare page
  • Setup.................................. preseed copy page
  • Setup.................................. project page
  • Setup.................................. start page
  • Setup.................................. terminal copy page
  • Setup.................................. terminal page
  • Set terminal colors?................... Skip
  • Setup.................................. test 1 page
  • Setup.................................. test 2 page
  • Read lines from file................... /home/james/.config/cubic/visited_si
                                            tes.conf
  • Number of lines read................... 4
  • Set application visited sites.......... {'cubic_page_help', 'cubic_wiki',
                                            'cubic_website', 'cubic_donate'}

  Setup file choosers

  • Setup (ignore warnings)................ copy file chooser
  • Setup (ignore warnings)................ directory chooser
  • Setup (ignore warnings)................ iso image chooser

Handle navigation from no page on open action

  • Interrupt previous thread.............. No thread

Get the new page

  • Current page........................... no page
  • Action................................. open
  • New page............................... start page

Navigate from no page to start page on open action
  • The thread id is....................... 281472978497872

  • Read lines from file................... /home/james/.config/cubic/projects.c
                                            onf
  • Number of lines read................... 1
  • Set application projects............... ['/home/james/James OS/Image']

  Transition pages

  • Show new page.......................... start page

  Clicked start page project directory open
  button


  Clicked directory chooser select button

  • The selected file path is.............. /home/james/James OS/Image

  Directory selected

  • Directory.............................. /home/james/James OS/Image

  Project directory changed

  • Set project directory.................. /home/james/James OS/Image
  • Check if directory is writable......... /home/james/James OS/Image
  • Directory is writable?................. True
  • Get file system type................... /home/james/James OS/Image
  • Execute synchronously.................. df --output=fstype
                                            "/home/james/James OS/Image"
  • The process id is...................... 190709
  • The file system type is................ ext4
  • Set project iso mount point............ /home/james/James OS/Image/source-
                                            disk
  • Set project custom root directory...... /home/james/James OS/Image/custom-
                                            root
  • Set project custom disk directory...... /home/james/James OS/Image/custom-
                                            disk
  • Set project configuration file path.... /home/james/James
                                            OS/Image/cubic.conf

  Load configuration

  • Set project cubic version.............. 2022.01-69-release~202201160230~ubun
                                            tu21.10.1
  • Load configuration..................... 2021 Layout
  • Set project create date................ 2022-01-20 20:28
  • Set original iso file name............. ubuntu-21.10-live-server-arm64.iso
  • Set original iso directory............. /home/james/Downloads
  • Set original iso volume id............. Ubuntu-Server 21.10 arm64
  • Set original iso release name.......... Impish Indri
  • Set custom iso version number.......... 2022.01.20
  • Set custom iso file name............... jamesos-beta-arm64.iso
  • Set custom iso directory............... /home/james/James OS/Image
  • Set custom iso volume id............... JamesOS
  • Set custom iso release name............ Beta
  • Set custom iso disk name............... JamesOS "Beta"
  • Set status is success copy............. False
  • Set status is success extract.......... False
  • Set options update os release.......... True
  • Set options boot configurations........ ['boot/grub/grub.cfg',
                                            'boot/grub/loopback.cfg',
                                            'isolinux/txt.cfg']
  • Clicked................................ Next

Handle navigation from start page on next action

  • Interrupt previous thread.............. No thread

Get the new page

  • Current page........................... start page
  • Action................................. next
  • New page............................... project page

Navigate from start page to project page on next action

  • The thread id is....................... 281472988520784
  • Create all directories in the path..... /home/james/.config/cubic
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/james/.config/cubic/projects.c
                                            onf

  Check if the mount point is mounted

  • The mount point is..................... /home/james/James OS/Image/source-
                                            disk
  • Is mounted?............................ True

  Check if the ISO image is mounted

  • The mount point is..................... /home/james/James OS/Image/source-
                                            disk
  • The ISO file path is................... /home/james/Downloads/ubuntu-21.10-l
                                            ive-server-arm64.iso
  • Execute synchronously.................. mount
  • The process id is...................... 190711
  • Is mounted?............................ True

  Get ISO image release notes URL

  • ISO image mount point.................. /home/james/James OS/Image/source-
                                            disk
  • Read file.............................. /home/james/James OS/Image/source-
                                            disk/.disk/release_notes_url
  • Error. File does not exist............. /home/james/James OS/Image/source-
                                            disk/.disk/release_notes_url

  Get ISO image release notes URL

  • ISO image mount point.................. /home/james/James OS/Image/custom-
                                            disk
  • Read file.............................. /home/james/James OS/Image/custom-
                                            disk/.disk/release_notes_url

  Initialize the status fields from the
  model

  • Set status is success copy............. False
  • Set status is success extract.......... False
  • Set status iso template................ Empty
  • Set status casper directory............ Empty
  • Set status squashfs file name.......... Empty
  • Set status iso checksum................ Empty
  • Set status iso checksum file name...... Empty

  Initialize the options fields from the
  model

  • Set options boot configurations........ ['boot/grub/grub.cfg',
                                            'boot/grub/loopback.cfg',
                                            'isolinux/txt.cfg']
  • Set options compression................ Empty

  Initialize the original fields from the
  model

  • Set original iso file name value....... ubuntu-21.10-live-server-arm64.iso
  • Set original iso directory value....... /home/james/Downloads
  • Set original iso volume id value....... Ubuntu-Server 21.10 arm64
  • Set original iso release name value.... Impish Indri
  • Is original iso version number
    valid?................................. True

  Check if the ISO image is mounted

  • The mount point is..................... /home/james/James OS/Image/source-
                                            disk
  • The ISO file path is................... /home/james/Downloads/ubuntu-21.10-l
                                            ive-server-arm64.iso
  • Execute synchronously.................. mount
  • The process id is...................... 190712
  • Is mounted?............................ True
  • Is original iso file name valid?....... True
  • Is original iso directory valid?....... True
  • Is original iso volume id valid?....... True
  • Is original iso release name valid?.... True
  • Is original iso disk name valid?....... True
  • Is original iso release notes url
    valid?................................. True
  • Is original options update os
    release valid?......................... True

  Initialize the custom fields from the
  model

  • Set custom iso version number value.... 2022.01.20
  • Set custom iso file name value......... jamesos-beta-arm64.iso
  • Set custom iso directory value......... /home/james/James OS/Image
  • Set custom iso volume id value......... JamesOS
  • Set custom iso release name value...... Beta
  • Set custom iso disk name value......... JamesOS "Beta"
  • Set custom options update os release
    value.................................. True
  • Is custom iso version number valid?.... True
  • Is custom iso file name valid?......... True
  • Check if directory is writable......... /home/james/James OS/Image
  • Directory is writable?................. True
  • Is custom iso directory valid?......... True
  • Is custom iso volume id valid?......... True
  • Is custom iso release name valid?...... True
  • Is custom iso disk name valid?......... True
  • Is custom iso release notes url
    valid?................................. True
  • Is custom options update os release
    valid?................................. True

  Save the generated ISO values from the
  model

  • Set generated iso version number....... 2022.01.20
  • Set generated iso file name............ jamesos-beta-arm64.iso
  • Set generated iso directory............ /home/james/James OS/Image
  • Set generated iso volume id............ JamesOS
  • Set generated iso release name......... Beta
  • Set generated iso disk name............ JamesOS "Beta"
  • Is page valid?......................... True
  • The generated ISO file path is......... /home/james/James OS/Image/jamesos-
                                            beta-arm64.iso
  • Does the custom ISO file exist?........ No
  • Enable testing?........................ No

  Transition pages

  • Hide old page.......................... start page
  • Show new page.......................... project page
  • Clicked................................ Next

Handle navigation from project page on next action

  • Interrupt previous thread.............. No thread

Get the new page

  • Current page........................... project page
  • Action................................. next
  • New page............................... extract page

Navigate from project page to extract page on next action
  • The thread id is....................... 281472988520784

  • Set project modify date................ 2022-01-22 19:52
  • Set options update os release.......... True

  Save configuration

  • Save configuration..................... 2021 Layout

  Update the custom ISO release notes url

  • The custom ISO release notes URL is.... Empty
  • Create all directories in the path..... /home/james/James OS/Image/custom-
                                            disk/.disk
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/james/James OS/Image/custom-
                                            disk/.disk/release_notes_url

  Transition pages

  • Hide old page.......................... project page
  • Show new page.......................... extract page
  • Delete existing files with pattern..... /home/james/James
                                            OS/Image/partition-[1-9].img
  • Delete file............................ /home/james/James
                                            OS/Image/partition-1.img
  • Execute synchronously.................. delete-path /home/james/James
                                            OS/Image/partition-1.img
  • The process id is...................... 190714
  • The result is.......................... None
  • The exit status, signal status is...... 0, None
  • Delete file............................ /home/james/James
                                            OS/Image/partition-2.img
  • Execute synchronously.................. delete-path /home/james/James
                                            OS/Image/partition-2.img
  • The process id is...................... 190718
  • The result is.......................... None
  • The exit status, signal status is...... 0, None

  Generate the ISO template

  • Get ISO report for..................... /home/james/Downloads/ubuntu-21.10-l
                                            ive-server-arm64.iso
  • Execute synchronously.................. xorriso -indev "/home/james/Download
                                            s/ubuntu-21.10-live-server-
                                            arm64.iso" -report_el_torito
                                            as_mkisofs
  • The process id is...................... 190722
  • The ISO report is...................... -V 'Ubuntu-Server 21.10 arm64'
                                            --modification-
                                            date='2021101314202800'
                                            -partition_cyl_align all
                                            -partition_offset 16
                                            -partition_hd_cyl 74
                                            -partition_sec_hd 32
                                            -append_partition 2 0xef --interval:
                                            local_fs:2401152d-2410623d::'/home/j
                                            ames/Downloads/ubuntu-21.10-live-
                                            server-arm64.iso'  -G --interval:loc
                                            al_fs:0s-15s:zero_mbrpt:'/home/james
                                            /Downloads/ubuntu-21.10-live-server-
                                            arm64.iso'  -iso_mbr_part_type 0xcd
                                            -c '/boot/boot.cat'  -e '--interval:
                                            appended_partition_2_start_600288s_s
                                            ize_9472d:all::'  -no-emul-boot
                                            -boot-load-size 9472
  • The interval path is................... -append_partition 2 0xef --interval:
                                            local_fs:2401152d-2410623d::'/home/j
                                            ames/Downloads/ubuntu-21.10-live-
                                            server-arm64.iso'
  • The interval is........................ 2401152d-2410623d
  • The start block is..................... 2401152
  • The block units are.................... d
  • The block size is...................... 512
  • The stop block is...................... 2410623
  • The block count is..................... 9472
  • Extract image from..................... /home/james/Downloads/ubuntu-21.10-l
                                            ive-server-arm64.iso
  • Extract image to....................... /home/james/James
                                            OS/Image/partition-1.img
  • Extract image blocks................... block size: 512, skip blocks:
                                            2401152, block count: 9472
  • Execute synchronously.................. dd if="/home/james/Downloads/ubuntu-
                                            21.10-live-server-arm64.iso"
                                            bs="512" skip="2401152" count="9472"
                                            of="/home/james/James
                                            OS/Image/partition-1.img"
  • The process id is...................... 190723
  • The result is.......................... 9472+0 records in  9472+0 records
                                            out  4849664 bytes (4.8 MB, 4.6 MiB)
                                            copied, 0.184432 s, 26.3 MB/s
  • The exit status, signal status is...... 0, None
  • The interval path is................... -append_partition 2 0xef --interval:
                                            local_fs:0d-9471d::'{boot_image_dire
                                            ctory}/partition-1.img'
  • The interval path is................... -G --interval:local_fs:0s-15s:zero_m
                                            brpt:'/home/james/Downloads/ubuntu-2
                                            1.10-live-server-arm64.iso'
  • The interval is........................ 0s-15s
  • The start block is..................... 0
  • The block units are.................... s
  • The block size is...................... 2048
  • The stop block is...................... 15
  • The block count is..................... 16
  • Extract image from..................... /home/james/Downloads/ubuntu-21.10-l
                                            ive-server-arm64.iso
  • Extract image to....................... /home/james/James
                                            OS/Image/partition-2.img
  • Extract image blocks................... block size: 2048, skip blocks: 0,
                                            block count: 16
  • Execute synchronously.................. dd if="/home/james/Downloads/ubuntu-
                                            21.10-live-server-arm64.iso"
                                            bs="2048" skip="0" count="16"
                                            of="/home/james/James
                                            OS/Image/partition-2.img"
  • The process id is...................... 190724
  • The result is.......................... 16+0 records in  16+0 records out
                                            32768 bytes (33 kB, 32 KiB) copied,
                                            0.00135885 s, 24.1 MB/s
  • The exit status, signal status is...... 0, None
  • The interval path is................... -G --interval:local_fs:0s-15s:zero_m
                                            brpt:'{boot_image_directory}/partiti
                                            on-2.img'
  • The interval path is................... -e '--interval:appended_partition_2_
                                            start_600288s_size_9472d:all::'
  • The interval path is................... -e '--
                                            interval:appended_partition_2:all::'
  • Set status iso template................ 789C8D90316E032110457B4E31DD56637BB1
                                            132B5CC037488B30CC6E90604180ADAC2DDF
                                            DDEC26B22852A49962FEFCC7FFE02774F76B
                                            70174FD29A47C730AA546CB161927A765239
                                            3B4EA09C6B85300C990AF4EFEDF2CB2C0638
                                            1EDA65265D05D873862A469A8C7C69C061F7
                                            4D0320DAA950BA2A275CD0CAC9218B9DC18F
                                            C3B1374274F77308455AAF4692C626D225A4
                                            F9B17D61B0DF583FD6DCA7BF4919FBB72C6E
                                            9482F4E714CB3F88FC9768F3EA5923CB3247
                                            AA81B561A8A1DB2E8C756CB42AF596A06B9E
                                            FFE94A4D5BC945FDC4DA87E11490FCC5E1E2
                                            66EB441794C16C6F04B536674FC4F08F01

  Find the compressed Linux file system

  • Find the directory for
    filesystem.squashfs in................. /home/james/James OS/Image/source-
                                            disk     

Is there a headless mode?

Hi! I've tried looking through the Wiki but didn't find any mention of it, so thought I'd try to ask this way... Is there a headless mode of operations for the cubic program?

Cubic is the best GUI I've found for creating custom Linux distros, but sometimes I would like to automate the creation of new images without having to do it manually via the Cubic GUI. What I'm really looking for is to create it via GUI the first time, and run a CLI tool on consecutive times. Is this supported? If not: is there an easy way to manually build the image based on what's created before by Cubic?

How to create a custom live only Ubuntu ISO to be used on a USB stick and with support for data persistence?

Describe the question

Hello,
Firstly, thanks a lot for sharing your Cubic project!

I would like to create a live Xubuntu ISO with the following features:

  • The live OS must not show the Welcome screen (that is, the one with the "Try Xubuntu" and "Install Xubuntu" buttons).
  • The live OS must not have the "xubuntu" user (i.e., the user created in a traditional Xubuntu Live OS) or, if not possible, that user must log into the system only with a password (no auto-login).
  • The live OS will have at least two predefined users, say "powuser" and "stduser" (both protected by predefined passwords), but only one of them ("powuser") will have administration capabilities (that is, can use "sudo").
  • The live OS will have preinstalled extra packages (for instance, gcc and make) and preconfigured settings (including locale "en_US" and optionally "it_IT", keyboard layout "it" and timezone "Europe/Rome").
  • The ISO image will be written to and run only from a USB stick, and any changes done while using the live image should persist across reboots (I am still not sure whether to use a persistent overlay or a separate area).

I was wondering if it is possible to use Cubic to create an ISO image like the above.
Thank you for your help and time.

What you have tried

I tried to customize the system from the Cubic Terminal page, but something not worked and something else I didn't know how to do it:

  • Disable Welcome screen: don't know how to do it
  • Remove (or disable) the "xubuntu" user: failed.
    I didn't know how to remove the "xubuntu" user, so I tried to set a password for such user.
    Similarly to the steps suggested in a previously asked question, I removed the 15autologin and 25adduser files, than I executed adduser xubuntu (and specified a password for that user) and finally I run update-initramfs -u.
    However, the live OS logged in with the "xubuntu" user without asking for any password.
    If I log out from the system, I can see the login screen; but there is no password textfield for the "xubuntu" user.
  • Add predefined users: partially failed.
    In the Cubic Terminal page, I added the "xubuntu" user (see above) and the "powuser" user.
    Also, I added "powuser" (but not "xubuntu") to the "sudo" group.
    However, in the Live OS, both "xubuntu" and "powuser" were able to run a command through "sudo" (only "powuser" can do it).
  • Installation of extra packages: succeeded.
    Installed extra packages from the Cubic Terminal page with apt-get install ....
  • Configuration of the system (locale, keyboard, timezone, ...): don't know how to do it.
    I found similar questions in launchpad and the answer was to use preseeds.
    However, if I understand correctly, preseeds cab be used only for the installed system.
  • Data persistence: not yet done.
    I think this is a bit unrelated to Cubic. Anyway, any suggestion is welcome ;-)
    I am considering to use tools like mkusb or [livecd-iso-to-disk](https://docs.fedoraproject.org/en-US/quick-docs/creating-and-using-a-live-installation-image/index.html]. I would like that data written by a user cannot be accessed by other users.

Expected behavior

n/a

OS Information (please complete the following information):

  • OS/Distro Name: Xubuntu
  • OS Version Xubuntu 21.10

Cubic Information (please complete the following information):

Screenshots

n/a

Feature Request: Open new Cubic instance with project folder pre-selected

Thinking about if this other feature request were done, I'm imagining another convenience in automating Cubic would be able to open a new instance with a specific project folder pre-selected.

I'm thinking this could just be done as a path argument to the cubic command so that I could call cubic /path/to/project at the end of a script which prepared a new project (referenced in the other feature request) to open up Cubic with my new project folder pre-selected.

Thanks so much for considering these automation/convenience features, Cubic is such a fantastic tool!

How do I downgrade/remove foreign packages?

I am practising on how to upgrade from Linux Mint 19.3 to 20 to get used to the commands needed to upgrade from 20.3 to 21, and I want to do it on Cubic.

At the stage where I have to downgrade/delete foreign packages, I have not found a single guide on how to do so using command line.

Is there a way to commence that step using command line or am I dreaming?

How to enable gnome extension out of the box?

I want to know, is there a way by which the extension I add in the iso comes pre-activated when I use the iso for the first time?
Like how the Zorin team made their zorin taskbar, if I wanted the same effect with dash to panel and ubuntu. And in my specific case I want to make the user theme extension enabled by default.

What I have tried
I have added the extension user themes. When I boot from the iso and click the try option from ubiquity, I go to the extension app and see the user theme extension is disabled. Although my gtk themes are working, but the shell theme doesn't seem to change from the default yaru.

Expected behavior
I want the extensions I choose to be enabled as the way I want out of the box. So that I don't have to open the extension app to tweak it on and customize it after booting.

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu
  • OS Version: Ubuntu 20.04.3

Cubic Information (please complete the following information):

How to update iptables?

Cubic-ing a ubuntu 18.04.6 live server iso.
When trying to configure the firewall, some error is popped up:

# /usr/sbin/ufw status verbose
ERROR: problem running iptables: iptables v1.6.1: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.

How to fix ISO Grub menu countdown loop (for Zorin OS)?

Describe the bug

All Zorin OS 16 ISOs customized using Cubic don't boot past the GRUB screen. When adding nomodeset debug nosplash to the "Install or try Zorin OS" GRUB option, it outputs Loading /casper/vmlinuz before going back to GRUB. Safe graphics and modern NVIDIA drivers also don't work.

To Reproduce

  1. Generate a Zorin OS ISO using Cubic, without any customizations
  2. Either create a virtual machine and boot with the ISO, or use the built-in test option.
  3. Try to launch the OS - it won't work.

Expected behavior

I expected the ISO to actually boot into an operating system.

Host OS Information:

  • OS/Distro Name: Ubuntu
  • OS Version: Ubuntu 20.04.4 LTS

Cubic Information:

Cubic Log:

Gtk-Message: 11:03:01.123: Failed to load module "appmenu-gtk-module"

(cubic:23073): Gtk-WARNING **: 11:03:01.947: Content added to the action area of a dialog using header bars

(cubic:23073): Gtk-WARNING **: 11:03:01.947: Content added to the action area of a dialog using header bars

(cubic:23073): Gtk-WARNING **: 11:03:01.977: Content added to the action area of a dialog using header bars

(cubic:23073): Gtk-WARNING **: 11:03:01.977: Content added to the action area of a dialog using header bars

(cubic:23073): Gtk-WARNING **: 11:03:02.008: Content added to the action area of a dialog using header bars

(cubic:23073): Gtk-WARNING **: 11:03:02.008: Content added to the action area of a dialog using header bars

Screenshots

Screenshot from 2022-04-16 11-20-31
Screenshot from 2022-04-16 11-21-35

Ubuntu Autoinstall ISO with Cloud-init

Hello!
I'm actualy trying to create an automatic installation on USB Key of ubuntu server 20.04 with user-data & meta-file on Cubic.

  1. I have installed Ubuntu server and take back my user-data files into preseed folder (/preseed/user-data)
  2. I modified grub.cfg & /isolinux/txt.cfg to point out both data files.

kernel /casper/vmlinuz
append boot=casper initrd=/casper/initrd.lz quiet autoinstall
ds=nocloud;s=/cdrom/preseed/ ---

menuentry "Install Ubuntu Server" {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper quiet autoinstall ds=nocloud;s=/cdrom/preseed/ ---
initrd casper/initrd.lz
}

The installation starts but it's like he's ignoring user-data files.
Does anyone know what i'm missing or which solution i can try ?

I'm using Cubic 2022.01.70

Best Regards

Unable to proceed after bash(chroot) step when project directory contains nn.nn.n-n format.

Note/Update (12/25/2021): Might be the root-cause, was happening only when cubic directory was ~/cubic/20.04.3-4. Couldn't reproduce this issue when I tried with a different directory, ~/cubic/08


Note/Update (12/24/2021): This is a duplicate of 1955734

I started a fresh cubic project with original disk image (ubuntu-20.04.3-desktop-amd64.iso). Note: I'm NOT customizing an existing project.

On "Identify disk boot kernels" step getting the following error always.

Error. No valid disk boot kernels were found.

To correct this issue, click the Back button and install missing Linux kernel packages on the Terminal page, or select the original disk image on the Project page.

This bug might have been a side-effect of fix for 1922147.

How to resolve "Package is not available" error with `sources.list`?

Hello

I am trying to install (apt-get) the same apps as I installed before unter native Ubuntu1804.
Among others, the following messages are shown:

->Package python-scipy is not available, but is referred to by another package.
->This may mean that the package is missing, has been obsoleted, or
->is only available from another source

->Package python-gtk2 is not available, but is referred to by another package.
->This may mean that the package is missing, has been obsoleted, or
->is only available from another source

->E: Unable to locate package libcppunit-dev
->E: Unable to locate package swig
->E: Unable to locate package liblog4cpp5-dev
->E: Package 'python-scipy' has no installation candidate
->E: Package 'python-gtk2' has no installation candidate

Questions:
1:
Could the different sources.list be the problem?

2:
If so, why does cubic not pull the sources.list from the host-os?

Thank's a lot in advance for your help!

Joe


You have entered the virtual environment.
root@cubic:~# lsb_release -c
Codename:	bionic

root@cubic:/etc/apt#  cat sources.list
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
root@cubic:/etc/apt# 

test@ub1804:~$ lsb_release -c
Codename:	bionic

test@ub1804:/etc/apt$ cat sources.list
# deb cdrom:[Ubuntu 18.04.6 LTS _Bionic Beaver_ - Release amd64 (20210915)]/ bionic main restricted
##
##
##
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

How to create a user with sudo permissions (if booted from the ISO)?

Hello list

just booted my PC from the newly remasterd cubic ISO (Ubuntu 18.04 LTS DVD)

If I try to use "sudo", the following message is shown:

[sudo] password for test:
test is not in the sudoers file. This incident will be reported.

Question:
Is there a way to fix this in the cubic environment before creating the ISO?

Thank you very much in advance for your help!

Joe

PS
By the way, your explanations are excellent in all of my recent posts/questions :)

Is `/var/cache/apt/archives` of Cubic shared with the host OS?

Hello

would like to backup(tar) my cubic folder. It should become as small as possible :) In the cubic filesystem I was unable to find /var/cache/apt/archives..

  • does 'apt-get dist-upgrade' cache the *.deb's as well in /var/cache/apt/archives of the host?
  • is it advisable to delete the cached files before backing up the cubic project folder?

Thank's a lot!

Joe

Xorriso has some errors when customizing the ISO.

Describe the bug

When generating the ISO, Cubic will encounter some problems

To Reproduce

  1. Download Ubuntu 20.04
  2. Remove Zsys
  3. Install i3,rice it, add a PPA for a Liquorix kernel and for the latest Mesa drivers
  4. Generate the ISO.

Expected behavior

Cubic should generate the ISO just fine

OS Information (please complete the following information):

  • OS/Distro Name: Pop!_OS
  • OS Version: Pop!_OS 21.10

Cubic Information (please complete the following information):

Cubic Log:

_PyErr_SetObject: exception EOF("End
                                            Of File (EOF). Exception style      
                                            platform.\n<pexpect.pty_spawn.spawn 
                                            object at 0x7fd697bc98b0>\ncommand: 
                                            /usr/bin/xorriso\nargs:             
                                            [b'/usr/bin/xorriso', b'-as',       
                                            b'mkisofs', b'-r', b'-J', b'-joliet-
                                            long', b'-l', b'-iso-level', b'3',  
                                            b'-V', b'MatuusOS', b'-isohybrid-   
                                            mbr', b'--interval:local_fs:0s-15s:z
                                            ero_mbrpt,zero_gpt,zero_apm:/home/ma
                                            tus/projects/MatuusOS-on-           
                                            Ubuntu/partition-1.img',            
                                            b'-partition_cyl_align', b'on',     
                                            b'-partition_offset', b'0',         
                                            b'-partition_hd_cyl', b'184',       
                                            b'-partition_sec_hd', b'32', b'--   
                                            mbr-force-bootable', b'-apm-block-  
                                            size', b'2048',                     
                                            b'-iso_mbr_part_type', b'0x00',     
                                            b'-c', b'/isolinux/boot.cat', b'-b',
                                            b'/isolinux/isolinux.bin', b'-no-   
                                            emul-boot', b'-boot-load-size',     
                                            b'4', b'-boot-info-table',          
                                            b'-eltorito-alt-boot', b'-e',       
                                            b'/boot/grub/efi.img', b'-no-emul-  
                                            boot', b'-boot-load-size', b'8000', 
                                            b'-isohybrid-gpt-basdat',           
                                            b'-isohybrid-apm-hfsplus', b'-o',   
                                            b'/home/matus/projects/MatuusOS-on- 
                                            Ubuntu/MatuusOS-semirolling.iso',   
                                            b'.']\nbuffer (last 100 chars):     
                                            ''\nbefore (last 100 chars): '      
                                            failure with writing.\\r\\nxorriso :
                                            NOTE : -return_with SORRY 32        
                                            triggered by problem severity       
                                            FATAL\\r\\n'\nafter: <class         
                                            'pexpect.exceptions.EOF'>\nmatch:   
                                            None\nmatch_index: None\nexitstatus:
                                            None\nflag_eof: True\npid:          
                                            22122\nchild_fd: 31\nclosed:        
                                            False\ntimeout: 300\ndelimiter:     
                                            <class                              
                                            'pexpect.exceptions.EOF'>\nlogfile: 
                                            None\nlogfile_read:                 
                                            None\nlogfile_send: None\nmaxread:  
                                            2000\nignorecase:                   
                                            False\nsearchwindowsize:            
                                            None\ndelaybeforesend:              
                                            0.05\ndelayafterclose:              
                                            0.1\ndelayafterterminate:           
                                            0.1\nsearcher: searcher_re:\n    0: 
                                            re.compile('[0-9]{1,3}(\\\\.[0-9]{2}
                                            ){0,1}%')\nmessage: xorriso 1.5.2 : 
                                            RockRidge filesystem manipulator,   
                                            libburnia project.\n\nDrive current:
                                            -outdev 'stdio:/home/matus/projects/
                                            MatuusOS-on-Ubuntu/MatuusOS-        
                                            semirolling.iso'\nMedia current:    
                                            stdio file, overwriteable\nMedia    
                                            status : is blank\nMedia summary: 0 
                                            sessions, 0 data blocks, 0 data,    
                                            1666g free\nxorriso : WARNING :     
                                            -volid text does not comply to ISO  
                                            9660 / ECMA 119 rules\nAdded to ISO 
                                            image: directory                    
                                            '/'='/home/matus/projects/MatuusOS- 
                                            on-Ubuntu/custom-disk'\nxorriso :   
                                            UPDATE :    1042 files added in 1   
                                            seconds\nxorriso : UPDATE :    1042 
                                            files added in 1 seconds\nxorriso : 
                                            NOTE : Copying to System Area: 32768
                                            bytes from file '--interval:local_fs
                                            :0s-15s:zero_mbrpt,zero_gpt,zero_apm
                                            :/home/matus/projects/MatuusOS-on-  
                                            Ubuntu/partition-1.img'\nlibisofs:  
                                            WARNING : Cannot add /dists/stable  
                                            to Joliet tree. Symlinks can only be
                                            added to a Rock Ridge               
                                            tree.\nlibisofs: WARNING : Cannot   
                                            add /dists/unstable to Joliet tree. 
                                            Symlinks can only be added to a Rock
                                            Ridge tree.\nlibisofs: WARNING :    
                                            Cannot add /ubuntu to Joliet tree.  
                                            Symlinks can only be added to a Rock
                                            Ridge tree.\nlibisofs: NOTE :       
                                            Automatically adjusted MBR geometry 
                                            to 1022/206/32\nlibisofs: NOTE :    
                                            Aligned image size to cylinder size 
                                            by 1307 blocks\nxorriso : UPDATE :  
                                            Thank you for being patient. Working
                                            since 0 seconds.\nlibburn : SORRY : 
                                            Failed to open device (a pseudo-    
                                            drive) : Permission denied\nlibburn 
                                            : FATAL : Burn run failed\nxorriso :
                                            FATAL : -abort_on 'FAILURE'         
                                            encountered 'FATAL' during image    
                                            writing\nxorriso : NOTE : libburn   
                                            has now been urged to cancel its    
                                            operation\nxorriso : UPDATE : Thank 
                                            you for being patient. Working since
                                            2 seconds.\nxorriso : UPDATE : Thank
                                            you for being patient. Working since
                                            3 seconds.\nxorriso : UPDATE : Thank
                                            you for being patient. Working since
                                            3 seconds.\nxorriso : UPDATE : Thank
                                            you for being patient. Working since
                                            4 seconds.\nlibisofs: MISHAP : Image
                                            write cancelled\nxorriso : FAILURE :
                                            libburn indicates failure with      
                                            writing.\nxorriso : NOTE :          
                                            -return_with SORRY 32 triggered by  
                                            problem severity FATAL") is not a   
                                            BaseException subclass              

Screenshots

Snímka obrazovky z 2022-02-27 17-36-42

How to reboot Cubic's "virtual environment" using the CLE on the Terminal page?

Hello

after upgrading my Ubuntu 18.04 with 'dist-upgrade', i would like to reboot it with 'shutdown -r now'.
The following message is shown:

root@cubic:~# sudo shutdown -r now
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to talk to init daemon.
root@cubic:~# 

Is there an other approach to reboot a cubic environment?

Thank's a lot

Joe

How to customize which icons are shown in the Dock?

I would like when generating my custom ISO through Cubic, that I could change icons/shortcuts that are in the Dock.
Both for Live mode and standard post installation.

For example:
I would like to remove Firefox and leave Chrome.
I would like to remove Thunderbird and add Terminal.

Tried - via Terminal Cubic - to use gsetting and dconf to no avail.
As an alternative, I set up a script to run when a user is logged in, putting it in /etc/skel/user/.config/autostart and with no success

Using Ubuntu 20.04

How to upgrade Linux Mint in Cubic?

There has been some concerns as of late on where the Cubic project is heading.

Lately, Mint developers seem to have gone to a GUI approach when it comes to upgrade to a milestone release.

P.J. Singh, if you have a chance to read this, please tell me what you think: https://blog.linuxmint.com/?p=4293

The new update sounds intriguing, but my concern is if Cubic can adapt the new updates.

So, again, if you can get back to me, or us, please tell us of current plans for the project.

Thank you.

The Preseed tab is shown when Ubiquity is not installed.

The Preseed tab is shown in the Options page when Ubiquity is not installed on the customized system.

Ubiquity uses preseeding, so the ability to edit preseed files is unnecessary if Ubiquity is not available.

Currently, the Packages page is not shown if Ubiquity is not installed. (The Packages page manages typical and minimal install package lists for Ubiquity).

This same approach should be followed for the Preseed tab on the Options page.

How to automate installation using Preseed for keyboard, time zone, locale, and user?

Hello dear...

After preparing the new ISO, carrying out the settings and being ready to generate, I assumed it was in "Preseed Files" but I couldn't find the right place, nor the correct instructions, on how to customize the autoresponder...

I mean...

I wanted it to be the complete installation directly, that the keyboard and time zone location were automatic, that the new user + corresponding password were directly created WITHOUT intervention of the installer user. I wanted it to only be able to choose the machine name and disk partitioning.

Is it in Preseed Files?
If so, should I create a new one or change the existing one?
Does the existing documentation (https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html) work for 20.04?

If not, where would it be?

Thank you so much for all the help being contributed!!!

Hugs

How to run Cubic in WSL?

Hi,

I opened this case back in Dec. after that I had to switch back to win10 and drop the Win11 WSL + Cubic attempt.

Now am I back to Win11 and saw that cubic has been updated to 2022 version. however, i'm still having the issue to load iso file either locally /home/username/file.iso or remotely /mnt/c/file.iso

here is the info of my system and the error message.

me@DELL9020:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
me@DELL9020:~$ uname -a
Linux DELL9020 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
me@DELL9020:~$ cubic --version
Cubic version 2022.01.69
Copyright © 2015, 2020 PJ Singh
Website https://github.com/PJ-Singh-001/Cubic
me@DELL9020:~$

2022-01-20-00_27-55_lWyHFShBi1

How do I make my OS updatable?

I am making a custom iso in cubic. I then realised that there is no way for people to be able to update it without re-installing the os. Is there any way to point the iso to a place where it can receive updates?

Also, the docs mention an emulator. I cannot see that anywhere. Where can I find it?

Thank you in advance.

My OS is Linux Mint 20.3
Cubic 2022.01.70
Customising Lubuntu 20.04.4 LTS (Focal Fossa)
https://cdimage.ubuntu.com/lubuntu/releases/20.04.4/release/lubuntu-20.04.4-desktop-amd64.iso

Custom Cubic Plymouth configuration works in Qemu but not VMWare or flashed disk.

Describe the question:

The custom plymouth splashscreen does not show on VMWare or flashed disk, however, it does indeed work within the 'test' function implemented in Cubic.

What you have tried?

I installed a custom theme in plymouth following these steps: #5 (comment)

After selecting the new kernel (NOT the default one) that I updated with 'update-initramfs -u -k all' and generating the ISO, I clicked 'test' and it booted up with the flash screen in a separate window (Qemu). Everything was running as normal.

Everything seemed pretty normal until I flashed the ISO using Balena Etcher. Plugged the USB into my desktop and booted from it (my desktop runs Windows 10) but there was no splash screen (not even the spinning-circle thing you get on stock Ubuntu LTS).

I tried once more by copying the ISO to my desktop (unflashed) and sticking it in VMware Workstation Pro. It couldn't even boot.

I'm not exactly sure why this is the case, and any help is greatly appreciated.

Thanks :)

Expected behavior?

Plymouth should show with the configured splashscreen.

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu 20.04 LTS (unmodified)

Cubic Information:

  • Cubic Version: 2022.01.70
  • ISO Customizing: ubuntu-21.04LTS-desktop-amd64.iso (I renamed it to just 'ubuntu.iso'.
  • Download Link: Can be found on the Ubuntu official website.

How to customize the wallpaper, icon theme, desktop theme, and Plymouth boot splash theme (in English & Japanese)?

Describe the question

Hello.
I want to change the wallpaper, icon, theme and splash screen that appear when I start with iso.

What you have tried

I tried the contents of this article and video to replace the wallpaper.
https://qiita.com/basictomonokai/items/a3d1bea33fe150c3ce53
https://www.youtube.com/watch?v=T_5EpbzWYgw

Expected behavior

The replacement was not reflected and the wallpaper changed to plain blue.

OS Information (please complete the following information):

  • OS/Distro Name: [Ubuntu]
  • OS Version [Ubuntu 20.04]

Cubic Information (please complete the following information):

  • Cubic Version: [Newest Version]
  • ISO Customizing: [e.g. ubuntu-20.04-desktop-amd64.iso]
  • Download Link: The download link for the ISO you are customizing

Screenshots

Getting "No root file system defined" error during installation.

Describe the question

During the installation I am getting the above error, i am newbie in using preseed so this is most probably an error from my side.

Could you please have a look at my preseed configuration and suggest how I can resolve this? I really need a configuration that would work on multiple machine types with uefi boot, if that is possible.

What you have tried

Tried multiple suggestions after googling but nothing has so far resolved the issue

Expected behavior

A completed installation
Ubuntu 20.04
Cubic 2022.01.70

My seed configuration

# Localization
d-i debian-installer/language string en_US:en
d-i debian-installer/country string RU
d-i debian-installer/locale select en_US.UTF-8
d-i localechooser/preferred-locale en_US.UTF-8

# Keyboard
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string ru
d-i keyboard-configuration/toggle select Alt+Shift

# Networking
d-i netcfg/choose_interface select auto
d-i netcfg/get_domain string lan.forstwoof.ru

# Mirror
d-i mirror/protocol select http
d-i mirror/country string manual
d-i mirror/http/hostname string mirror.yandex.ru
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string

# Clock and time
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Oslo
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string kangaroo

# Partitioning
#d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-auto-lvm/guided_size string max
d-i partman/alignment select cylinder
d-i partman-auto/choose_recipe select boot-root
d-i partman-auto/expert_recipe string \
  boot-root ::                    \
    228 8000 256 ext2             \
      $primary{ }                     \
      $bootable{ }                \
      method{ format }            \
      format{ }                       \
      use_filesystem{ }               \
      filesystem{ ext2 }              \
      mountpoint{ /boot } .       \
    100 7000 1000000000 ext4      \
      $primary{ }                     \
      $defaultignore{ }       \
      method{ lvm }           \
      device{ /dev/sda }          \
      vg_name{ vg00 } .               \
    322 5000 1000000000 ext4      \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ root }         \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint{ / } .              \
    4096 6000 4128 swap       \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ swap }         \
      method{ swap }          \
      format{ } .             \
    1024 4000 1088 ext4           \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ tmp }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /tmp } .       \
    10240 3000 10256 ext4         \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ usr }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /usr } .       \
    5120 2000 5168 ext4           \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ var }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /var } .       \
    153600 1000 1000000000 ext4       \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ home }         \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /home } .
d-i partman-lvm/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true


# Base system installation
d-i base-installer/initramfs-tools/driver-policy select most
d-i live-installer/mode select normal
d-i base-installer/kernel/image string linux-image-generic

# Account setup
d-i passwd/shadow boolean true
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false

# Package management
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/multiverse boolean true
d-i apt-setup/backports boolean true
d-i apt-setup/use_mirror boolean true
d-i apt-setup/services-select-ubuntu multiselect security, partner
d-i apt-setup/security_host string mirror.yandex.ru
d-i apt-setup/security_path string /ubuntu

# Packages
tasksel tasksel/first multiselect server, openssh-server
d-i pkgsel/include string kexec-tools open-vm-tools rng-tools zsh nano
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/update-policy select unattended-upgrades
popularity-contest popularity-contest/participate boolean true

# Boot loader
![Screenshot from 2022-04-05 18-15-17](https://user-images.githubusercontent.com/18611311/161799384-dce74d99-2ce6-48af-945a-cd09c1569b24.png)

d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean false
d-i debian-installer/add-kernel-opts string text console=tty0 console=ttyS0,115200n8

# kexec should handle reboots
kexec-tools kexec-tools/load_kexec boolean true

# Finishing up the installation
d-i finish-install/reboot_in_progress note

KDE custom ISOs always failed on installation

My Custom ISO failed on installation.

Original ISO: Ubuntu 20.04 LTS Server
Cubic Version: 2022.01.70
SO Cubic: Ubuntu 21.10 with kde-plasma-desktop

Installed pagages:
apt update && apt upgrade && apt dist-upgrade
add-apt-repository ppa:kubuntu-ppa/backports
apt upgrade
apt install kde-plasma-desktop (minimal plasma)

apt install okular && apt install imagemagick && apt install gwenview && apt install elisa && apt install kmix && apt install dragonplayer && apt install kate && apt install ark && apt install kcalc && apt install sweeper && apt install kamoso && apt install kde-spectacle && apt install simplescreenrecorder && apt install plasma-systemmonitor && apt install kwave -y

apt install cmake build-essential libkf5config-dev libkdecorations2-dev libqt5x11extras5-dev qtdeclarative5-dev extra-cmake-modules libkf5guiaddons-dev libkf5configwidgets-dev libkf5windowsystem-dev libkf5coreaddons-dev gettext libkf5style-dev

apt update && apt upgrade && apt dist-upgrade && apt autoremove && apt autoclean && apt clean

The ISO is generate, but installation guide does not start.

Thanks,
Marcelo Costa

How to use a custom compiled kernel in Cubic (Ubuntu 20.04 arm64)?

Describe the question

I am trying to install a custom kernel on the Ubuntu 20.04 Arm64 ISO.
I get a new ISO at the end but when I try booting from it the kernel panics with

/init: .: 159: Can't open /scripts/casper
[      34.851480] Kernel panic - not syncing: Attempted to kill init!

I would imagine the x86_64 and Arm64 ISOs are laid out the same?

What you have tried

Tried to search around for a solution.

Expected behavior

Expect installation to start.

OS Information (please complete the following information):

  • OS/Distro Name: Ubuntu
  • OS Version : Ubuntu 20.04 Arm64

Cubic Information (please complete the following information):

Migrate Cubic website.

Migrate the Cubic website from Launchpad to Github. Add new Wiki to replace the old Help site.

Update all links in the Cubic application to point to the new site.

Add an alert to notify users about the new web pages.

Update all Cubic highcolor icons to remove borders around all geometric shapes for a subtly more modern look.

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.