PJ-Singh-001 / Cubic

The Official Web Site for Cubic (Custom Ubuntu ISO Creator) (https://github.com/PJ-Singh-001/Cubic)
810 stars 47 forks source link

Cubic error "Unable to test generated ISO" #142

Closed mikejp56 closed 7 months ago

mikejp56 commented 1 year ago

Hi PJ, I am using Cubic on Linux Mint 20.3 host system, and modifying the downloaded Mint 20.3 .ISO file. I just installed a bunch of apps from the virtual terminal and proceeded to generate the ISO file. It generated successfully, but when I pressed Test, the error message "Unable to test generated ISO" was shown. Can you please help me out? Thanks for your time. Regards, mikejp56

PJ-Singh-001 commented 1 year ago

You may have the ISO already open in another emulator.

Make sure you do not have another QEMU or Virtual Box instance open.

If that is not the issue, run Cubic using...

cubic --verbose

Then paste the output here, after you click the Test button.

I'll take a look at the error log and request you to follow up with additional information to determine the cause.

Here is an sample output when the QEMU emulator is unable to launch. Even though the output shows Emulator status as Started, there is an Exit Code of 1 towards the bottom of the log output (which corresponds to some kind of error).

Navigate from finish page to test 2 page on test action

• Removing label from box................ • The host system supports
• The thread id is....................... 140196993562176
                                          virtualization for improved
                                          performance.
• Removing label from box................ • The memory available for testing
                                          is 3.75 GiB.
• Removing label from box................ • Use Ctrl-Alt-G (or Ctrl-Alt) to
                                          toggle mouse and keyboard capture.
• Total system memory.................... 15.51 GiB (15879.59 MiB)
• Available system memory................ 4.23 GiB (4328.01 MiB)
• Memory allocated to the emulator....... 3.00 GiB (3584.00 MiB)
• Reserved system memory................. 0.73 GiB (744.01 MiB)
• The host system supports
  virtualization?........................ True
• System supports virtualization......... True
• Execute synchronously.................. dpkg-query
                                          --admindir="/var/lib/dpkg" --show
                                          --showformat="${Version} " "qemu-
                                          system-gui"
• The process id is...................... 20121
• The host system supports GTK
  display?............................... True
• System supports GTK display............ True
• Execute asynchronously................. qemu-system-x86_64 --name "Cubic" -M
                                          pc -enable-kvm -cpu host -m 3584M
                                          -display gtk,zoom-to-fit=on -device
                                          intel-hda -device hda-duplex -drive
                                          format=raw,file="/ust/tst/Ubuntu/xub
                                          untu-18.04.1-2022.12.16-desktop-
                                          amd64.iso"
• The process id is...................... 20122
• Subscribe to emulator exited events
  for process id......................... 20122
• Emulator status........................ Started
• The host system supports
  virtualization?........................ True

Transition pages

• Hide old page.......................... finish page
• Show new page.......................... test 2 page
• Emulator status........................ Exited
• Process id............................. 20122
• Status................................. 256
• Signal................................. 0
• Exit Code.............................. 1
• Removing label from box................ • The host system supports
                                          virtualization for improved
                                          performance.
• Removing label from box................ • The memory available for testing
                                          is 3.50 GiB.
• Removing label from box................ • Use Ctrl-Alt-G (or Ctrl-Alt) to
                                          toggle mouse and keyboard capture.
mikejp56 commented 1 year ago

Hi PJ, Thank you for the quick response. I will run Cuic with the verbose switch and let you know how it goes. Regards, mikejp56

On Fri, Dec 16, 2022 at 10:11 AM PJ Singh @.***> wrote:

You may have the ISO already open in another emulator.

Make sure you do not have another QEMU or Virtual Box instance open.

If that is not the issue, run Cubic using...

cubic --verbose

Then paste the output here, after you click the Test button.

I'll take a look at the error log and request you to follow up with additional information to determine the cause.

Here is an sample output when the QEMU emulator is unable to launch. Even though the output shows Emulator status as Started, there is an Exit Code of 1 towards the bottom of the log output (which corresponds to some kind of error).

Navigate from finish page to test 2 page on test action

• Removing label from box................ • The host system supports

• The thread id is....................... 140196993562176

                                      virtualization for improved

                                      performance.

• Removing label from box................ • The memory available for testing

                                      is 3.75 GiB.

• Removing label from box................ • Use Ctrl-Alt-G (or Ctrl-Alt) to

                                      toggle mouse and keyboard capture.

• Total system memory.................... 15.51 GiB (15879.59 MiB)

• Available system memory................ 4.23 GiB (4328.01 MiB)

• Memory allocated to the emulator....... 3.00 GiB (3584.00 MiB)

• Reserved system memory................. 0.73 GiB (744.01 MiB)

• The host system supports

virtualization?........................ True

• System supports virtualization......... True

• Execute synchronously.................. dpkg-query

                                      --admindir="/var/lib/dpkg" --show

                                      --showformat="${Version} " "qemu-

                                      system-gui"

• The process id is...................... 20121

• The host system supports GTK

display?............................... True

• System supports GTK display............ True

• Execute asynchronously................. qemu-system-x86_64 --name "Cubic" -M

                                      pc -enable-kvm -cpu host -m 3584M

                                      -display gtk,zoom-to-fit=on -device

                                      intel-hda -device hda-duplex -drive

                                      format=raw,file="/ust/tst/Ubuntu/xub

                                      untu-18.04.1-2022.12.16-desktop-

                                      amd64.iso"

• The process id is...................... 20122

• Subscribe to emulator exited events

for process id......................... 20122

• Emulator status........................ Started

• The host system supports

virtualization?........................ True

Transition pages

• Hide old page.......................... finish page

• Show new page.......................... test 2 page

• Emulator status........................ Exited

• Process id............................. 20122

• Status................................. 256

• Signal................................. 0

• Exit Code.............................. 1

• Removing label from box................ • The host system supports

                                      virtualization for improved

                                      performance.

• Removing label from box................ • The memory available for testing

                                      is 3.50 GiB.

• Removing label from box................ • Use Ctrl-Alt-G (or Ctrl-Alt) to

                                      toggle mouse and keyboard capture.

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355034991, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGXG3OY4OC4QAIVLIXLWNSBCJANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

mikejp56 commented 1 year ago

Hi PJ, I did get an error code 1. Here is the entire log listing. It is quite long! @.***:~$ cubic --verbose

Cubic - Custom Ubuntu ISO Creator

• Set application directory.............. /usr/share/cubic

• Set application user home.............. /home/mike

• Execute synchronously.................. dpkg-query

                                        --admindir="/var/lib/dpkg"

--show --showformat="${Version} " "cubic" • The process id is...................... 1705

• Set application cubic version.......... 2022.12-74-release~202212012320~ubun tu20.04.1

• Set application kernel version......... 5.4.0-135-generic

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

• Setup.................................. test 1 page

• Setup.................................. test 2 page

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

• Set application configuration.......... /home/mike/.config/cubic/cubic.conf

Load application configuration

• Load application configuration......... 2022 layout from

/home/mike/.config/cubic/cubic.conf • Set application visited sites.......... []

• Set application projects............... ['/home/mike/Desktop/Custom_Mint', '

/home/mike/Desktop/Custom_Linux_Mint ', '/home/mike/Desktop/Untitled

                                        Folder']

• Set application iso file path.......... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

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/mike/Desktop/Custom_Mint

Directory selected

• Directory.............................. /home/mike/Desktop/Custom_Mint

Project directory changed

• Set project directory.................. /home/mike/Desktop/Custom_Mint

• Check if directory is writable......... /home/mike/Desktop/Custom_Mint

• Directory is writable?................. True

• Get file system type................... /home/mike/Desktop/Custom_Mint

• Execute synchronously.................. df --output=fstype

"/home/mike/Desktop/Custom_Mint" • The process id is...................... 1758

• The file system type is................ ext4

• Set project configuration.............. /home/mike/Desktop/Custom_Mint/cubic .conf

Initialize

• Set project iso mount point............ /home/mike/Desktop/Custom_Mint/sourc e-disk

• Set project custom root directory...... /home/mike/Desktop/Custom_Mint/custo m-root

• Set project custom disk directory...... /home/mike/Desktop/Custom_Mint/custo m-disk

• Set status is success copy............. False

• Set status is success extract.......... False

• Set project cubic version.............. 2022.12-74-release~202212012320~ubun tu20.04.1

• Set project create date................ 2022-12-16 10:57

• 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

Initialize the status fields

• The thread id is....................... 140111604860672

• Set status is success copy............. False

• Set status is success extract.......... False

• Set status iso template................ Empty

• Set status squashfs directory.......... Empty

• Set status squashfs file name.......... Empty

• Set status casper directory............ Empty

• Set status iso checksum................ Empty

• Set status iso checksum file name...... Empty

Initialize the options fields

• Set options boot configurations........ []

• Set options compression................ Empty

Initialize the original fields

Initialize the custom fields

• Is page valid?......................... False

• Execute synchronously.................. dpkg-query

                                        --admindir="/var/lib/dpkg"

--show --showformat="${Version} " "qemu- system-x86"

• The process id is...................... 1760

• 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

Clicked ISO image chooser select button

• The selected file path is.............. /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Selected file path..................... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

Check if the mount point is mounted

• The mount point is..................... /home/mike/Desktop/Custom_Mint/sourc e-disk

• Is mounted?............................ False

• Create directory....................... /home/mike/Desktop/Custom_Mint/sourc e-disk

Mount the ISO image

• The ISO file path is................... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• The mount point is..................... /home/mike/Desktop/Custom_Mint/sourc e-disk

• The user id is......................... 1000

• The group id is........................ 1000

• Execute synchronously.................. mount-iso /home/mike/Desktop/Linux_M

int_21/linuxmint-21-cinnamon-64bit.i so /home/mike/Desktop/Custom_Mint/so urce-disk 1000 1000

• The process id is...................... 1788

• The result is.......................... mount: /home/mike/Desktop/Custom_Min t/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 squashfs directory.......... Empty

• Set status squashfs file name.......... Empty

• Set status casper directory............ Empty

• Set status iso checksum................ Empty

• Set status iso checksum file name...... Empty

Initialize the options fields

• Set options boot configurations........ []

• Set options compression................ Empty

Initialize the original fields from the ISO

• Set original iso directory value....... /home/mike/Desktop/Linux_Mint_21 • Set original iso file name value....... linuxmint-21-cinnamon-64bit.iso

Get ISO image volume id

• ISO image.............................. /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Execute synchronously.................. isoinfo -d -i "/home/mike/Desktop/Li

nux_Mint_21/linuxmint-21-cinnamon-64 bit.iso"

• The process id is...................... 1797

• ISO image volume id.................... Linux Mint 21 Cinnamon 64-bit

• Set original iso volume id value....... Linux Mint 21 Cinnamon 64-bit

Get ISO image release name

• ISO image mount point.................. /home/mike/Desktop/Custom_Mint/sourc e-disk

• ISO image release name................. Vanessa

• Set original iso release name value.... Vanessa

Get ISO image disk name

• ISO image mount point.................. /home/mike/Desktop/Custom_Mint/sourc e-disk

• ISO image disk name.................... Linux Mint 21 "Vanessa" - Release amd64

• Set original iso disk name value....... Linux Mint 21 "Vanessa" - Release amd64

Get ISO image release notes URL

• ISO image mount point.................. /home/mike/Desktop/Custom_Mint/sourc e-disk

• Read file.............................. /home/mike/Desktop/Custom_Mint/sourc e-disk/.disk/release_notes_url

• Set original iso release notes url value.................................. http://www.linuxmint.com/rel_vanessa _cinnamon.php

• Is original iso version number valid?................................. True

Check if the ISO image is mounted

• The mount point is..................... /home/mike/Desktop/Custom_Mint/sourc e-disk

• The ISO file path is................... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Execute synchronously.................. mount

• The process id is...................... 1799

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

Construct custom disk image file name

• The original disk image file name is... linuxmint-21-cinnamon-64bit.iso

• The custom disk image version number is..................................... 2022.12.16

• Set custom iso file name value......... linuxmint-21-cinnamon-64bit-2022.12. 16.iso

• Set custom iso directory value......... /home/mike/Desktop/Custom_Mint

Construct custom disk image volume id

• The original disk image volume id is... Linux Mint 21 Cinnamon 64-bit

• The custom disk image version number is..................................... 2022.12.16

• The custom ISO volume id is too long... Trim all characters after the space at index 29

• Set custom iso volume id value......... Linux Mint 21 Cinnamon 64-bit

• Set custom iso release name value...... Custom Vanessa

• Set custom iso disk name value......... Linux Mint 21 Cinnamon 64-bit

                                        "Custom Vanessa"

• Set custom iso release notes url value.................................. http://www.linuxmint.com/rel_vanessa _cinnamon.php

• 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/mike/Desktop/Custom_Mint

• 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

• 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

• The thread id is....................... 140111588472576

Navigate from project page to extract page on next action

• Set project modify date................ 2022-12-16 10:58

• Set original iso file name............. linuxmint-21-cinnamon-64bit.iso

• Set original iso directory............. /home/mike/Desktop/Linux_Mint_21 • Set original iso volume id............. Linux Mint 21 Cinnamon 64-bit

• Set original iso release name.......... Vanessa

• Set original iso disk name............. Linux Mint 21 "Vanessa" - Release amd64

• Set original iso release notes url..... http://www.linuxmint.com/rel_vanessa _cinnamon.php

• Set custom iso version number.......... 2022.12.16

• Set custom iso file name............... linuxmint-21-cinnamon-64bit-2022.12. 16.iso

• Set custom iso directory............... /home/mike/Desktop/Custom_Mint

• Set custom iso volume id............... Linux Mint 21 Cinnamon 64-bit

• Set custom iso release name............ Custom Vanessa

• Set custom iso disk name............... Linux Mint 21 Cinnamon 64-bit

                                        "Custom Vanessa"

• Set custom iso release notes url....... http://www.linuxmint.com/rel_vanessa _cinnamon.php

• Set options update os release.......... True

• Set options boot configurations........ []

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint

• Not creating directories............... The directory path already exists

Save project configuration

• Save project configuration............. 2022 layout to /home/mike/Desktop/Cu stom_Mint/cubic.conf

Update the custom ISO release notes url

• The custom ISO release notes URL is.... http://www.linuxmint.com/rel_vanessa _cinnamon.php

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint/custo m-disk/.disk

• Write to file.......................... /home/mike/Desktop/Custom_Mint/custo m-disk/.disk/release_notes_url

Transition pages

• Hide old page.......................... project page

• Show new page.......................... extract page

• Delete existing files with pattern..... /home/mike/Desktop/Custom_Mint/parti tion-[1-9].img

Generate the ISO template

• Get ISO report for..................... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Execute synchronously.................. xorriso -indev "/home/mike/Desktop/L

inux_Mint_21/linuxmint-21-cinnamon-6 4bit.iso" -report_el_torito

                                        as_mkisofs

• The process id is...................... 1803

• The ISO report is...................... -V 'Linux Mint 21 Cinnamon 64-bit' --modification-

                                        date='2022072615244400'

--grub2-mbr

--interval:local_fs:0s-15s:zero_mbrp

t,zero_gpt:'/home/mike/Desktop/Linux

_Mint_21/linuxmint-21-cinnamon-64bit .iso' --protective-msdos-label

                                        -partition_cyl_align off

                                        -partition_offset 16

--mbr-force- bootable -append_partition 2

28732ac11ff8d211ba4b00a0c93ec93b --i

nterval:local_fs:4775312d-4783807d::

'/home/mike/Desktop/Linux_Mint_21/li nuxmint-21-cinnamon-64bit.iso'

                                        -part_like_isohybrid

                                        -iso_mbr_part_type

a2a0d0ebe5b9334487c068b6b72699c7 -c '/boot.catalog' -b

'/boot/grub/i386-pc/eltorito.img' -no-emul-boot -boot-load-size 4 -boot-info-table --grub2-boot-info -eltorito-alt-boot -e '--interval:a

ppended_partition_2_start_1193828s_s ize_8496d:all::' -no-emul-boot

                                        -boot-load-size 8496

-isohybrid- gpt-basdat

• The interval path is................... --grub2-mbr --interval:local_fs:0s-1

5s:zero_mbrpt,zero_gpt:'/home/mike/D

esktop/Linux_Mint_21/linuxmint-21-ci nnamon-64bit.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/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Extract image to....................... /home/mike/Desktop/Custom_Mint/parti tion-1.img

• Extract image blocks................... block size: 2048, skip blocks: 0, block count: 16

• Execute synchronously.................. dd if="/home/mike/Desktop/Linux_Mint

_21/linuxmint-21-cinnamon-64bit.iso" bs="2048" skip="0" count="16" of="/h

ome/mike/Desktop/Custom_Mint/partiti on-1.img"

• The process id is...................... 1804

• The result is.......................... 16+0 records in 16+0 records out 32768 bytes (33 kB, 32 KiB) copied, 0.000297575 s, 110 MB/s

• The exit status, signal status is...... 0, None

• The interval path is................... --grub2-mbr --interval:local_fs:0s-1

5s:zero_mbrpt,zero_gpt:'{bootimage directory}/partition-1.img'

• The interval path is................... -append_partition 2

28732ac11ff8d211ba4b00a0c93ec93b --i

nterval:local_fs:4775312d-4783807d::

'/home/mike/Desktop/Linux_Mint_21/li nuxmint-21-cinnamon-64bit.iso'

• The interval is........................ 4775312d-4783807d

• The start block is..................... 4775312

• The block units are.................... d

• The block size is...................... 512

• The stop block is...................... 4783807

• The block count is..................... 8496

• Extract image from..................... /home/mike/Desktop/Linux_Mint_21/lin uxmint-21-cinnamon-64bit.iso

• Extract image to....................... /home/mike/Desktop/Custom_Mint/parti tion-2.img

• Extract image blocks................... block size: 512, skip blocks:

                                        4775312, block count: 8496

• Execute synchronously.................. dd if="/home/mike/Desktop/Linux_Mint

_21/linuxmint-21-cinnamon-64bit.iso" bs="512" skip="4775312" count="8496"

of="/home/mike/Desktop/Custom_Mint/p artition-2.img"

• The process id is...................... 1805

• The result is.......................... 8496+0 records in 8496+0 records out 4349952 bytes (4.3 MB, 4.1 MiB) copied, 0.0505495 s, 86.1 MB/s

• The exit status, signal status is...... 0, None

• The interval path is................... -append_partition 2

28732ac11ff8d211ba4b00a0c93ec93b --i

nterval:local_fs:0d-8495d::'{boot_im age_directory}/partition-2.img'

• The interval path is................... -e '--interval:appended_partition2

start_1193828s_size_8496d:all::' • The interval path is................... -e '--

interval:appended_partition_2:all::' • Set status iso template................ 789C8D91C16E84201086EF3E05372F9DAAE8

BAEA83F44A06182D098A0176936DD3772FBA

76D3264DDA03046660FE7FBE811796BF5F9D

BDCC248CFEC83380C95F2487597A06609648

FE8A76B04EA1156318CA00D5290C6FE49D48

6FD6F8B41FA7350EF9BB742E0A33E344421B

4F2A3A7FFB2856F4D144E316A89ECD3C6D1A

AB7731A5CD95600EDA05B028C966F0782AD4

CD0AB4665A981BC7EF89740D1459D5A632C9

008CCE2B824D19A5A50C705D69D1E2F18171

C6BB73CD5155D538769A5795C446962596AA

AF292DF97BA31ABAA63FE9E11F7DF1A3AFBB

36DDD505860D4B0626ECA8EEC1785B8921C7

529724E924FBBA6E9AEEACCAB693AD3CF3B6

EFD53903C5F262537D5618D1BAADB83C42C5

36A0C2D45D0BAB2AC8263326BAC3C1E280E6

8BDD7964FB0ED6A18660DE883547C42CA383

03D731EE473C83AF8A80361E7588E5DF10FD

E8F23E143EA0B589D41F0612D076E7F17A93 DE6848784062D018B34F440FE026

Find the compressed Linux file system

• Search for file name pattern........... .*.squashfs$

• In directory........................... /home/mike/Desktop/Custom_Mint/sourc e-disk

• Matched file........................... casper/filesystem.squashfs

• The squashfs file paths are............ ['casper/filesystem.squashfs']

• Set status squashfs directory.......... casper

• Set status squashfs file name.......... filesystem

Find the casper kernel files

• Search for file name pattern........... vmlinuz.*

• In directory........................... /home/mike/Desktop/Custom_Mint/sourc e-disk

• Matched file........................... casper/vmlinuz

• The vmlinuz file paths are............. ['casper/vmlinuz']

• Set status casper directory............ casper

Copy important files from the original disk image

• The source file path is................ /home/mike/Desktop/Custom_Mint/sourc e-disk/

• The target file path is................ /home/mike/Desktop/Custom_Mint/custo m-disk/

• Started process thread id.............. 140111631087360 • Process started by thread id........... 140111588472576

• The process started at................. 10:58:11.198697

• Execute asynchronously................. rsync --info=progress2 "/home/mike/D

esktop/Custom_Mint/source-disk/" "/h

ome/mike/Desktop/Custom_Mint/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...................... 1807

• Completed.............................. 10%

• Completed.............................. 20%

• Completed.............................. 30%

• Completed.............................. 40%

• Completed.............................. 50%

• Completed.............................. 60%

• Completed.............................. 70%

• Completed.............................. 80%

• Completed.............................. 90%

• Completed.............................. 100%

• Set status is success copy............. True

Extract the compressed Linux file system

• The target file path is................ /home/mike/Desktop/Custom_Mint/custo m-root

• The source file path is................ /home/mike/Desktop/Custom_Mint/sourc

e-disk/casper/filesystem.squashfs • Started process thread id.............. 140111580079872 • Process started by thread id........... 140111588472576

• The process started at................. 10:58:13.658646

• Execute asynchronously................. extract-root /home/mike/Desktop/Cust om_Mint/custom-root /home/mike/Deskt op/Custom_Mint/source-

                                        disk/casper/filesystem.squashfs

• The process id is...................... 1811

• The process finished at................ 10:58:15.044981

• The exit status, signal status is...... 0, None

• The message is......................... 108.29MB/s 0:00:01 (xfr#632, to- chk=0/689)

• Stopped process thread id.............. 140111631087360 • 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

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint

• Not creating directories............... The directory path already exists

Save project configuration

• Save project configuration............. 2022 layout to /home/mike/Desktop/Cu stom_Mint/cubic.conf

Transition pages

• Hide old page.......................... extract page

• Show new page.......................... terminal page

Enter virtual environment

• The virtual environment directory is... /home/mike/Desktop/Custom_Mint/custo m-root

• Command................................ start-console cubic /home/mike/Deskt op/Custom_Mint/custom-root

• Execute synchronously.................. replace-text DISTRIB_DESCRIPTION.* DISTRIB_DESCRIPTION="Linux Mint 21 Cinnamon 64-bit (Cubic 2022-12-16 10:58)" /home/mike/Desktop/Custom_Mi nt/custom-root/etc/lsb-release

• The process id is...................... 1837

Watch virtual environment

• System bus id.......................... 140111848428400

• Subscribe to virtual environment entered signals with subscription id... 140111848442176

• The pseudo terminal process id is...... 1836

• Subscribe to virtual environment exited events for process id........... 1836

Entered virtual environment

• Active State........................... active

• Sub State.............................. running

• Job status............................. 0

• Job path............................... /

• Unsubscribe from virtual environment entered signals with subscription id... 140111848442176

• Set new pseudo terminal................ 18

• Send bytes to terminal................. You have entered the virtual environment. • Virtual environment status message..... You are in the virtual environment. • The process finished at................ 11:01:13.163243

• The exit status, signal status is...... 0, None

• The message is......................... created 214810 files created 21040 directories created 64897 symlinks created 80 devices created 0 fifos • Stopped process thread id.............. 140111580079872 • Execute synchronously.................. replace-text PRETTY_NAME.*

                                        PRETTY_NAME="Linux Mint 21

Cinnamon 64-bit (Cubic 2022-12-16 10:58)" /ho

me/mike/Desktop/Custom_Mint/custom- root/usr/lib/os-release

• The process id is...................... 1892

• Clicked................................ Next

Handle navigation from terminal page on next action

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

Get the new page

• Current page........................... terminal page

• Action................................. next

• New page............................... prepare page

Navigate from terminal page to prepare page on next action

• The thread id is....................... 140111588472576

Exit virtual environment

• Execute synchronously.................. stop-process 1836

• The process id is...................... 1928

Exited virtual environment

• Process id............................. 1836

• Pseudo terminal........................ 18

• Status................................. 9 • Signal................................. 9 • Exit Code.............................. 0 • Virtual environment status message..... You are not in the virtual

                                        environment.

• Cannot unsubscribe from virtual environment entered signals............ The subscription does not exist

• MAX_ATTEMPTS........................... 3

• First time............................. False

• Reenter................................ False

• Attempts............................... 1 of 3 times You have exited the al................. virtual environment. • Attempt to restart the virtual environment?........................... No

• Execute synchronously.................. replace-text DISTRIB_DESCRIPTION.* DISTRIB_DESCRIPTION="Linux Mint 21 Cinnamon 64-bit (Cubic 2022-12-16 10:58)" /home/mike/Desktop/Custom_Mi nt/custom-root/etc/lsb-release

• The process id is...................... 1951

• Execute synchronously.................. replace-text PRETTY_NAME.*

                                        PRETTY_NAME="Linux Mint 21

Cinnamon 64-bit (Cubic 2022-12-16 10:58)" /ho

me/mike/Desktop/Custom_Mint/custom- root/usr/lib/os-release

• The process id is...................... 1955

• Delete file............................ /home/mike/Desktop/Custom_Mint/.#cus tom-root.lck

• Execute synchronously.................. delete-path /home/mike/Desktop/Custo m_Mint/.#custom-root.lck

• The process id is...................... 1959

• The result is.......................... None

• The exit status, signal status is...... 0, None

• Execute synchronously.................. dpkg-query --admindir="/home/mike/De sktop/Custom_Mint/custom-

                                        root/var/lib/dpkg" --show

                                        --showformat="${Version} "

                                        "ubiquity"

• The process id is...................... 1963

• Is Ubiquity installed?................. Yes

• Show the Packages page?................ Yes

Transition pages

• Hide old page.......................... terminal page

• Show new page.......................... prepare page

Create kernel details list

Create vmlinuz details list

• ▹ Search directory..................... /home/mike/Desktop/Custom_Mint/custo m-root/boot

• ▹ Number of vmlinuz files found........ 0

Create vmlinuz details list

• ▹ Search directory..................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper

• ▹ Number of vmlinuz files found........ 1

• Get vmlinuz version name from file name................................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/vmlinuz

• ▹ The version name is.................. None

• Get vmlinuz version name from file type................................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/vmlinuz

• Execute synchronously.................. file "vmlinuz"

• The process id is...................... 1964

• ▹ The version name is.................. 5.15.0-41

• ▹ The vmlinuz version is............... 5.15.0-41

Create initrd details list

• ▹ Search directory..................... /home/mike/Desktop/Custom_Mint/custo m-root/boot

• ▹ Number of initrd files found......... 0

Create initrd details list

• ▹ Search directory..................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper

• ▹ Number of initrd files found......... 1

• Get initrd version name from file name................................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• ▹ The version name is.................. None

• Get initrd version name from file contents............................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• Execute asynchronously................. lsinitramfs "/home/mike/Desktop/Cust om_Mint/source-

                                        disk/casper/initrd.lz"

• The process id is...................... 1965

• Encountered an exception while getting initrd version name from file contents.......................... End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f6e457cc790> command: /usr/bin/lsinitramfs args:

                                        [b'/usr/bin/lsinitramfs',

b'/home/mi ke/Desktop/Custom_Mint/source-

                                        disk/casper/initrd.lz'] buffer

(last 100 chars): '' before (last 100

                                        chars):

'neIntel.align.0123456789abc

\r\nkernel/x86/microcode/GenuineInte l.bin\r\ncpio: premature end of

                                        archive\r\n' after: <class

                                        'pexpect.exceptions.EOF'>

match: None match_index: None exitstatus: None flag_eof: True pid: 1965

                                        child_fd: 22 closed: False

timeout: 300 delimiter: <class

                                        'pexpect.exceptions.EOF'>

logfile: None logfile_read: None

                                        logfile_send: None maxread:

2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05

                                        delayafterclose: 0.1

                                        delayafterterminate: 0.1

searcher: searcher_re: 0: re.compile('lib/ modules/(\d[\d\.-]*\d)')

• ▹ The version name is.................. None

• Get initrd version name from file type................................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• Execute synchronously.................. file "initrd.lz"

• The process id is...................... 2447

• ▹ The version name is.................. None

• ▹ The initrd version is................ None

• Get initrd compression format from file type.............................. /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• Execute synchronously.................. file "/home/mike/Desktop/Custom_Mint /source-disk/casper/initrd.lz"

• The process id is...................... 2448

• The initrd file type information is.... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz: ASCII cpio archive (SVR4 with no CRC)

• Initrd compression format found?....... No

• Get initrd compression format from file contents.......................... /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• Execute asynchronously................. binwalk --include="compressed data"

"/home/mike/Desktop/Custom_Mint/sour ce-disk/casper/initrd.lz"

• The process id is...................... 2449

• The initrd file contents information is..................................... 28541045 0x1B38075 gzip compressed data, from NTFS

                                        filesystem (NT), last modified:

                                        1970-01-01 00:00:00 (null date)

• Initrd compression format found?....... Yes

• The compression format is.............. gzip

• Delete existing files with pattern..... /var/tmp/unmkinitramfs_*

Collate kernel versions

• Directory.............................. /home/mike/Desktop/Custom_Mint/sourc e-disk/casper

• The vmlinuz version is................. 5.15.0-41

• The initrd version is.................. None; assume the version is

                                        5.15.0-41 because this

directory has one set of kernel files

List the kernel details

• Version................................ 5.15.0-41

• ▹ Index................................ 1 of 1

• ▹ Vmlinuz file name.................... vmlinuz

• ▹ New vmlinuz file name................ vmlinuz

• ▹ Initrd file name..................... initrd.lz

• ▹ New initrd file name................. initrd.gz

• ▹ Directory............................ /home/mike/Desktop/Custom_Mint/sourc e-disk/casper

• ▹ Note................................. This kernel is used to bootstrap the original disk. Reference these files as <span font_family="monospace">vml inuz and <span font_family="m onospace">initrd.gz in the disk boot configurations.

• ▹ Is selected.......................... True

• Number of valid disk boot kernels found.................................. 1

Create list of installed packages

• Execute synchronously.................. dpkg-query --admindir="/home/mike/De sktop/Custom_Mint/custom-

                                        root/var/lib/dpkg" --show

• The process id is...................... 2450

• Number of installed packages found..... 2078

• Read lines from file................... /home/mike/Desktop/Custom_Mint/custo

m-disk/casper/filesystem.manifest- remove

• Number of lines read................... 20

Identify removable packages for a typical install

• Total number of installed packages..... 2078

• Number of packages to be removed for a typical install...................... 20

• Number of packages to be retained for a typical install.................. 2058

• Number of installed packages matching typical install list.......... 20

Create new file system manifest file

• Write file system manifest to.......... /home/mike/Desktop/Custom_Mint/custo

m-disk/casper/filesystem.manifest • Is Ubiquity installed?................. Yes

• Show the Packages page?................ Yes

Get the new page

• Current page........................... prepare page

• Action................................. next

• New page............................... packages page

Navigate from prepare page to packages page on next action

• The installed version of Ubiquity is... 22.04.16+mint5

• Show the minimal install column?....... Yes

Transition pages

• Hide old page.......................... prepare page

• Show new page.......................... packages page

• Clicked................................ Next

Handle navigation from packages page on next action

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

Get the new page

• Current page........................... packages page

• Action................................. next

• New page............................... options page

• The thread id is....................... 140111588472576

Navigate from packages page to options page on next action

Create typical removable packages list

• Get user selections from............... packages_page__list_store

• Total number of installed packages..... 2078

• New number of packages to be removed for a typical install.................. 20

• New number of packages to be retained for a typical install......... 2058

Update the typical removable packages list

• Write to file.......................... /home/mike/Desktop/Custom_Mint/custo

m-disk/casper/filesystem.manifest- remove

Create minimal removable packages list

• Get user selections from............... packages_page__list_store

• Total number of installed packages..... 2078

• New number of packages to be removed for a minimal install.................. 0

• New number of packages to be retained for a minimal install......... 2078

Update the minimal removable packages list

• Write to file.......................... /home/mike/Desktop/Custom_Mint/custo

m-disk/casper/filesystem.manifest- minimal-remove

Initialize Kernel Tab

Transition pages

• Hide old page.......................... packages page

• Show new page.......................... options page

Initialize Preseed Tab

Initialize Files Tab

• Create directory....................... /home/mike/Desktop/Custom_Mint/custo m-disk/preseed

• Not creating directory................. Directory already exists

Initialize files tree

• The root file paths are................ ['preseed']

• The required file paths are............ None

Build tree

• File path.............................. preseed

• Source file path....................... preseed

• Adding watch for....................... /home/mike/Desktop/Custom_Mint/custo m-disk/preseed

• Asyncio thread......................... Start

Initialize Boot Tab

Initialize Files Tab

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint/custo m-disk/boot

• Not creating directories............... The directory path already exists • Execute synchronously.................. find boot isolinux -type f -exec grep -HiIl

"linux.vmlinuz|kernel.vmlinuz" {} \;

• The process id is...................... 2454

• Set options boot configurations........ ['boot/grub/loopback.cfg',

                                        'boot/grub/grub.cfg',

                                        'isolinux/isolinux.cfg']

Initialize files tree

• The root file paths are................ ['boot', 'isolinux']

• The required file paths are............ ['boot/grub/loopback.cfg',

                                        'boot/grub/grub.cfg',

                                        'isolinux/isolinux.cfg']

Build tree

• File path.............................. boot

• Source file path....................... boot

• Adding watch for....................... /home/mike/Desktop/Custom_Mint/custo m-disk/boot

Build tree

• File path.............................. isolinux

• Source file path....................... isolinux

• Adding watch for....................... /home/mike/Desktop/Custom_Mint/custo m-disk/isolinux

• Asyncio thread......................... Start

Update boot configurations

Search and replace in file

• File path.............................. boot/grub/loopback.cfg

• Create source view for................. /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/loopback.cfg

• Search and replace in source view...... /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/loopback.cfg

• 1. Removed the vmlinuz path on line.... 2

• 2. Updated the vmlinuz path on line.... 2

• 3. Removed the boot path on line....... 2

• 4. Updated the boot path on line....... 2

• 5. Removed the initrd path on line..... 3

• 6. Updated the initrd path on line..... 3

• 7. Removed the vmlinuz path on line.... 6

• 8. Updated the vmlinuz path on line.... 6

• 9. Removed the boot path on line....... 6

• 10. Updated the boot path on line...... 6

• 11. Removed the initrd path on line.... 7

• 12. Updated the initrd path on line.... 7

• 13. Removed the vmlinuz path on line... 11

• 14. Updated the vmlinuz path on line... 11

• 15. Removed the boot path on line...... 11

• 16. Updated the boot path on line...... 11

• 17. Removed the initrd path on line.... 12

• 18. Updated the initrd path on line.... 12

• Number of updates...................... 18

• Save changes to........................ boot/grub/loopback.cfg

Search and replace in file

• File path.............................. boot/grub/grub.cfg

• Create source view for................. /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/grub.cfg

• Search and replace in source view...... /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/grub.cfg

• 1. Removed the vmlinuz path on line.... 8

• 2. Updated the vmlinuz path on line.... 8

• 3. Removed the boot path on line....... 8

• 4. Updated the boot path on line....... 8

• 5. Removed the initrd path on line..... 9

• 6. Updated the initrd path on line..... 9

• 7. Removed the vmlinuz path on line.... 12

• 8. Updated the vmlinuz path on line.... 12

• 9. Removed the boot path on line....... 12

• 10. Updated the boot path on line...... 12

• 11. Removed the initrd path on line.... 13

• 12. Updated the initrd path on line.... 13

• 13. Removed the vmlinuz path on line... 17

• 14. Updated the vmlinuz path on line... 17

• 15. Removed the boot path on line...... 17

• 16. Updated the boot path on line...... 17

• 17. Removed the initrd path on line.... 18

• 18. Updated the initrd path on line.... 18

• Number of updates...................... 18

• Save changes to........................ boot/grub/grub.cfg

Search and replace in file

• File path.............................. isolinux/isolinux.cfg

• Create source view for................. /home/mike/Desktop/Custom_Mint/custo m-disk/isolinux/isolinux.cfg

• Search and replace in source view...... /home/mike/Desktop/Custom_Mint/custo m-disk/isolinux/isolinux.cfg

• 1. Removed the vmlinuz path on line.... 28

• 2. Updated the vmlinuz path on line.... 28

• 3. Removed the initrd path on line..... 29

• 4. Updated the initrd path on line..... 29

• 5. Removed the boot path on line....... 29

• 6. Updated the boot path on line....... 29

• 7. Removed the vmlinuz path on line.... 33

• 8. Updated the vmlinuz path on line.... 33

• 9. Removed the initrd path on line..... 34

• 10. Updated the initrd path on line.... 34

• 11. Removed the boot path on line...... 34

• 12. Updated the boot path on line...... 34

• 13. Removed the vmlinuz path on line... 37

• 14. Updated the vmlinuz path on line... 37

• 15. Removed the initrd path on line.... 38

• 16. Updated the initrd path on line.... 38

• 17. Removed the boot path on line...... 38

• 18. Updated the boot path on line...... 38

• Warning................................ Expected the vmlinuz path on line 41, but it was not found

• Warning................................ Expected the initrd path on line 45, but it was not found

• Warning................................ Expected the vmlinuz path on line 48, but it was not found

• Number of updates...................... 18

• Save changes to........................ isolinux/isolinux.cfg

Show Options page, Kernel tab

• Change tree selection to............... preseed

• Show pane for file..................... preseed

• Change tree selection to............... preseed

• Show pane for file..................... preseed

• Change tree selection to............... boot

• Show pane for file..................... boot

Process close write

• Path name.............................. /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/loopback.cfg

• Base name.............................. loopback.cfg

• Watch Descriptors...................... [{'/home/mike/Desktop/Custom_Mint/cu stom-disk/boot': 1, '/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub': 2,

'/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub/fonts': 3,

'/home/mik e/Desktop/Custom_Mint/custom-

                                        disk/boot/grub/themes': 4,

'/home/mi ke/Desktop/Custom_Mint/custom-

disk/boot/grub/themes/linuxmint': 5,

'/home/mike/Desktop/Custom_Mint/cust

om-disk/boot/grub/themes/linuxmint/i cons': 6, '/home/mike/Desktop/Custom _Mint/custom-

                                        disk/boot/grub/x86_64-efi': 7,

'/hom

e/mike/Desktop/Custom_Mint/custom- disk/boot/grub/i386-pc': 8}, {'/home

/mike/Desktop/Custom_Mint/custom- disk/isolinux': 9}]

• File changed by........................ Cubic

• Undo buffer............................ Do not reset

Process close write

• Path name.............................. /home/mike/Desktop/Custom_Mint/custo m-disk/boot/grub/grub.cfg

• Base name.............................. grub.cfg

• Watch Descriptors...................... [{'/home/mike/Desktop/Custom_Mint/cu stom-disk/boot': 1, '/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub': 2,

'/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub/fonts': 3,

'/home/mik e/Desktop/Custom_Mint/custom-

                                        disk/boot/grub/themes': 4,

'/home/mi ke/Desktop/Custom_Mint/custom-

disk/boot/grub/themes/linuxmint': 5,

'/home/mike/Desktop/Custom_Mint/cust

om-disk/boot/grub/themes/linuxmint/i cons': 6, '/home/mike/Desktop/Custom _Mint/custom-

                                        disk/boot/grub/x86_64-efi': 7,

'/hom

e/mike/Desktop/Custom_Mint/custom- disk/boot/grub/i386-pc': 8}, {'/home

/mike/Desktop/Custom_Mint/custom- disk/isolinux': 9}]

• File changed by........................ Cubic

• Undo buffer............................ Do not reset

Process close write

• Path name.............................. /home/mike/Desktop/Custom_Mint/custo m-disk/isolinux/isolinux.cfg

• Base name.............................. isolinux.cfg

• Watch Descriptors...................... [{'/home/mike/Desktop/Custom_Mint/cu stom-disk/boot': 1, '/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub': 2,

'/home/mike/Desk top/Custom_Mint/custom-

                                        disk/boot/grub/fonts': 3,

'/home/mik e/Desktop/Custom_Mint/custom-

                                        disk/boot/grub/themes': 4,

'/home/mi ke/Desktop/Custom_Mint/custom-

disk/boot/grub/themes/linuxmint': 5,

'/home/mike/Desktop/Custom_Mint/cust

om-disk/boot/grub/themes/linuxmint/i cons': 6, '/home/mike/Desktop/Custom _Mint/custom-

                                        disk/boot/grub/x86_64-efi': 7,

'/hom

e/mike/Desktop/Custom_Mint/custom- disk/boot/grub/i386-pc': 8}, {'/home

/mike/Desktop/Custom_Mint/custom- disk/isolinux': 9}]

• File changed by........................ Cubic

• Undo buffer............................ Do not reset

• Clicked................................ Next

Handle navigation from options page on next action

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

Get the new page

• Current page........................... options page

• Action................................. next

• New page............................... compression page

Navigate from options page to compression page on next action

• The thread id is....................... 140111362651904

• Set options boot configurations........ ['boot/grub/grub.cfg',

                                        'boot/grub/loopback.cfg',

                                        'isolinux/isolinux.cfg']

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint

• Not creating directories............... The directory path already exists

Save project configuration

• Save project configuration............. 2022 layout to /home/mike/Desktop/Cu stom_Mint/cubic.conf

Transition pages

• Hide old page.......................... options page

• Show new page.......................... compression page

• Set options compression................ gzip

• Leave.................................. Options page Kernel tab

• Clicked................................ Generate

Handle navigation from compression page on generate action

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

Get the new page

• Current page........................... compression page

• Action................................. generate

• New page............................... generate page

• The thread id is....................... 140111362651904

Navigate from compression page to generate page on generate action

• Create all directories in the path..... /home/mike/Desktop/Custom_Mint

• Not creating directories............... The directory path already exists

Save project configuration

• Save project configuration............. 2022 layout to /home/mike/Desktop/Cu stom_Mint/cubic.conf

Transition pages

• Hide old page.......................... compression page

• Show new page.......................... generate page

Identify the selected kernel

• The selected kernel is index number.... 0

Update the vmlinuz boot file

• Delete existing files with pattern..... /home/mike/Desktop/Custom_Mint/custo m-disk/casper/vmlinuz*

• Keep files............................. ['/home/mike/Desktop/Custom_Mint/cus tom-disk/casper/vmlinuz']

Copy file number 1 of 2

• The source file path is................ /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/vmlinuz

• The target file path is................ /home/mike/Desktop/Custom_Mint/custo m-disk/casper/vmlinuz

• Started process thread id.............. 140111631087360 • Process started by thread id........... 140111362651904

• The process started at................. 11:02:58.949383

• Execute asynchronously................. copy-path /home/mike/Desktop/Custom_ Mint/source-disk/casper/vmlinuz /hom

e/mike/Desktop/Custom_Mint/custom- disk/casper/vmlinuz mike

• The process id is...................... 3050

• Completed.............................. 10%

• Completed.............................. 20%

• Completed.............................. 30%

• Completed.............................. 40%

• Completed.............................. 50%

• The custom OS distribution is.......... linuxmint

• The custom OS distribution like is..... "ubuntu debian"

Update the initrd boot file

• Delete existing files with pattern..... /home/mike/Desktop/Custom_Mint/custo m-disk/casper/initrd*

• Keep files............................. ['/home/mike/Desktop/Custom_Mint/cus tom-disk/casper/initrd.gz']

• Delete file............................ /home/mike/Desktop/Custom_Mint/custo m-disk/casper/initrd.lz

• Execute synchronously.................. delete-path /home/mike/Desktop/Custo

m_Mint/custom-disk/casper/initrd.lz • The process id is...................... 3056

• The process finished at................ 11:02:59.530738

• The exit status, signal status is...... 0, None

• The message is......................... 100.39MB/s 0:00:00 (xfr#1, to- chk=0/1)

• Stopped process thread id.............. 140111631087360 • The result is.......................... None

• The exit status, signal status is...... 0, None

Copy file number 2 of 2

• The source file path is................ /home/mike/Desktop/Custom_Mint/sourc e-disk/casper/initrd.lz

• The target file path is................ /home/mike/Desktop/Custom_Mint/custo m-disk/casper/initrd.gz

• Started process thread id.............. 140111631087360 • Process started by thread id........... 140111362651904

• The process started at................. 11:02:59.742711

• Execute asynchronously................. copy-path /home/mike/Desktop/Custom_

Mint/source-disk/casper/initrd.lz /h

ome/mike/Desktop/Custom_Mint/custom- disk/casper/initrd.gz mike

• The process id is...................... 3061

• Completed.............................. 60%

• Completed.............................. 70%

• Completed.............................. 80%

• Completed.............................. 90%

• Completed.............................. 100%

• The process finished at................ 11:03:01.474011

• The exit status, signal status is...... 0, None

• The message is......................... 317.05MB/s 0:00:00 (xfr#1, to- chk=0/1)

• Stopped process thread id.............. 140111631087360

Compress the Linux file system

• The source file path is................ /home/mike/Desktop/Custom_Mint/custo m-root

• The target file path is................ /home/mike/Desktop/Custom_Mint/custo

m-disk/casper/filesystem.squashfs • Started process thread id.............. 140111631087360 • Process started by thread id........... 140111362651904

• The process started at................. 11:03:01.496553

• Execute asynchronously................. compress-root /home/mike/Desktop/Cus tom_Mint/custom-root /home/mike/Desk top/Custom_Mint/custom-

                                        disk/casper/filesystem.squashfs

gzip • The process id is...................... 3068

• Completed.............................. 10%

• Completed.............................. 20%

• Completed.............................. 30%

• Completed.............................. 40%

• Completed.............................. 50%

• Completed.............................. 60%

• Completed.............................. 70%

• Completed.............................. 80%

• Completed.............................. 90%

• Completed.............................. 100%

Update the fi

PJ-Singh-001 commented 1 year ago

Mike,

I didn't need the full log. Just the part after you click the Test/ button.

Unfortunately, the log you attached got truncated (probably because of its size) and that critical portion is not there.

I need the part of the log output that starts with...

Navigate from project page to test 1 page on test action

...or...

Navigate from finish page to test 2 page on test action

Please see if you can reattach the relevant part of the log. The heading is in yellow, so it is easy to spot.

(You probably already know: In GNOME Terminal, you can highlight the text, drag your cursor to the end, and right-click to select "Copy" from the pop-up context menu. Also, ctrlshiftf can be used to search for text, if you need to find a particular spot in the output).

image

mikejp56 commented 1 year ago

Hi PJ, Here it is.

Get the new page

• Current page........................... finish page

• Action................................. test

• New page............................... test 2 page

• The thread id is....................... 140111631087360

Navigate from finish page to test 2 page on test action

• Total system memory.................... 7.69 GiB (7872.53 MiB)

• Available system memory................ 6.66 GiB (6823.23 MiB)

• Memory allocated to the emulator....... 6.00 GiB (6144.00 MiB)

• Reserved system memory................. 0.66 GiB (679.23 MiB)

• The host system supports virtualization?........................ True

• System supports virtualization......... True

• Execute synchronously.................. dpkg-query

                                        --admindir="/var/lib/dpkg"

--show --showformat="${Version} " "qemu- system-gui"

• The process id is...................... 3196

• The host system supports GTK display?............................... True

• System supports GTK display............ True

• Execute asynchronously................. qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive

format=raw,file="/home/mike/Desktop/

Custom_Mint/linuxmint-21-cinnamon-64 bit-2022.12.16.iso"

• The process id is...................... 3197

• Subscribe to emulator exited events for process id......................... 3197

• Emulator status........................ Started

• The host system supports virtualization?........................ True

Transition pages

• Hide old page.......................... finish page

• Show new page.......................... test 2 page

• Emulator status........................ Exited

• Process id............................. 3197

• Status................................. 256

• Signal................................. 0

• Exit Code.............................. 1

• Removing label from box................ • The host system supports

                                        virtualization for improved

                                        performance.

• Removing label from box................ • The memory available for testing is 6.00 GiB.

• Removing label from box................ • Use Ctrl-Alt-G (or Ctrl-Alt) to toggle mouse and keyboard capture.

On Fri, Dec 16, 2022 at 11:49 AM PJ Singh @.***> wrote:

Mike,

I didn't need the full log. Just the part after you click the Test/ button.

Unfortunately, the log you attached got truncated (probably because of its size) and that critical portion is not there.

I need the part of the log output that starts with...

Navigate from project page to test 1 page on test action

...or...

Navigate from finish page to test 2 page on test action

Please see if you can reattach the relevant part of the log. The heading is in yellow, so it is easy to spot...

[image: image] https://user-images.githubusercontent.com/19394936/208148031-6e42334c-8206-4674-8538-fd9500674e9f.png

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355208645, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGV232LFQ4WMREA4YKLWNSMSJANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

Your system has enough memory and supports virtualization.

Let's see if there is an issue with running QEMU.

Execute the following from the command line, and share the output.

qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Custom_Mint/linuxmint-21-cinnamon-64bit-2022.12.16.iso"
mikejp56 commented 1 year ago

Hi PJ, I cut and pasted the command line in the terminal, and here is what I got: qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Custom_Mint/linuxmint-21-cinnamon-64bit-2022.12.16.iso" Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory This is after I stopped the cubic --verbose command by typing ctrl-z. Regards, mikejp56

On Fri, Dec 16, 2022 at 12:13 PM PJ Singh @.***> wrote:

Your system has enough memory and supports virtualization.

Let's see if there is an issue with running QEMU.

Execute the following from the command line, and share the output.

qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Custom_Mint/linuxmint-21-cinnamon-64bit-2022.12.16.iso"

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355239741, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGXYAQBXOESKXG5FE5LWNSPL5ANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

Make sure this file, generated by Cubic, exists. If it doesn't, then generate the ISO using Cubic first.

/home/mike/Desktop/Custom_Mint/linuxmint-21-cinnamon-64bit-2022.12.16.iso

Also, you can test QEMU on the original unmodified ISO. Based on your log output above, I believe the command should be as follows:

qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Linux_Mint_21/linuxmint-21-cinnamon-64bit.iso"

See if this works, and then try the same command on an ISO generated by Cubic (which should be in your /home/mike/Desktop/Custom_Mint/ directory).

There may be something wrong with QEMU or with the command (above) that Cubic is using to launch QEMU on your system. (If there were something wrong with the generated ISO, QEMU would still launch and you would see some kind of initramfs or grub prompt, instead of a working OS).

mikejp56 commented 1 year ago

Hi PJ, Neither .iso file launched. They both gave the same error message:

Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory

Should I try to reinstall Cubic? If so, would you please show me the commands; some websites show it as one way, and others show it another way. Thanks! Regards, mikejp56

On Fri, Dec 16, 2022 at 1:18 PM PJ Singh @.***> wrote:

Make sure this file, generated by Cubic, exists. If it doesn't generate the ISO using Cubic first.

/home/mike/Desktop/Custom_Mint/linuxmint-21-cinnamon-64bit-2022.12.16.iso

Also, you can test QEMU on the original unmodified ISO. Based on your log output above, I believe the command should be as follows:

qemu-system-x86_64 --name "Cubic" -M pc -enable-kvm -cpu host -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Linux_Mint_21/linuxmint-21-cinnamon-64bit.iso"

See if this works, and then try the same command on an ISO generated by Cubic (which should be in your /home/mike/Desktop/Custom_Mint/ directory).

There may be something wrong with QEMU or with the command (above) that Cubic is using to launch QEMU on your system. (If there is something wrong with the generate ISO, QEMU would still launch and you would see some kind of initramfs or grub prompt, instead of a working OS).

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355357949, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGTX7QOBVDAJQG3GTDDWNSW7FANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

What is the output of on your host machine:

sudo modprobe kvm-intel
mikejp56 commented 1 year ago

Hi PJ, Here is the result: modprobe: ERROR: could not insert 'kvm_intel': Operation not supported I am in the process of installing Qemu 7.2.0 from the qemu website. I just thought that this might help. I'll ley you know when it is finished installing. Regards, mikejp56

On Fri, Dec 16, 2022 at 2:07 PM PJ Singh @.***> wrote:

What is the output of on your host machine:

sudo modprobe kvm-intel

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355447231, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGQZ2A7TZ27H3CJHXYDWNS4Y5ANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

I don't think this is a Cubic issue, so you probably don't need to reinstall. This seems to be an issue with running QEMU.

I might have to modify how Cubic launches QEMU, but that will depend on if we can discover the difference between your machine and others, and figure out why QEMU is not starting.

mikejp56 commented 1 year ago

Hi PJ, I have run Cubic on 3 other machines. I just realized that this machine is an Intel, the others are all AMD. Any idea if this is an issue? Regards, mikejp56

On Fri, Dec 16, 2022 at 2:12 PM PJ Singh @.***> wrote:

I don't think this is a Cubic issue, so you probably don't need to reinstall. This seems to be an issue with running QEMU.

I might have to modify how Cubic launches QEMU, but that will depend on if we can discover the difference between your machine and others, and figure out why QEMU is not starting.

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355451838, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGVZ2PGTV4SPUEMME33WNS5JZANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

Go into your BIOS and enable Virtualization, if the option is available. If it is not, let me know.

mikejp56 commented 1 year ago

Hi PJ, I will as soon as Qemu is done building and installing. This is taking a long time. I will let you know what happens. Regards, mikejp56

On Fri, Dec 16, 2022 at 2:23 PM PJ Singh @.***> wrote:

Go into your BIOS and enable Virtualization, if the option is available. If it is not, let me know.

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355470612, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGUI4MATIZH6DMZ3TALWNS6SLANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

mikejp56 commented 1 year ago

Hi PJ, That's interesting about the virtualization. As soon as I can, I will try these things and get back to you. Regards, mikejp56

On Fri, Dec 16, 2022 at 2:26 PM PJ Singh @.***> wrote:

Also, see this answer https://stackoverflow.com/a/14542779/10668287.

On Ubuntu based systems, the modules.conf file may be located at /etc/modules-load.d/modules.conf.

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1355475589, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGT4MNKDOQM2LCKZZLTWNS65PANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

mikejp56 commented 1 year ago

Hi PJ, So there is no virtualization option in the BIOS. After doing the install of qemu-system-x86_64 and modifying the .conf file, and rebooting, I was able to get the QEMU window to open when I run qemu-system-x86_64 in a terminal window. But the 2 commands to run the ISOs from within Cubic still fail with the same error message. Maybe I forgot to mention, but this PC has an Intel processor; all of the other machines that I used before had AMD. Regards, mikejp56

mikejp56 commented 1 year ago

Hi PJ, So I can type the qemu command followed by the path to the iso file, and the window opens with the grub menu to select the iso to run. But when I run it the error message out of memory pops up. I have 8G of RAM, and I am not using any command line switches; just qemu-system... /home/..../linuxmint.iso. Any ideas? Regards, mikejp56

PJ-Singh-001 commented 1 year ago

I think the following will work in your case.

qemu-system-x86_64 --name "Cubic" -M pc -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Linux_Mint_21/linuxmint-21-cinnamon-64bit.iso"

Whether or not this works, would you please share the output of the following command?...

cat /proc/cpuinfo
mikejp56 commented 1 year ago

Hi PJ, The output of the cat command is :

@.***:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Pentium(R) CPU G3220 @ 3.00GHz stepping : 3 microcode : 0x28 cpu MHz : 1242.081 cache size : 3072 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust erms invpcid xsaveopt dtherm arat pln pts md_clear flush_l1d bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown bogomips : 5986.16 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Pentium(R) CPU G3220 @ 3.00GHz stepping : 3 microcode : 0x28 cpu MHz : 1158.547 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust erms invpcid xsaveopt dtherm arat pln pts md_clear flush_l1d bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_unknown bogomips : 5986.16 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

And the qemu command that you sent did open the qemu screen and ran the VM. Thanks for your help. Regards, mikejp56

On Sat, Dec 17, 2022 at 12:19 AM PJ Singh @.***> wrote:

I think the following will work in your case.

qemu-system-x86_64 --name "Cubic" -M pc -m 6144M -display gtk,zoom-to-fit=on -device intel-hda -device hda-duplex -drive format=raw,file="/home/mike/Desktop/Linux_Mint_21/linuxmint-21-cinnamon-64bit.iso"

Whether or not this works, would you please share the output of the following command?...

cat /proc/cpuinfo

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1356046823, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGRF4QQNMKZKSI37OI3WNVEMLANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

PJ-Singh-001 commented 1 year ago

You are able to run QEMU without the benefit of hardware virtualization. This means that performance will be limited.

However, the output of /proc/cpuinfo shows that your hardware does support virtualization, because you have vmx listed as a flag.

Cubic checks for the existence of this flag. If the flag is present, QEMU is launched using hardware virtualization. If the flag is not present, QEMU is launched without hardware virtualization. In your case, Cubic is using the former approach, which just doesn't seem to work on your machine for some reason.

I'll try to think of a way for Cubic to "fall back" to non-hardware emulation, in situations like yours.

In the mean time, you can use the command I shared above to test your customized ISOs.

mikejp56 commented 1 year ago

Hi PJ, Thanks for the answer. I am quite busy right now, but later I will check the BIOS of this machine to see if virtualization is listed somewhere. Regards, mikepj56

On Mon, Dec 19, 2022 at 10:58 AM PJ Singh @.***> wrote:

You are able to run QEMU without the benefit of hardware virtualization. This means that performance will be limited.

However, the output of /proc/cpuinfo shows that your hardware does support virtualization, because you have vmx listed as a flag.

Cubic checks for the existence of this flag. If the flag is present, QEMU is launched using hardware virtualization. If the flag is not present, QEMU is launched without hardware virtualization. In your case, Cubic is using the former approach, which just doesn't seem to work on your machine for some reason.

I'll try to think of a way for Cubic to "fall back" to non-hardware emulation, in situations like yours.

In the mean time, you can use the command I shared above to test your customized ISOs.

— Reply to this email directly, view it on GitHub https://github.com/PJ-Singh-001/Cubic/issues/142#issuecomment-1357881551, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4CKKGTMG5QCZYJL5VXX5A3WOCAZDANCNFSM6AAAAAATA6J5OM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Mike Pollack

UnstoppableDrew commented 10 months ago

I know this is almost a year old but after reading this issue I discovered I had the same problem. Following the suggestions found at https://www.dedoimedo.com/computers/kvm-permission-denied.html I fixed it by adding myself to the 'kvm' group and launching a new shell. Note that unlike the article I didn't have a libvirtd group, just kvm. tl;dr Try doing "sudo usermod -a -G kvm your_username", logout and back in and try it again.

PJ-Singh-001 commented 10 months ago

@UnstoppableDrew,

Thanks for sharing this tip!