Giter Club home page Giter Club logo

Comments (17)

hungrysnake avatar hungrysnake commented on August 16, 2024 4

@PJ-Singh-001 thank you so much, finally it is working now. I've NOT created the iso file yet but at least I can get into the chroot env.

image

it is unfortunate the step isn't working (url file not found)
curl -s https://packagecloud.io/install/repositories/arkane-systems/wsl-translinux/script.deb.sh | sudo bash ---> "The page you were looking for doesn't exist."

I google a bit and here are the steps I've taken to run cubic (gui) in wsl2

# step 1. install dotnet runtime
https://docs.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install

curl -s https://dot.net/v1/dotnet-install.sh
./dotnet-install.sh -c Current --runtime aspnetcore


# step 2. install systemd-genie
https://arkane-systems.github.io/wsl-transdebian/

sudo -s
wget -O /etc/apt/trusted.gpg.d/wsl-transdebian.gpg https://arkane-systems.github.io/wsl-transdebian/apt/wsl-transdebian.gpg
chmod a+r /etc/apt/trusted.gpg.d/wsl-transdebian.gpg
cat << EOF > /etc/apt/sources.list.d/wsl-transdebian.list
deb https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main
deb-src https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main
EOF

apt update
sudo apt install -y systemd-genie

# step 3. run cubic
me@DELL9020:~$  exec /usr/bin/genie -s
me@DELL9020-wsl:~$ systemctl status
me@DELL9020-wsl:~$ cubic &
[1] 1695

from cubic.

Pawloland avatar Pawloland commented on August 16, 2024 2

May be worth mentioning - WSL now has native systemd support and WSLg is now also supported on Windows 10. To enable it, just do sudo sh -c "printf '\n[boot]\nsystemd=true' >> /etc/wsl.conf" and restart wsl. More info here

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024 1

Let's dig a bit deeper...

What is the output of?...

sudo systemctl status time-sync.target

Try launching Cubic as you did before.

sudo service dbus start
cubic &

(There is no need to use the --verbose option for this experiment).

Click Next until you get the the Terminal page, where you will again see the message:

You have exited the virtual environment.

Leave Cubic running, and in the WSL "host" terminal, execute the following:

pkexec /usr/share/cubic/commands/start-console cubic /home/me/cubic/custom-root

If this succeeds, you will see the prompt:

root@cubic

If you see the above prompt, type exit and press Enter to return back to your me@DELL9020 prompt.

However, I expect you will receive some kind of error.

Please share the screen output when you run this.

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024 1

Based on my research, systemddoes not run in WSL.

Here is a solution I found with a quick Google search: Starting services on WSL2 with systemd. I've copied the commands below for easy readability, but credit goes to the original author. I am not affiliated with this, so please make sure that you are comfortable executing the following code in WSL. There are other solutions for getting systemd to work in WSL, so you may want to do a quick Google search yourself.

sudo -s

# add Microsoft repo and install dotNet 5.0 runtime
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

apt update
apt install -y apt-transport-https

# add repo with genie
curl -s https://packagecloud.io/install/repositories/arkane-systems/wsl-translinux/script.deb.sh | sudo bash

# Install both of them
apt update
apt install -y dotnet-sdk-5.0 systemd-genie

Once you get systemd working, try the tests from the previous comment.

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

Run cubic from the command line using the verbose option, and paste the log output here.

cubic --verbose

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024
me@DELL9020:~$ cubic --verbose

Cubic - Custom Ubuntu ISO Creator

  • Set application directory.............. /usr/share/cubic
  • Set application user home.............. /home/me
  • Set application cubic version.......... 2022.01-69-release~202201160230~ubun
                                            tu20.04.1
  • Set application kernel version......... 5.10.16.3-microsoft-standard-WSL2

  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/me/.config/cubic/visited_sites
                                            .conf
  • Number of lines read................... 0
  • Set application visited sites.......... set()

  Setup file choosers

  • Setup (ignore warnings)................ copy file chooser

(cubic:8412): Gtk-WARNING **: 00:49:02.500: Content added to the action area of a dialog using header bars

(cubic:8412): Gtk-WARNING **: 00:49:02.501: Content added to the action area of a dialog using header bars
  • Setup (ignore warnings)................ directory chooser

(cubic:8412): Gtk-WARNING **: 00:49:02.526: Content added to the action area of a dialog using header bars

(cubic:8412): Gtk-WARNING **: 00:49:02.526: Content added to the action area of a dialog using header bars
  • Setup (ignore warnings)................ iso image chooser

(cubic:8412): Gtk-WARNING **: 00:49:02.559: Content added to the action area of a dialog using header bars

(cubic:8412): Gtk-WARNING **: 00:49:02.559: Content added to the action area of a dialog using header bars

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....................... 140620998768384
  • Read lines from file................... /home/me/.config/cubic/projects.conf
  • Number of lines read................... 1
  • Set application projects............... ['/home/me/cubic']

  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/me/cubic

  Directory selected

  • Directory.............................. /home/me/cubic

  Project directory changed

  • Set project directory.................. /home/me/cubic
  • Check if directory is writable......... /home/me/cubic
  • Directory is writable?................. True
  • Get file system type................... /home/me/cubic
  • Execute synchronously.................. df --output=fstype "/home/me/cubic"
  • The process id is...................... 8430
  • The file system type is................ ext4
  • Set project iso mount point............ /home/me/cubic/source-disk
  • Set project custom root directory...... /home/me/cubic/custom-root
  • Set project custom disk directory...... /home/me/cubic/custom-disk
  • Set project configuration file path.... /home/me/cubic/cubic.conf
  • Initialize configuration............... 2021 Layout
  • Set project cubic version.............. 2022.01-69-release~202201160230~ubun
                                            tu20.04.1
  • Set project create date................ 2022-01-20 00:49
  • Set status is success copy............. False
  • Set status is success extract.......... False
  • 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....................... 140621007161088
  • Create all directories in the path..... /home/me/.config/cubic
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/me/.config/cubic/projects.conf

  Initialize the status fields

  • 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

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

  Initialize the original fields


  Initialize the custom fields

  • Is page valid?......................... False
  • The generated ISO file path is......... Empty
  • Does the custom ISO file exist?........ No
  • Enable testing?........................ No

  Transition pages

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

  Clicked project page original ISO file
  name open button


  Activated ISO image chooser file

  • The selected file path is.............. /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Selected file path..................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso

  Check if the mount point is mounted

  • The mount point is..................... /home/me/cubic/source-disk
  • Is mounted?............................ False
  • Create directory....................... /home/me/cubic/source-disk

  Mount the ISO image

  • The ISO file path is................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • The mount point is..................... /home/me/cubic/source-disk
  • The user id is......................... 1000
  • The group id is........................ 1000
  • Execute synchronously.................. mount-iso
                                            /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso /home/me/cubic/source-disk
                                            1000 1000
  • The process id is...................... 8437
  • The result is.......................... Error getting authority: Error
                                            initializing authority: Could not
                                            connect: No such file or directory
  • The exit status, signal status is...... 127, None

  Initialize the status fields

  • 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

  • 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
  ISO

  • Set original iso directory value....... /home/me
  • Set original iso file name value....... ubuntu-20.04.3-desktop-amd64.iso

  Get ISO image volume id

  • ISO image.............................. /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Execute synchronously.................. isoinfo -d -i
                                            "/home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso"
  • The process id is...................... 8439
  • ISO image volume id.................... Ubuntu 20.04.3 LTS amd64
  • Set original iso volume id value....... Ubuntu 20.04.3 LTS amd64

  Get ISO image release name

  • ISO image mount point.................. /home/me/cubic/source-disk
  • File does not exist.................... /home/me/cubic/source-
                                            disk/.disk/info
  • ISO image release name................. Not found

  Get ISO image disk name

  • ISO image mount point.................. /home/me/cubic/source-disk
  • File does not exist.................... /home/me/cubic/source-
                                            disk/README.diskdefines
  • ISO image disk name.................... Not found

  Get ISO image release notes URL

  • ISO image mount point.................. /home/me/cubic/source-disk
  • Read file.............................. /home/me/cubic/source-
                                            disk/.disk/release_notes_url
  • Error. File does not exist............. /home/me/cubic/source-
                                            disk/.disk/release_notes_url
  • Is original iso version number
    valid?................................. True

  Check if the ISO image is mounted

  • The mount point is..................... /home/me/cubic/source-disk
  • The ISO file path is................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Execute synchronously.................. mount
  • The process id is...................... 8440
  • Is mounted?............................ False
  • Is original options update os
    release valid?......................... True

  Initialize the custom fields from the ISO

  • Set custom iso version number value.... 2022.01.20

  Construct custom disk image file name

  • The original disk image file name is... ubuntu-20.04.3-desktop-amd64.iso
  • The custom disk image version number
    is..................................... 2022.01.20
  • text a................................. ubuntu-
  • release................................ 20.04
  • point release.......................... .3
  • text b................................. -desktop-amd64
  • Set custom iso file name value......... ubuntu-20.04.3-2022.01.20-desktop-
                                            amd64.iso
  • Set custom iso directory value......... /home/me/cubic

  Construct custom disk image volume id

  • The original disk image volume id is... Ubuntu 20.04.3 LTS amd64
  • The custom disk image version number
    is..................................... 2022.01.20
  • text a................................. Ubuntu
  • release................................ 20.04
  • point release.......................... .3
  • text b................................. LTS amd64
  • The custom ISO volume id is too long... Trim all characters after the space
                                            at index 29
  • Set custom iso volume id value......... Ubuntu 20.04.3 2022.01.20 LTS
  • Set custom iso release name value...... Custom
  • Set custom iso disk name value......... Ubuntu 20.04.3 2022.01.20 LTS
                                            "Custom"
  • Set custom options update os release
    value.................................. True
  • Is page valid?......................... False

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

What is the output of?..

mkdir --parents /home/me/cubic/source-disk
sudo mount --options loop,uid="1000",gid="1000" "/home/me/ubuntu-20.04.3-desktop-amd64.iso" "/home/me/cubic/source-disk"
mount | grep me

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024
me@DELL9020:~$ sudo mount --options loop,uid="1000",gid="1000" "/home/me/ubuntu-20.04.3-desktop-amd64.iso" "/home/me/cubic/source-disk"
e
mount: /home/me/cubic/source-disk: WARNING: device write-protected, mounted read-only.
me@DELL9020:~$ mount | grep me
/dev/sdc on / type ext4 (rw,relatime,discard,errors=remount-ro,data=ordered)
none on /mnt/wslg type tmpfs (rw,relatime)
none on /mnt/wsl type tmpfs (rw,relatime)
tools on /init type 9p (ro,relatime,dirsync,aname=tools;fmask=022,loose,access=client,msize=65536,trans=fd,rfd=7,wfd=7)
none on /dev type devtmpfs (rw,nosuid,relatime,size=8170104k,nr_inodes=2042526,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,gid=5,mode=620,ptmxmode=000)
none on /run type tmpfs (rw,nosuid,noexec,noatime,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,noatime)
none on /run/shm type tmpfs (rw,nosuid,nodev,noatime)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,noatime,mode=755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
drivers on /usr/lib/wsl/drivers type 9p (ro,nosuid,nodev,noatime,dirsync,aname=drivers;fmask=222;dmask=222,mmap,access=client,msize=65536,trans=fd,rfd=4,wfd=4)
lib on /usr/lib/wsl/lib type 9p (ro,nosuid,nodev,noatime,dirsync,aname=lib;fmask=222;dmask=222,mmap,access=client,msize=65536,trans=fd,rfd=4,wfd=4)
none on /mnt/wslg/versions.txt type overlay (rw,relatime,lowerdir=/system/lower,upperdir=/system/rw/upper,workdir=/system/rw/work)
none on /mnt/wslg/doc type overlay (rw,relatime,lowerdir=/system/lower,upperdir=/system/rw/upper,workdir=/system/rw/work)
drvfs on /mnt/c type 9p (rw,noatime,dirsync,aname=drvfs;path=C:\;uid=1000;gid=1000;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio)
drvfs on /mnt/d type 9p (rw,noatime,dirsync,aname=drvfs;path=D:\;uid=1000;gid=1000;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio)
/home/me/ubuntu-20.04.3-desktop-amd64.iso on /home/me/cubic/source-disk type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000)

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

Thx.

In the mean time, you can unmount the ISO (or just restart your computer).

sudo umount /home/me/cubic/source-disk

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

What is the output of?...

service dbus status

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024
me@DELL9020:~$ service dbus status
 * dbus is not running

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

Are you able to start dbus in WSL using?...

sudo service dbus start

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024

@PJ-Singh-001 it works at certain level, at least im not getting the same error but another error being triggered.

me@DELL9020:~$ sudo service dbus start
 * Starting system message bus dbus                                                                    dbus[8579]: Unknown username "whoopsie" in message bus configuration file
    

after enabling dbus, i can start cubic and load the ios without error, however, the step where the virtual environment can't be started. or it got exit before the virtual environment even get started.

2022-01-21-23_59-51_CbTFQqBvqG

here is the long verbose output for your reference.

me@DELL9020:~$ cubic --verbose

Cubic - Custom Ubuntu ISO Creator

  • Set application directory.............. /usr/share/cubic
  • Set application user home.............. /home/me
  • Set application cubic version.......... 2022.01-69-release~202201160230~ubun
                                            tu20.04.1
  • Set application kernel version......... 5.10.16.3-microsoft-standard-WSL2

  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/me/.config/cubic/visited_sites
                                            .conf
  • Number of lines read................... 0
  • Set application visited sites.......... set()

  Setup file choosers

  • Setup (ignore warnings)................ copy file chooser

(cubic:8596): Gtk-WARNING **: 23:54:10.897: Content added to the action area of a dialog using header bars

(cubic:8596): Gtk-WARNING **: 23:54:10.898: Content added to the action area of a dialog using header bars
  • Setup (ignore warnings)................ directory chooser

(cubic:8596): Gtk-WARNING **: 23:54:10.928: Content added to the action area of a dialog using header bars

(cubic:8596): Gtk-WARNING **: 23:54:10.928: Content added to the action area of a dialog using header bars
  • Setup (ignore warnings)................ iso image chooser

(cubic:8596): Gtk-WARNING **: 23:54:10.961: Content added to the action area of a dialog using header bars

(cubic:8596): Gtk-WARNING **: 23:54:10.961: Content added to the action area of a dialog using header bars

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

  • Read lines from file................... /home/me/.config/cubic/projects.conf
  • Number of lines read................... 1
  • Set application projects............... ['/home/me/cubic']

  Transition pages

  • Show new page.......................... start page
  • The thread id is....................... 140101388093184

  Clicked start page project directory open
  button


  Clicked directory chooser select button

  • The selected file path is.............. /home/me/cubic

  Directory selected

  • Directory.............................. /home/me/cubic

(cubic:8596): dconf-WARNING **: 23:54:22.923: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=8710e0b77440d68b36da5bcd61e22350 --binary-syntax --close-stderr”: Child process exited with code 1

  Project directory changed

  • Set project directory.................. /home/me/cubic
  • Check if directory is writable......... /home/me/cubic
  • Directory is writable?................. True
  • Get file system type................... /home/me/cubic
  • Execute synchronously.................. df --output=fstype "/home/me/cubic"
  • The process id is...................... 8619
  • The file system type is................ ext4
  • Set project iso mount point............ /home/me/cubic/source-disk
  • Set project custom root directory...... /home/me/cubic/custom-root
  • Set project custom disk directory...... /home/me/cubic/custom-disk
  • Set project configuration file path.... /home/me/cubic/cubic.conf
  • Initialize configuration............... 2021 Layout
  • Set project cubic version.............. 2022.01-69-release~202201160230~ubun
                                            tu20.04.1
  • Set project create date................ 2022-01-21 23:54
  • Set status is success copy............. False
  • Set status is success extract.......... False
  • 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....................... 140101388093184
  • Create all directories in the path..... /home/me/.config/cubic
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/me/.config/cubic/projects.conf

  Initialize the status fields

  • 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

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

  Initialize the original fields


  Initialize the custom fields

  • Is page valid?......................... False
  • The generated ISO file path is......... Empty
  • Does the custom ISO file exist?........ No
  • Enable testing?........................ No

  Transition pages

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

  Clicked project page original ISO file
  name open button


  Activated ISO image chooser file

  • The selected file path is.............. /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Selected file path..................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso

  Check if the mount point is mounted

  • The mount point is..................... /home/me/cubic/source-disk
  • Is mounted?............................ False
  • Create directory....................... /home/me/cubic/source-disk
  • Cannot create directory................ Directory already exists

  Mount the ISO image

  • The ISO file path is................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • The mount point is..................... /home/me/cubic/source-disk
  • The user id is......................... 1000
  • The group id is........................ 1000
  • Execute synchronously.................. mount-iso
                                            /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso /home/me/cubic/source-disk
                                            1000 1000
  • The process id is...................... 8625
  • The result is.......................... mount: /home/me/cubic/source-disk:
                                            WARNING: device write-protected,
                                            mounted read-only.
  • The exit status, signal status is...... 0, None

  Initialize the status fields

  • 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

  • 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
  ISO

  • Set original iso directory value....... /home/me
  • Set original iso file name value....... ubuntu-20.04.3-desktop-amd64.iso

  Get ISO image volume id

  • ISO image.............................. /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Execute synchronously.................. isoinfo -d -i
                                            "/home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso"
  • The process id is...................... 8634
  • ISO image volume id.................... Ubuntu 20.04.3 LTS amd64
  • Set original iso volume id value....... Ubuntu 20.04.3 LTS amd64

  Get ISO image release name

  • ISO image mount point.................. /home/me/cubic/source-disk
  • ISO image release name................. Focal Fossa
  • Set original iso release name value.... Focal Fossa

  Get ISO image disk name

  • ISO image mount point.................. /home/me/cubic/source-disk
  • File does not exist.................... /home/me/cubic/source-
                                            disk/README.diskdefines
  • ISO image disk name.................... Not found

  Get ISO image release notes URL

  • ISO image mount point.................. /home/me/cubic/source-disk
  • Read file.............................. /home/me/cubic/source-
                                            disk/.disk/release_notes_url
  • Set original iso release notes url
    value.................................. http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Is original iso version number
    valid?................................. True

  Check if the ISO image is mounted

  • The mount point is..................... /home/me/cubic/source-disk
  • The ISO file path is................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Execute synchronously.................. mount
  • The process id is...................... 8635
  • 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 ISO

  • Set custom iso version number value.... 2022.01.21

  Construct custom disk image file name

  • The original disk image file name is... ubuntu-20.04.3-desktop-amd64.iso
  • The custom disk image version number
    is..................................... 2022.01.21
  • text a................................. ubuntu-
  • release................................ 20.04
  • point release.......................... .3
  • text b................................. -desktop-amd64
  • Set custom iso file name value......... ubuntu-20.04.3-2022.01.21-desktop-
                                            amd64.iso
  • Set custom iso directory value......... /home/me/cubic

  Construct custom disk image volume id

  • The original disk image volume id is... Ubuntu 20.04.3 LTS amd64
  • The custom disk image version number
    is..................................... 2022.01.21
  • text a................................. Ubuntu
  • release................................ 20.04
  • point release.......................... .3
  • text b................................. LTS amd64
  • The custom ISO volume id is too long... Trim all characters after the space
                                            at index 29
  • Set custom iso volume id value......... Ubuntu 20.04.3 2022.01.21 LTS
  • Set custom iso release name value...... Custom Focal Fossa
  • Set custom iso disk name value......... Ubuntu 20.04.3 2022.01.21 LTS
                                            "Custom Focal Fossa"
  • Set custom iso release notes url
    value.................................. http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • 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/me/cubic
  • 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
  • Is page valid?......................... True

(cubic:8596): dconf-WARNING **: 23:54:27.444: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=8710e0b77440d68b36da5bcd61e22350 --binary-syntax --close-stderr”: Child process exited with code 1
  • 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....................... 140101404878592
  • Set project modify date................ 2022-01-21 23:54
  • Set original iso file name............. ubuntu-20.04.3-desktop-amd64.iso
  • Set original iso directory............. /home/me
  • Set original iso volume id............. Ubuntu 20.04.3 LTS amd64
  • Set original iso release name.......... Focal Fossa
  • Set original iso release notes url..... http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Set custom iso version number.......... 2022.01.21
  • Set custom iso file name............... ubuntu-20.04.3-2022.01.21-desktop-
                                            amd64.iso
  • Set custom iso directory............... /home/me/cubic
  • Set custom iso volume id............... Ubuntu 20.04.3 2022.01.21 LTS
  • Set custom iso release name............ Custom Focal Fossa
  • Set custom iso disk name............... Ubuntu 20.04.3 2022.01.21 LTS
                                            "Custom Focal Fossa"
  • Set custom iso release notes url....... http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Set options update os release.......... True
  • Set options boot configurations........ ['boot/grub/grub.cfg',
                                            'boot/grub/loopback.cfg',
                                            'isolinux/txt.cfg']

  Save configuration

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

  Update the custom ISO release notes url

  • The custom ISO release notes URL is.... http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Create all directories in the path..... /home/me/cubic/custom-disk/.disk
  • Write to file.......................... /home/me/cubic/custom-
                                            disk/.disk/release_notes_url

  Transition pages

  • Hide old page.......................... project page
  • Show new page.......................... extract page
  • Delete existing files with pattern..... /home/me/cubic/partition-[1-9].img

  Generate the ISO template

  • Get ISO report for..................... /home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Execute synchronously.................. xorriso -indev
                                            "/home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso" -report_el_torito
                                            as_mkisofs
  • The process id is...................... 8640
  • The ISO report is...................... -V 'Ubuntu 20.04.3 LTS amd64'
                                            --modification-
                                            date='2021081911033800'  -isohybrid-
                                            mbr --interval:local_fs:0s-15s:zero_
                                            mbrpt,zero_gpt,zero_apm:'/home/me/ub
                                            untu-20.04.3-desktop-amd64.iso'
                                            -partition_cyl_align on
                                            -partition_offset 0
                                            -partition_hd_cyl 184
                                            -partition_sec_hd 32  --mbr-force-
                                            bootable  -apm-block-size 2048
                                            -iso_mbr_part_type 0x00  -c
                                            '/isolinux/boot.cat'  -b
                                            '/isolinux/isolinux.bin'  -no-emul-
                                            boot  -boot-load-size 4  -boot-info-
                                            table  -eltorito-alt-boot  -e
                                            '/boot/grub/efi.img'  -no-emul-boot
                                            -boot-load-size 8000  -isohybrid-
                                            gpt-basdat  -isohybrid-apm-hfsplus
  • The interval path is................... -isohybrid-mbr --interval:local_fs:0
                                            s-15s:zero_mbrpt,zero_gpt,zero_apm:'
                                            /home/me/ubuntu-20.04.3-desktop-
                                            amd64.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/me/ubuntu-20.04.3-desktop-
                                            amd64.iso
  • Extract image to....................... /home/me/cubic/partition-1.img
  • Extract image blocks................... block size: 2048, skip blocks: 0,
                                            block count: 16
  • Execute synchronously.................. dd
                                            if="/home/me/ubuntu-20.04.3-desktop-
                                            amd64.iso" bs="2048" skip="0"
                                            count="16"
                                            of="/home/me/cubic/partition-1.img"
  • The process id is...................... 8641
  • The result is.......................... 16+0 records in  16+0 records out
                                            32768 bytes (33 kB, 32 KiB) copied,
                                            0.0001167 s, 281 MB/s
  • The exit status, signal status is...... 0, None
  • The interval path is................... -isohybrid-mbr --interval:local_fs:0
                                            s-15s:zero_mbrpt,zero_gpt,zero_apm:'
                                            {boot_image_directory}/partition-1.i
                                            mg'
  • Set status iso template................ 789C7D51C16E83300CBDF315B971990BED98
                                            54F121BB464930D45A885112AAD2AAFFBE84
                                            D18DD32ED1D3B3F3DEB30D9FA27C5CD9CE23
                                            4AEA9E650114F8B2684F1D8CDA0B007211FD
                                            55D9D6B25156F6A1AD031C3F427B47CF32F5
                                            4CF16D85C30BA8696CCB87668E924635A0EC
                                            C8A389EC976735291F29123B381E681C92DF
                                            2F23CD62A5B23438C16ECF73DF078CA2DE73
                                            972EB78BE3B9D9B3014DAA88F75301393DF4
                                            EC0D424EA2B4C5025232D0698E2F08744771
                                            AA9BF33A701E436619199709457DAB939911
                                            65956A96DC7CABB2C6C1A89802EB3DFF0207
                                            4D2ED51C038EB35D2D8BF505CBAAFBB16B36
                                            865CCFB025429BF6429141D9B8FDC2A49F51
                                            35F85957D8D3B6A87FB5CF758EFC77BB740C
                                            D02A742AEED93CFFA50F939D43F10D7496B2
                                            84

  Find the compressed Linux file system

  • Find the directory for
    filesystem.squashfs in................. /home/me/cubic/source-disk
  • Found the compressed Linux file
    system................................. casper/filesystem.squashfs
  • Set status casper directory............ casper
  • Set status squashfs file name.......... filesystem

  Copy important files from the original
  disk image

  • The source file path is................ /home/me/cubic/source-disk/
  • The target file path is................ /home/me/cubic/custom-disk/
  • Started process thread id.............. 140101388093184
  • Process started by thread id........... 140101404878592
  • The process started at................. 23:54:39.367059
  • Execute asynchronously................. rsync --info=progress2
                                            "/home/me/cubic/source-disk/"
                                            "/home/me/cubic/custom-disk/"
                                            --delete --recursive --links
                                            --chmod=u+rwX,g=rX,o=rX
                                            --exclude="md5sum.txt"
                                            --exclude="MD5SUMS"
                                            --exclude=".disk/release_notes_url"
                                            --exclude="/casper/filesystem.manife
                                            st"
                                            --exclude="/casper/filesystem.size"
                                            --exclude="/casper/filesystem.squash
                                            fs" --exclude="/casper/filesystem.sq
                                            uashfs.gpg"
  • The process id is...................... 8644
  • Completed.............................. 10%
  • Completed.............................. 20%
  • Completed.............................. 30%
  • Completed.............................. 40%
  • Completed.............................. 50%
  • Completed.............................. 60%
  • Completed.............................. 70%
  • Completed.............................. 80%
  • Completed.............................. 90%
  • The process finished at................ 23:55:05.439686
  • The exit status, signal status is...... 0, None
  • The message is......................... 58.96MB/s    0:00:14 (xfr#845, to-
                                            chk=0/1037)
  • Stopped process thread id.............. 140101388093184
  • Adjust the final percent............... from 99.00% to 100.00%
  • Completed.............................. 100%
  • Set status is success copy............. True

  Extract the compressed Linux file system

  • The target file path is................ /home/me/cubic/custom-root
  • The source file path is................ /home/me/cubic/source-
                                            disk/casper/filesystem.squashfs
  • Started process thread id.............. 140101388093184
  • Process started by thread id........... 140101404878592
  • The process started at................. 23:55:06.456226
  • Execute asynchronously................. extract-root /home/me/cubic/custom-
                                            root /home/me/cubic/source-
                                            disk/casper/filesystem.squashfs
  • The process id is...................... 8648
  • Completed.............................. 10%
  • Completed.............................. 20%
  • Completed.............................. 30%
  • Completed.............................. 40%
  • Completed.............................. 50%
  • Completed.............................. 60%
  • Completed.............................. 70%
  • Completed.............................. 80%
  • Completed.............................. 90%
  • Completed.............................. 100%
  • Set status is success extract.......... True

Get the new page

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

Navigate from extract page to terminal page on next action


  Save configuration

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

  Transition pages

  • Hide old page.......................... extract page
  • Show new page.......................... terminal page

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root
Gdk-Message: 23:58:42.486: Unable to load hand2 from the cursor theme
  • Execute synchronously.................. replace-text DISTRIB_DESCRIPTION.*
                                            DISTRIB_DESCRIPTION="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:54)" /home/me/cubic/custom-
                                            root/etc/lsb-release
  • The process id is...................... 8663

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375266624
  • The pseudo terminal process id is...... 8662
  • Subscribe to virtual environment
    exited events for process id........... 8662
  • The process finished at................ 23:58:47.170189
  • The exit status, signal status is...... 0, None
  • The message is......................... created 155722 files created 19319
                                            directories created 29184 symlinks
                                            created 8 devices created 0 fifos
  • Stopped process thread id.............. 140101388093184
  • Execute synchronously.................. replace-text PRETTY_NAME.*
                                            PRETTY_NAME="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:54)" /home/me/cubic/custom-
                                            root/usr/lib/os-release
  • The process id is...................... 8671

  Exited virtual environment

  • Process id............................. 8662
  • Pseudo terminal........................ 10
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375266624
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 1 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375200320
  • The pseudo terminal process id is...... 8679
  • Subscribe to virtual environment
    exited events for process id........... 8679

  Exited virtual environment

  • Process id............................. 8679
  • Pseudo terminal........................ 15
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375200320
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 2 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375266112
  • The pseudo terminal process id is...... 8687
  • Subscribe to virtual environment
    exited events for process id........... 8687

  Exited virtual environment

  • Process id............................. 8687
  • Pseudo terminal........................ 10
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375266112
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 3 of 3 times
  • Attempt to restart the virtual
    environment?........................... No
  • Send bytes to terminal................. You have exited the virtual
                                            environment.
  • Clicked................................ Back

Handle navigation from terminal page on back action

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

Get the new page

  • Current page........................... terminal page
  • Action................................. back
  • New page............................... project page

Navigate from terminal page to project page on back action

  • The thread id is....................... 140101404878592

  Exit virtual environment

  • There is no virtual environment to
    exit. The pseudo terminal is........... None
  • Delete file............................ /home/me/cubic/.#custom-root.lck
  • Execute synchronously.................. delete-path /home/me/cubic/.#custom-
                                            root.lck
  • The process id is...................... 8696
  • The result is.......................... None
  • The exit status, signal status is...... 0, None

  Initialize the status fields from the
  model

  • Set status is success copy............. True
  • Set status is success extract.......... True
  • Set status iso template................ 789C7D51C16E83300CBDF315B971990BED98
                                            54F121BB464930D45A885112AAD2AAFFBE84
                                            D18DD32ED1D3B3F3DEB30D9FA27C5CD9CE23
                                            4AEA9E650114F8B2684F1D8CDA0B007211FD
                                            55D9D6B25156F6A1AD031C3F427B47CF32F5
                                            4CF16D85C30BA8696CCB87668E924635A0EC
                                            C8A389EC976735291F29123B381E681C92DF
                                            2F23CD62A5B23438C16ECF73DF078CA2DE73
                                            972EB78BE3B9D9B3014DAA88F75301393DF4
                                            EC0D424EA2B4C5025232D0698E2F08744771
                                            AA9BF33A701E436619199709457DAB939911
                                            65956A96DC7CABB2C6C1A89802EB3DFF0207
                                            4D2ED51C038EB35D2D8BF505CBAAFBB16B36
                                            865CCFB025429BF6429141D9B8FDC2A49F51
                                            35F85957D8D3B6A87FB5CF758EFC77BB740C
                                            D02A742AEED93CFFA50F939D43F10D7496B2
                                            84
  • Set status casper directory............ casper
  • Set status squashfs file name.......... filesystem
  • Set status iso checksum................ Empty
  • Set status iso checksum file name...... Empty
  • The generated ISO file path is......... Empty
  • Does the custom ISO file exist?........ No
  • Enable testing?........................ No

  Transition pages

  • Hide old page.......................... terminal page
  • Show new page.......................... project page
  • Clicked................................ Customize

Handle navigation from project page on next terminal action

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

Get the new page

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

Navigate from project page to terminal page on next terminal action

  • The thread id is....................... 140101404878592
  • Set project modify date................ 2022-01-21 23:59

  Save configuration

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

  Update the custom ISO release notes url

  • The custom ISO release notes URL is.... http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Create all directories in the path..... /home/me/cubic/custom-disk/.disk
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/me/cubic/custom-
                                            disk/.disk/release_notes_url

  Transition pages

  • Hide old page.......................... project page
  • Show new page.......................... terminal page

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root
  • Execute synchronously.................. replace-text DISTRIB_DESCRIPTION.*
                                            DISTRIB_DESCRIPTION="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:59)" /home/me/cubic/custom-
                                            root/etc/lsb-release

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375251328
  • The pseudo terminal process id is...... 8702
  • Subscribe to virtual environment
    exited events for process id........... 8702
  • The process id is...................... 8705

  Exited virtual environment

  • Process id............................. 8702
  • Pseudo terminal........................ 15
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375251328
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 1 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375266624
  • The pseudo terminal process id is...... 8714
  • Subscribe to virtual environment
    exited events for process id........... 8714

  Exited virtual environment

  • Process id............................. 8714
  • Pseudo terminal........................ 10
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375266624
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 2 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375266624
  • The pseudo terminal process id is...... 8722
  • Subscribe to virtual environment
    exited events for process id........... 8722

  Exited virtual environment

  • Process id............................. 8722
  • Pseudo terminal........................ 15
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375266624
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 3 of 3 times
  • Execute synchronously.................. replace-text PRETTY_NAME.*
                                            PRETTY_NAME="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:59)" /home/me/cubic/custom-
                                            root/usr/lib/os-release
  • The process id is...................... 8730
  • Attempt to restart the virtual
    environment?........................... No
  • Send bytes to terminal................. You have exited the virtual
                                            environment.
  • Clicked................................ Back

Handle navigation from terminal page on back action

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

Get the new page

  • Current page........................... terminal page
  • Action................................. back
  • New page............................... project page

Navigate from terminal page to project page on back action

  • The thread id is....................... 140101388093184

  Exit virtual environment

  • There is no virtual environment to
    exit. The pseudo terminal is........... None
  • Delete file............................ /home/me/cubic/.#custom-root.lck
  • Execute synchronously.................. delete-path /home/me/cubic/.#custom-
                                            root.lck
  • The process id is...................... 8735
  • The result is.......................... None
  • The exit status, signal status is...... 0, None

  Initialize the status fields from the
  model

  • Set status is success copy............. True
  • Set status is success extract.......... True
  • Set status iso template................ 789C7D51C16E83300CBDF315B971990BED98
                                            54F121BB464930D45A885112AAD2AAFFBE84
                                            D18DD32ED1D3B3F3DEB30D9FA27C5CD9CE23
                                            4AEA9E650114F8B2684F1D8CDA0B007211FD
                                            55D9D6B25156F6A1AD031C3F427B47CF32F5
                                            4CF16D85C30BA8696CCB87668E924635A0EC
                                            C8A389EC976735291F29123B381E681C92DF
                                            2F23CD62A5B23438C16ECF73DF078CA2DE73
                                            972EB78BE3B9D9B3014DAA88F75301393DF4
                                            EC0D424EA2B4C5025232D0698E2F08744771
                                            AA9BF33A701E436619199709457DAB939911
                                            65956A96DC7CABB2C6C1A89802EB3DFF0207
                                            4D2ED51C038EB35D2D8BF505CBAAFBB16B36
                                            865CCFB025429BF6429141D9B8FDC2A49F51
                                            35F85957D8D3B6A87FB5CF758EFC77BB740C
                                            D02A742AEED93CFFA50F939D43F10D7496B2
                                            84
  • Set status casper directory............ casper
  • Set status squashfs file name.......... filesystem
  • Set status iso checksum................ Empty
  • Set status iso checksum file name...... Empty
  • The generated ISO file path is......... Empty
  • Does the custom ISO file exist?........ No
  • Enable testing?........................ No

  Transition pages

  • Hide old page.......................... terminal page
  • Show new page.......................... project page
  • Clicked................................ Customize

Handle navigation from project page on next terminal action

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

Get the new page

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

Navigate from project page to terminal page on next terminal action
  • The thread id is....................... 140101388093184


  Save configuration

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

  Update the custom ISO release notes url

  • The custom ISO release notes URL is.... http://www.ubuntu.com/getubuntu/rele
                                            asenotes?os=ubuntu&ver=20.04.3&lang=
                                            ${LANG}
  • Create all directories in the path..... /home/me/cubic/custom-disk/.disk
  • Cannot create directories.............. The directory path already exists
  • Write to file.......................... /home/me/cubic/custom-
                                            disk/.disk/release_notes_url

  Transition pages

  • Hide old page.......................... project page
  • Show new page.......................... terminal page

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root
  • Execute synchronously.................. replace-text DISTRIB_DESCRIPTION.*
                                            DISTRIB_DESCRIPTION="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:59)" /home/me/cubic/custom-
                                            root/etc/lsb-release
  • The process id is...................... 8742

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375267264
  • The pseudo terminal process id is...... 8741
  • Subscribe to virtual environment
    exited events for process id........... 8741

  Exited virtual environment

  • Process id............................. 8741
  • Pseudo terminal........................ 10
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375267264
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 1 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375266624
  • The pseudo terminal process id is...... 8753
  • Subscribe to virtual environment
    exited events for process id........... 8753

  Exited virtual environment

  • Process id............................. 8753
  • Pseudo terminal........................ 15
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375266624
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 2 of 3 times
  • Attempt to restart the virtual
    environment?........................... Yes

  Enter virtual environment

  • The virtual environment directory is... /home/me/cubic/custom-root
  • Command................................ start-console cubic
                                            /home/me/cubic/custom-root

  Watch virtual environment

  • System bus id.......................... 140101405169024
  • Subscribe to virtual environment
    entered signals with subscription id... 140101375268416
  • The pseudo terminal process id is...... 8761
  • Subscribe to virtual environment
    exited events for process id........... 8761

  Exited virtual environment

  • Process id............................. 8761
  • Pseudo terminal........................ 10
  • Status................................. 256
  • Signal................................. 0
  • Exit Code.............................. 1
  • Virtual environment status message..... You are not in the virtual
                                            environment.
  • Unsubscribe from virtual environment
    entered signals with subscription id... 140101375268416
  • MAX_ATTEMPTS........................... 3
  • First time............................. True
  • Reenter................................ True
  • Attempts............................... 3 of 3 times
  • Execute synchronously.................. replace-text PRETTY_NAME.*
                                            PRETTY_NAME="Ubuntu 20.04.3
                                            2022.01.21 LTS (Cubic 2022-01-21
                                            23:59)" /home/me/cubic/custom-
                                            root/usr/lib/os-release
  • The process id is...................... 8769
  • Attempt to restart the virtual
    environment?........................... No
  • Send bytes to terminal................. You have exited the virtual
                                            environment.


from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

What is the output of?...

ps --no-headers -o comm 1

I'm not sure if WSL allows you to open separate terminal windows for the same "session", so you run Cubic using & at the end to make Cubic run in the background.

cubic &

Then, when you get to the Terminal page, check the status of the dbus service on your "host" system to make sure it is still running.

service dbus status

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024

image

me@DELL9020:~$ ps --no-headers -o comm 1
init
me@DELL9020:~$ cubic &
[1] 8776
me@DELL9020:~$ service dbus status
 * dbus is running

from cubic.

hungrysnake avatar hungrysnake commented on August 16, 2024

indeed. the error occurred.

me@DELL9020:~$ sudo systemctl status time-sync.target
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
me@DELL9020:~$ sudo service dbus start
cubic &
 * Starting system message bus dbus                                dbus[92]: Unknown username "whoopsie" in message bus configuration file
                                                            [ OK ]
me@DELL9020:~$ cubic &
[1] 96
me@DELL9020:~$
(cubic:96): Gtk-WARNING **: 20:23:38.390: Content added to the action area of a dialog using header bars

(cubic:96): Gtk-WARNING **: 20:23:38.390: Content added to the action area of a dialog using header bars

(cubic:96): Gtk-WARNING **: 20:23:38.411: Content added to the action area of a dialog using header bars

(cubic:96): Gtk-WARNING **: 20:23:38.411: Content added to the action area of a dialog using header bars

(cubic:96): Gtk-WARNING **: 20:23:38.433: Content added to the action area of a dialog using header bars

(cubic:96): Gtk-WARNING **: 20:23:38.433: Content added to the action area of a dialog using header bars
Gdk-Message: 20:23:54.488: Unable to load hand2 from the cursor theme

me@DELL9020:~$ pkexec /usr/share/cubic/commands/start-console cubic /home/me/cubic/custom-root
Failed to register machine: Launch helper exited with unknown return code 1
me@DELL9020:~$

from cubic.

PJ-Singh-001 avatar PJ-Singh-001 commented on August 16, 2024

This is fantastic!

Thanks for sharing the steps you used to get systemd to work in WSL.

I’m sure this will be very helpful for others.

from cubic.

Related Issues (20)

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.