Page 1 of 1

Flashed a snapshot image to a USB drive but can't boot it!

Posted: Wed Apr 02, 2025 1:09 pm
by gbhollr
Lately, I've been building a MX Linux installation loaded with over 200GB worth of games with the intent of creating a live-boot image to flash into a high-capacity drive
to take with me and play during my travels. (Yes, I know I can just carry a normal gaming installation. I just want a liveboot gaming image because it's nice to have one and only make permanent changes when I want).

So I created a snapshot and flashed it to a 500GB mSATA SSD (in an enclosure) but when I tried to boot it up, it didn't work.
I tried again on a 256GB USD flash drive but I had the same result.

Here's a photo of the error I got.
Image

And here's my latest QSI.

Code: Select all

Snapshot created on: 20250401_1852
System:
  Kernel: 6.13.8-4-liquorix-amd64 [6.13-9~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.13.8-4-liquorix-amd64
    root=UUID=<filter> ro quiet splash slab_nomerge slub_debug=FZ init_on_alloc=1 init_on_free=1
    page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic loglevel=0 spectre_v2=on
    spec_store_bypass_disable=on tsx=off tsx_async_abort=full,nosmt mds=full,nosmt l1tf=full,force
    nosmt=force kvm.nx_huge_pages=force ipv6.disable=1 apparmor=1 security=apparmor
    random.trust_cpu=off intel_iommu=on amd_iommu=on efi=disable_early_pci_dma
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_ahs_x64 Libretto September 15  2024 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20AWS0UN00 v: ThinkPad T440p serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20AWS0UN00 serial: <superuser required> UEFI: LENOVO v: GLET80WW (2.34 )
    date: 07/23/2015
CPU:
  Info: model: Intel Core i5-4300M bits: 64 type: MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
    microcode: 0x28
  Topology: cpus: 1x cores: 2 smt: disabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1947 high: 2594 min/max: 800/2601 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 2594 2: 1300 bogomips: 10376
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: always-on; IBRS_FW; STIBP: disabled; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo ThinkPad T440p
    driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 362x204mm (14.25x8.03") s-diag: 416mm (16.36")
  Monitor-1: eDP-1 model: LG Display 0x045e built: 2014 res: 1366x768 hz: 60 dpi: 112 gamma: 1.2
    size: 310x174mm (12.2x6.85") diag: 355mm (14") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 24.2.8-1mx23ahs renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo ThinkPad T440p
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo ThinkPad T440p
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.13.8-4-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I217-LM vendor: Lenovo ThinkPad T440p driver: e1000e v: kernel
    port: 3080 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.03 TiB used: 199.94 GiB (19.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Transcend model: TS128GMTS430S size: 119.24 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: V3PD
Partition:
  ID-1: / raw-size: 931.26 GiB size: 915.57 GiB (98.31%) used: 199.94 GiB (21.8%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 412 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 1 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Repos:
  Packages: 4211 pm: dpkg pkgs: 4140 libs: 2230 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 71
  Active apt repos in: /etc/apt/sources.list
    1: deb https://debian.drdteam.org/ stable multiverse
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb https://mxrepo.com/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
    1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main
  Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
    1: deb [arch=amd64 arm64] https://repo.librewolf.net librewolf main
Info:
  Processes: 227 Uptime: 2m wakeups: 3 Memory: 15.51 GiB used: 1.1 GiB (7.1%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Any help would be appreciated. Thanks.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Thu Apr 03, 2025 8:43 pm
by CharlesV
What did you use to "Flash" the iso ? MX Live USB ?

And your kernel params ... if they are also set on the startup of the USB drive.. I dont think will work. ( the root= param especially)

Code: Select all

root=UUID=<filter> 


Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 9:10 am
by gbhollr
Hi. So I used the "Live USB Maker".

As the the startup params, which ones should I remove to ensure it does boot up properly?
Thanks.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 11:05 am
by CharlesV
I would start with that root=xxxxxxx that is going to have trouble on any machine that doesnt have that hard drive. (or if it was re-partitioned).

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 12:58 pm
by gbhollr
I'm checking the /etc/default/grub file.
How to remove root=xxxxxxx?

It doesn't seem to be in the boot parameters but it looks like it's under
GRUB_DISABLE_LINUX_UUID=true so I uncommented it then ran update-grub.

One look at my QSI afterwards, however, and I still see the root=UUID=<filter>.
Help please?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 1:05 pm
by CharlesV
If you look in mx Boot Options, it should have a list of your current kernel params .. if it lists that root=xxx in there, then take note of it (ie write it down incase you need it again!! ) , then remove that one param and reboot. It should be ok.

if that is all good, then create the snapshot again.

I *believe* you could also start the current snapshot, edit the grub entry with that param, remove it and then continue to boot and it should work. But - I have not tried it on that param so ???

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 1:20 pm
by fehlix
CharlesV wrote: Fri Apr 04, 2025 11:05 am I would start with that root=xxxxxxx that is going to have trouble on any machine that doesnt have that hard drive. (or if it was re-partitioned).
The QSI shown is from the installed system not from the LiveBooted. and the live boot grub menu would not have this root= boot parameter normally.
gbhollr wrote: Fri Apr 04, 2025 12:58 pm I'm checking the /etc/default/grub file.
How to remove root=xxxxxxx?

It doesn't seem to be in the boot parameters but it looks like it's under
GRUB_DISABLE_LINUX_UUID=true so I uncommented it then ran update-grub.

One look at my QSI afterwards, however, and I still see the root=UUID=<filter>.
Help please?
You should not change this, please revert to have this line commented out:

Code: Select all

#GRUB_DISABLE_LINUX_UUID=true
otherwise you will got other issues in the future.
and rerun to correct

Code: Select all

sudo update-grub
My suggestions:
1st) Run from LiveBoot menu "Check Live media"
which would try to verify the linuxfs file is not corrupt.

2.) do remove all of the additional live boot parameter,
which you have carried over from the installed system, b/c they may (or not) the reason for the failure.
Appears to me you somehow have installed a safety lockdown tool into the installed system,
which generated all those boot parameter, and maybe liveBoot may suffer - but admit haven't tried those boot parameter..

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 1:30 pm
by DukeComposed
fehlix wrote: Fri Apr 04, 2025 1:20 pm
gbhollr wrote: Fri Apr 04, 2025 12:58 pm I'm checking the /etc/default/grub file.
How to remove root=xxxxxxx?
You should not change this
I concur with this. Tinkering with your /etc/default/grub is a one-way trip to having an unbootable system. If you have to ask how to edit GRUB, you are not ready to start editing GRUB.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 1:56 pm
by CharlesV
Thank you to @fehlix for that!

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 4:56 pm
by gbhollr
fehlix wrote: Fri Apr 04, 2025 1:20 pm You should not change this, please revert to have this line commented out:

Code: Select all

#GRUB_DISABLE_LINUX_UUID=true
otherwise you will got other issues in the future.
and rerun to correct
Well, I already uncommented it.
So should I switch it to false? Otherwise, I reckon commenting it again will still leave it treated as "true". Right?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 04, 2025 6:35 pm
by DukeComposed
gbhollr wrote: Fri Apr 04, 2025 4:56 pm Well, I already uncommented it.
So should I switch it to false? Otherwise, I reckon commenting it again will still leave it treated as "true". Right?
What kind of reckoning would lead to that conclusion? You should do as instructed: "please revert to have this line commented out".

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Sun Apr 06, 2025 10:01 am
by gbhollr
Hi. So I removed the boot parameters and updated grub.
I created a new snapshot and flashed it to my USB drive but I still got the same error as before.

Here's a screenshot.
Image

And here's my current QSI.

Code: Select all

Snapshot created on: 20250405_1407
System:
  Kernel: 6.13.8-4-liquorix-amd64 [6.13-9~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.13.8-4-liquorix-amd64
    root=UUID=<filter> ro splash slub_debug=FZ ipv6.disable=1
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_ahs_x64 Libretto September 15  2024 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20AWS0UN00 v: ThinkPad T440p serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20AWS0UN00 serial: <superuser required> UEFI: LENOVO v: GLET80WW (2.34 )
    date: 07/23/2015
CPU:
  Info: model: Intel Core i5-4300M bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x3C (60) stepping: 3
    microcode: 0x28
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 2044 high: 3286 min/max: 800/2601 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 3193 2: 800 3: 3286 4: 900 bogomips: 20751
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo ThinkPad T440p
    driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 362x204mm (14.25x8.03") s-diag: 416mm (16.36")
  Monitor-1: eDP-1 model: LG Display 0x045e built: 2014 res: 1366x768 hz: 60 dpi: 112 gamma: 1.2
    size: 310x174mm (12.2x6.85") diag: 355mm (14") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 24.2.8-1mx23ahs renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo ThinkPad T440p
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo ThinkPad T440p
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.13.8-4-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I217-LM vendor: Lenovo ThinkPad T440p driver: e1000e v: kernel
    port: 3080 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.05 TiB used: 236.85 GiB (11.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Transcend model: TS128GMTS430S size: 119.24 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: V3PD
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Sabrent model: SABRENT size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 0204 scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: SanDisk model: Ultra Fit size: 115.69 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 931.26 GiB size: 915.57 GiB (98.31%) used: 195.44 GiB (21.3%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 412 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 1 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Repos:
  Packages: 4212 pm: dpkg pkgs: 4140 libs: 2230 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 72
  Active apt repos in: /etc/apt/sources.list
    1: deb https://debian.drdteam.org/ stable multiverse
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb https://mxrepo.com/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
    1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main
  Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
    1: deb [arch=amd64 arm64] https://repo.librewolf.net librewolf main
Info:
  Processes: 237 Uptime: 3m wakeups: 3 Memory: 15.51 GiB used: 1.12 GiB (7.2%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
I thought you might also wanna see these logs too.
My Live USB Maker log

Code: Select all

=====================================================================
/usr/local/bin/live-usb-maker gui -N -E --size=60 -C off --from=/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso -t /dev/sdd
        program: live-usb-maker
        started: Sat Apr  5 09:31:45 PM UTC 2025
        version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
         kernel: 6.13.8-4-liquorix-amd64
             OS: MX 23.5_ahs (Libretto)
      found lib: /usr/local/lib/cli-shell-utils/cli-shell-utils.bash
    lib version: 2.41.05-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
---------------------------------------------------------------------

You will be asked to create a passphrase during the first boot
Found man page: live-usb-maker.1
Will use target device /dev/sdd (239G Samsung Flash Drive)
Will use source file /media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso
Found grub config 2.0

Encryption enabled
Estimated extfs overhead for 146650M is 44M

                   Total     Used     Extra
   entire drive  239 GiB 143 GiB  95.6 GiB
 main partition  143 GiB 114 GiB  28.8 GiB
 bios partition  150 MiB  57 MiB    93 MiB
 uefi partition   50 MiB  32 MiB    18 MiB


>> encryption-initrd
Checking to see if the live media will support encryption ...
 > wait_for_file /run/live-usb-maker/iso/antiX/linuxfs
 > mkdir -p /run/live-usb-maker/linux
 > mount -t squashfs -o loop,ro /run/live-usb-maker/iso/antiX/linuxfs /run/live-usb-maker/linux
mount: /run/live-usb-maker/linux: unknown filesystem type 'squashfs'.
       dmesg(1) may have more information after failed mount system call.
Error: Could not mount /run/live-usb-maker/iso/antiX/linuxfs at /run/live-usb-maker/linux

=====================================================================
/usr/local/bin/live-usb-maker gui -N --size=60 -C off --from=/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso -t /dev/sdd
        program: live-usb-maker
        started: Sat Apr  5 09:31:54 PM UTC 2025
        version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
         kernel: 6.13.8-4-liquorix-amd64
             OS: MX 23.5_ahs (Libretto)
      found lib: /usr/local/lib/cli-shell-utils/cli-shell-utils.bash
    lib version: 2.41.05-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
---------------------------------------------------------------------

Found man page: live-usb-maker.1
Will use target device /dev/sdd (239G Samsung Flash Drive)
Will use source file /media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso
Found grub config 2.0
Estimated extfs overhead for 146800M is 44M

                   Total     Used     Extra
   entire drive  239 GiB 143 GiB  95.6 GiB
 main partition  143 GiB 114 GiB  29.0 GiB
 uefi partition   50 MiB  32 MiB    18 MiB

Ready to make live-usb on device sdd
... by copying file /media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso

>> partition-clear
Total bytes: 256641603584
Total blocks: 501253132
 > dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34
 > dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34 seek=64
 > dd status=none conv=notrunc if=/dev/zero of=/dev/sdd bs=512 count=34 seek=501253098
 > partprobe /dev/sdd

>> partition-make
Using msdos partitioning
 > parted --script --align optimal /dev/sdd unit MiB mklabel msdos
 > dd status=none if=/dev/zero of=/dev/sdd seek=1024 bs=1K count=128
 > parted --script --align optimal /dev/sdd unit MiB mkpart primary 1 146800
 > parted --script --align optimal /dev/sdd unit MiB set 1 boot on
 > dd status=none if=/dev/zero of=/dev/sdd seek=150323200 bs=1K count=128
 > parted --script --align optimal /dev/sdd unit MiB mkpart primary 146800 146849
 > parted --script --align optimal /dev/sdd unit MiB set 2 esp on
 > partprobe /dev/sdd
 > wait_for_file /dev/sdd1

>> makefs-bios
 > mkfs.ext4 -O ^64bit -m0 -i16384 -J size=32 /dev/sdd1
mke2fs 1.47.0 (5-Feb-2023)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 37580544 4k blocks and 9396224 inodes
Filesystem UUID: 475d6e1e-c9a3-4740-bf08-7d3124a490b6
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables:    0/1147         done                            
Writing inode tables:    0/1147         done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:    0/1147         done

 > tune2fs -L Live-usb /dev/sdd1
tune2fs 1.47.0 (5-Feb-2023)
 > wait_for_file /dev/sdd2

>> makefs-uefi
 > mkfs.vfat -F 32 -n LIVE-UEFI /dev/sdd2
mkfs.fat 4.2 (2021-01-31)
 > partprobe /dev/sdd
 > wait_for_file /dev/sdd1
 > mkdir -p /run/live-usb-maker/main
 > mount -t ext4 /dev/sdd1 /run/live-usb-maker/main
 > wait_for_file /dev/sdd2
 > mkdir -p /run/live-usb-maker/uefi
 > mount -t vfat /dev/sdd2 /run/live-usb-maker/uefi

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdd1      ext4  142G   24K  142G   1% /run/live-usb-maker/main
/dev/sdd2      vfat   49M   512   49M   1% /run/live-usb-maker/uefi


>> copy-uefi
copy from iso to uefi partition
files [Ee][Ff][Ii] version
 > cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/EFI /run/live-usb-maker/uefi/.
Fix Dell uefi memtest bug
 > cp /run/live-usb-maker/uefi/EFI/BOOT/grubx64.efi /run/live-usb-maker/uefi/EFI/BOOT/fallback.efi

>> copy-main
 > rm -rf /run/live-usb-maker/main/boot.orig
copy from iso to main partition
vm.dirty_bytes = 20000000
copy /antiX/vmlinuz
 > cpio -pdm --quiet /run/live-usb-maker/main/
 > e4defrag -v ./antiX/vmlinuz
e4defrag 1.47.0 (5-Feb-2023)
ext4 defragmentation for ./antiX/vmlinuz
[1/1][1/1]./antiX/vmlinuz:	100%  extents: 1 -> 1	[ OK ]
 Success:			[1/1]
copy /antiX/initrd.gz
 > cpio -pdm --quiet /run/live-usb-maker/main/
 > e4defrag -v ./antiX/initrd.gz
e4defrag 1.47.0 (5-Feb-2023)
ext4 defragmentation for ./antiX/initrd.gz
[1/1][1/1]./antiX/initrd.gz:	100%  extents: 1 -> 1	[ OK ]
 Success:			[1/1]
copy remaining files ...
 > cpio -pdm --quiet /run/live-usb-maker/main/
copy pids: 25891 25894
vm.dirty_bytes = 20000000
vm.dirty_ratio = 0
 > write_file /run/live-usb-maker/main/made-by-live-usb-maker   created: Sat Apr  5 10:41:27 PM UTC 2025
  program: live-usb-maker
  version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
 > dd status=none if=/dev/urandom of=/run/live-usb-maker/main/antiX/random-seed bs=512 count=1
 > chmod 600 /run/live-usb-maker/main/antiX/random-seed
 > rm -rf /run/live-usb-maker/main/.disk

>> check-usb-md5
check md5 for initrd.gz
 > md5sum -c initrd.gz.md5
initrd.gz: OK
check md5 for linuxfs
 > md5sum -c linuxfs.md5
linuxfs: OK
check md5 for vmlinuz
 > md5sum -c vmlinuz.md5
vmlinuz: OK

>> uuids
Using antiX/MX grub config 2.0
 > mkdir -p /run/live-usb-maker/uefi/boot/grub
 > cp /run/live-usb-maker/main/boot/grub/config/efi-grub.cfg /run/live-usb-maker/uefi/boot/grub/grub.cfg
 > touch /run/live-usb-maker/main/boot/grub/config/did-efi-grub
 > sed -i /^\s*#/! s/%UUID%/475d6e1e-c9a3-4740-bf08-7d3124a490b6/ /run/live-usb-maker/uefi/boot/grub/grub.cfg
 > rm -f /run/live-usb-maker/main/boot/grub/config/*.id
 > touch /run/live-usb-maker/main/boot/grub/config/9202b0cfab85deb532be650f56c76233.id
 > sed -i /^\s*#/! s|%ID_FILE%|/boot/grub/config/9202b0cfab85deb532be650f56c76233.id| /run/live-usb-maker/uefi/boot/grub/grub.cfg

>> install
extlinux version 6.04
 > dd status=none bs=440 conv=notrunc count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdd
 > rm -f /run/live-usb-maker/main/boot/syslinux/chain.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/gfxboot.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/ldlinux.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libcom32.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libmenu.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/libutil.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/menu.c32
 > rm -f /run/live-usb-maker/main/boot/syslinux/syslinux.bin
 > rm -f /run/live-usb-maker/main/boot/syslinux/version
 > cp /usr/lib/syslinux/modules/bios/chain.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/gfxboot.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/ldlinux.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libcom32.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libmenu.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/libutil.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/linux.c32 /run/live-usb-maker/main/boot/syslinux/
 > cp /usr/lib/syslinux/modules/bios/menu.c32 /run/live-usb-maker/main/boot/syslinux/
 > write_file /run/live-usb-maker/main/boot/syslinux/version 6.04
 > extlinux -i /run/live-usb-maker/main/boot/syslinux
/run/live-usb-maker/main/boot/syslinux is device /dev/sdd1

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdd1      ext4  142G  115G   27G  82% /run/live-usb-maker/main
/dev/sdd2      vfat   49M   13M   36M  26% /run/live-usb-maker/uefi

>> done

live-usb-maker took 2 hours, 3 minutes, and 13 seconds.
My MX Snapshot Log

Code: Select all

2025-04-05 14:06:51.740 DBG: mx-snapshot version: 25.2
2025-04-05 14:06:51.758 DBG: grep -oP '(?<=DISTRIB_ID=).*' /etc/lsb-release
2025-04-05 14:06:51.763 DBG: cut -f1 -d'_' /etc/mx-version
2025-04-05 14:06:51.768 DBG: grep -oP '(?<=DISTRIB_CODENAME=).*' /etc/lsb-release
2025-04-05 14:06:51.773 DBG: /usr/share/mx-snapshot/scripts/snapshot-bootparameter.sh | tr '
' ' '
2025-04-05 14:06:51.808 DBG: +++ QString Settings::getFilename() const +++
2025-04-05 14:06:51.808 DBG: +++ void Settings::selectKernel() +++
2025-04-05 14:06:51.871 DBG: +++ void MainWindow::setup() +++
2025-04-05 14:06:51.918 DBG: +++ void MainWindow::loadSettings() +++
2025-04-05 14:06:51.919 DBG: +++ void MainWindow::listFreeSpace() +++
2025-04-05 14:06:51.919 DBG: - Free space on /home, where snapshot folder is placed: 673.39GiB 

2025-04-05 14:06:51.919 DBG: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      0 snapshots are taking up 0MiB of disk space.

2025-04-05 14:07:00.412 DBG: +++ void MainWindow::listFreeSpace() +++
2025-04-05 14:07:00.413 DBG: - Free space on /media/user/Backups/snapshots, where snapshot folder is placed: 564.51GiB 

2025-04-05 14:07:00.413 DBG: The free space should be sufficient to hold the compressed data from / and /home

      If necessary, you can create more available space
      by removing previous snapshots and saved copies:
      0 snapshots are taking up 0MiB of disk space.

2025-04-05 14:07:13.407 DBG: +++ void Settings::selectKernel() +++
2025-04-05 14:07:13.413 DBG: glxinfo | grep -q NVIDIA
2025-04-05 14:07:22.597 DBG: grep ^CONFIG_SQUASHFS_XZ=y /boot/config-6.13.8-4-liquorix-amd64
2025-04-05 14:07:29.130 DBG: +++ bool Settings::checkSnapshotDir() const +++
2025-04-05 14:07:29.130 DBG: mkdir -p "/media/user/Backups/snapshots/snapshot"
2025-04-05 14:07:32.547 DBG: chown $(logname): "/media/user/Backups/snapshots/snapshot"
2025-04-05 14:07:32.580 DBG: +++ bool Settings::checkTempDir() +++
2025-04-05 14:07:32.580 DBG: +++ static bool Settings::isOnSupportedPart(const QString&) +++
2025-04-05 14:07:32.580 DBG: Detected partition: "ext4" Supported part: true
2025-04-05 14:07:32.580 DBG: +++ static QString Settings::largerFreeSpace(const QString&, const QString&, const QString&) +++
2025-04-05 14:07:32.581 DBG: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2025-04-05 14:07:32.581 DBG: +++ static QString Settings::largerFreeSpace(const QString&, const QString&) +++
2025-04-05 14:07:32.581 DBG: Work directory is placed in "/tmp"
2025-04-05 14:07:32.581 DBG: +++ void Settings::excludeDesktop(bool) +++
2025-04-05 14:07:32.582 DBG: runuser user -c "xdg-user-dir DESKTOP" 2>/dev/null
2025-04-05 14:07:32.629 DBG: +++ void Settings::excludeDocuments(bool) +++
2025-04-05 14:07:32.629 DBG: runuser user -c "xdg-user-dir DOCUMENTS" 2>/dev/null
2025-04-05 14:07:32.674 DBG: +++ void Settings::excludeDownloads(bool) +++
2025-04-05 14:07:32.674 DBG: runuser user -c "xdg-user-dir DOWNLOAD" 2>/dev/null
2025-04-05 14:07:32.721 DBG: +++ void Settings::excludeFlatpaks(bool) +++
2025-04-05 14:07:32.721 DBG: +++ void Settings::excludeMusic(bool) +++
2025-04-05 14:07:32.721 DBG: runuser user -c "xdg-user-dir MUSIC" 2>/dev/null
2025-04-05 14:07:32.768 DBG: +++ void Settings::excludeNetworks(bool) +++
2025-04-05 14:07:32.768 DBG: +++ void Settings::excludePictures(bool) +++
2025-04-05 14:07:32.768 DBG: runuser user -c "xdg-user-dir PICTURES" 2>/dev/null
2025-04-05 14:07:32.815 DBG: +++ void Settings::excludeSteam(bool) +++
2025-04-05 14:07:32.815 DBG: +++ void Settings::excludeVideos(bool) +++
2025-04-05 14:07:32.815 DBG: runuser user -c "xdg-user-dir VIDEOS" 2>/dev/null
2025-04-05 14:07:32.861 DBG: +++ void Settings::excludeVirtualBox(bool) +++
2025-04-05 14:07:32.861 DBG: +++ void Settings::otherExclusions() +++
2025-04-05 14:07:32.880 DBG: +++ void Work::setupEnv() +++
2025-04-05 14:07:32.880 DBG: mountpoint /boot
2025-04-05 14:07:32.893 DBG: /boot is not a mountpoint

2025-04-05 14:07:32.893 DBG: +++ static bool Work::checkInstalled(const QString&) +++
2025-04-05 14:07:32.894 DBG: dpkg-query -W -f='${Status}' mx-installer | grep 'install ok installed'
2025-04-05 14:07:32.970 DBG: installed-to-live -b /.bind-root start bind=/home live-files version-file adjtime read-only
2025-04-05 14:07:34.156 DBG: Calculating total size of excluded files...
2025-04-05 14:07:34.156 DBG: du -sxc {/.bind-root/.fehbg,/.bind-root/lost+found,/.bind-root/tmp,/.bind-root/dev/,/.bind-root/media/,/.bind-root/mnt/,/.bind-root/sys/,/.bind-root/proc/,/.bind-root/run/,/.bind-root/boot/grub/,/.bind-root/etc/bcm-ckd,/.bind-root/etc/defaultdomain,/.bind-root/etc/crypttab,/.bind-root/etc/ioctl.save,/.bind-root/etc/live/protect,/.bind-root/etc/machine-id,/.bind-root/etc/mailname,/.bind-root/etc/resolv.conf,/.bind-root/home/*/.config/MX-Linux/xdg_check,/.bind-root/var/cache/apt/archives/*.deb,/.bind-root/var/cache/apt/archives/partial/,/.bind-root/var/cache/apt-xapian-index/index.*,/.bind-root/var/cache/apt/*.bin,/.bind-root/var/cache/debconf/*-old,/.bind-root/var/cache/lightdm,/.bind-root/var/cache/samba/browse.dat,/.bind-root/var/lib/apt/lists/,/.bind-root/var/lib/apt/periodic/,/.bind-root/var/lib/dbus/machine-id,/.bind-root/var/lib/dhcp/,/.bind-root/var/lib/dpkg/*-old,/.bind-root/var/lib/NetworkManager/,/.bind-root/var/lib/sudo/,/.bind-root/var/lib/urandom/,/.bind-root/var/log/,/.bind-root/var/log/clamav/,/.bind-root/var/log/journal/,/.bind-root/var/log/samba/,/.bind-root/var/mail/,/.bind-root/var/spool/mail/,/.bind-root/var/spool/anacron/,/.bind-root/var/tmp/,/.bind-root/var/cache/brightness-settings-cache/,/.bind-root/home/*/.cache/librewolf/*/cache2/,/.bind-root/home/*/.cache/thumbnails/,/.bind-root/home/*/.cache/xfce4/clipman/textsrc*,/.bind-root/home/*/.dbus,/.bind-root/home/*/.sudo_as_admin_successful,/.bind-root/home/*/.thumbnails/,/.bind-root/home/*/.bash_history,/.bind-root/home/*/.local/share/recently-used.xbel,/.bind-root/home/*/.xsession-errors*,/.bind-root/home/*/Downloads/,/.bind-root/tmp/mx-snapshot-lfgJsyNN} 2>/dev/null |tail -1 |cut -f1
2025-04-05 14:07:34.216 DBG: 3847728

2025-04-05 14:07:34.216 DBG: Calculating size of root...
2025-04-05 14:07:34.216 DBG: du -sx /.bind-root 2>/dev/null |tail -1 |cut -f1
2025-04-05 14:07:56.737 DBG: 205096716

2025-04-05 14:07:56.738 DBG: SIZE 205096716
2025-04-05 14:07:56.738 DBG: SIZE ROOT     205096716
2025-04-05 14:07:56.738 DBG: SIZE EXCLUDES 3847728
2025-04-05 14:07:56.738 DBG: COMPRESSION   31
2025-04-05 14:07:56.738 DBG: SIZE NEEDED   62387186
2025-04-05 14:07:56.738 DBG: SIZE FREE     591930092 

2025-04-05 14:07:56.738 DBG: +++ void Work::checkNoSpaceAndExit(quint64, quint64, const QString&) +++
2025-04-05 14:07:56.738 DBG: Needed space: 62387186
2025-04-05 14:07:56.738 DBG: Free space  : 591930092 on "/media/user/Backups/snapshots/snapshot"
2025-04-05 14:07:56.739 DBG: +++ void Work::checkNoSpaceAndExit(quint64, quint64, const QString&) +++
2025-04-05 14:07:56.739 DBG: Needed space: 62387186
2025-04-05 14:07:56.739 DBG: Free space  : 706104892 on "/tmp/mx-snapshot-lfgJsyNN"
2025-04-05 14:07:56.739 DBG: Copying the new-iso filesystem...
2025-04-05 14:07:56.739 DBG: tar xf /usr/lib/iso-template/iso-template.tar.gz
2025-04-05 14:07:57.109 DBG: cp /usr/lib/iso-template/template-initrd.gz iso-template/antiX/initrd.gz
2025-04-05 14:07:57.137 DBG: cp /boot/vmlinuz-6.13.8-4-liquorix-amd64 iso-template/antiX/vmlinuz
2025-04-05 14:07:57.174 DBG: +++ void Work::replaceMenuStrings() +++
2025-04-05 14:07:57.180 DBG: printf '%s\n' splash slub_debug=FZ ipv6.disable=1 lang=en_US kbd=us tz=Etc/UTC | grep -E '^(lang|kbd|kbvar|kbopt|tz)=[^[:space:]]*' >> '/tmp/mx-snapshot-lfgJsyNN/iso-template/boot/grub/grubenv.cfg'
2025-04-05 14:07:57.187 DBG: sed -i "s|%OPTIONS%|$(sed -r 's/[[:space:]](lang|kbd|kbvar|kbopt|tz)=[^[:space:]]*/ /g; s/^[[:space:]]+//; s/[[:space:]]+/ /g'<<<' splash slub_debug=FZ ipv6.disable=1 lang=en_US kbd=us tz=Etc/UTC')|" '/tmp/mx-snapshot-lfgJsyNN/iso-template/boot/grub/grub.cfg'
2025-04-05 14:07:57.197 DBG: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2025-04-05 14:07:57.197 DBG: Calculating checksum...
2025-04-05 14:07:57.197 DBG: sync
2025-04-05 14:07:57.577 DBG: md5sum "vmlinuz">"/tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/vmlinuz.md5"
2025-04-05 14:07:57.606 DBG: +++ void Work::openInitrd(const QString&, const QString&) +++
2025-04-05 14:07:57.607 DBG: Building new initrd...
2025-04-05 14:07:57.607 DBG: chmod a+rx "/tmp/mx-snapshot-GUMbsG"
2025-04-05 14:07:57.613 DBG: gunzip -c "/tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/initrd.gz" |cpio -idum
2025-04-05 14:07:57.660 WRN: 7154 blocks

2025-04-05 14:07:57.665 DBG: /usr/share/mx-snapshot/scripts/copy-initrd-modules -e -t="/tmp/mx-snapshot-GUMbsG" -k="6.13.8-4-liquorix-amd64"
2025-04-05 14:07:57.686 WRN: copy-initrd-modules warning: 1 repeated module(s) in input
sdhci

2025-04-05 14:07:57.691 WRN: modprobe: WARNING: Module aufs not found in directory /lib/modules/6.13.8-4-liquorix-amd64
modprobe: WARNING: Module block not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.691 WRN: modprobe: WARNING: Module cryptsetup not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.691 WRN: modprobe: WARNING: Module dmsetup not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module fotg210-hcd not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module fusbh200-hcd not found in directory /lib/modules/6.13.8-4-liquorix-amd64
modprobe: WARNING: Module hid-lenovo-tpkbd not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module hyperv not found in directory /lib/modules/6.13.8-4-liquorix-amd64
modprobe: WARNING: Module hyperv-fb not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module jbd not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module multipath not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module ntfs not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module pcie-aspm not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module printk not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.692 WRN: modprobe: WARNING: Module reiserfs not found in directory /lib/modules/6.13.8-4-liquorix-amd64
modprobe: WARNING: Module rts5139 not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.693 WRN: modprobe: WARNING: Module shpchp not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:57.693 WRN: modprobe: WARNING: Module whci-hcd not found in directory /lib/modules/6.13.8-4-liquorix-amd64
modprobe: WARNING: Module whc-rc not found in directory /lib/modules/6.13.8-4-liquorix-amd64

2025-04-05 14:07:58.394 DBG: /usr/share/mx-snapshot/scripts/copy-initrd-programs --to="/tmp/mx-snapshot-GUMbsG"
2025-04-05 14:07:58.428 DBG:   add program: ntfs-3g

2025-04-05 14:07:58.873 DBG: ld_linux: /lib64/ld-linux-x86-64.so.2

2025-04-05 14:07:58.876 DBG: ld_dir: /tmp/mx-snapshot-GUMbsG/lib/x86_64-linux-gnu

2025-04-05 14:07:59.092 DBG:   add program: eject

2025-04-05 14:08:00.174 DBG: ld_linux: /lib64/ld-linux-x86-64.so.2

2025-04-05 14:08:00.176 DBG: ld_dir: /tmp/mx-snapshot-GUMbsG/lib/x86_64-linux-gnu

2025-04-05 14:08:00.389 DBG:   add program: kmod

2025-04-05 14:08:01.260 DBG: ld_linux: /lib64/ld-linux-x86-64.so.2

2025-04-05 14:08:01.261 DBG: ld_dir: /tmp/mx-snapshot-GUMbsG/lib/x86_64-linux-gnu

2025-04-05 14:08:01.470 DBG: chown -R $(logname): /tmp/mx-snapshot-GUMbsG
2025-04-05 14:08:01.508 DBG: +++ void Work::closeInitrd(const QString&, const QString&) +++
2025-04-05 14:08:01.508 DBG: (find . |cpio -o -H newc --owner root:root |gzip -9) >"/tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/initrd.gz"
2025-04-05 14:08:04.096 WRN: 43571 blocks

2025-04-05 14:08:04.112 DBG: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2025-04-05 14:08:04.112 DBG: Calculating checksum...
2025-04-05 14:08:04.112 DBG: sync
2025-04-05 14:08:04.123 DBG: md5sum "initrd.gz">"/tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/initrd.gz.md5"
2025-04-05 14:08:04.190 DBG: +++ void Work::savePackageList(const QString&) +++
2025-04-05 14:08:04.190 DBG: dpkg -l | awk '/^ii /{printf "%-41s %s\n", $2, $3}' > '/tmp/mx-snapshot-lfgJsyNN/iso-template/snapshot-20250405_1406/package_list'
2025-04-05 14:08:04.250 DBG: +++ bool Work::createIso(const QString&) +++
2025-04-05 14:08:04.250 DBG: +++ static bool Work::checkInstalled(const QString&) +++
2025-04-05 14:08:04.250 DBG: dpkg-query -W -f='${Status}' expect | grep 'install ok installed'
2025-04-05 14:08:04.300 DBG: Squashing filesystem...
2025-04-05 14:08:04.300 DBG: stdbuf -o0 mksquashfs /.bind-root "/tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/linuxfs" -comp xz -processors 2 -throttle 0 -wildcards -ef /usr/local/share/excludes/mx-snapshot-exclude.list -e "home/*/Downloads/*" "home/*/Downloads/.*" "media/user/Backups/snapshots/snapshot" "tmp/mx-snapshot-lfgJsyNN" "swap/swap" 
2025-04-05 14:08:04.336 DBG: Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /tmp/mx-snapshot-lfgJsyNN/iso-template/antiX/linuxfs, block size 131072.

2025-04-05 14:08:04.586 DBG:         ]     0/46357   0%
...
2025-04-05 20:14:55.799 DBG: =================\ ] 2421000/2422877  99%
2025-04-05 20:15:11.445 DBG: 

2025-04-05 20:15:11.445 WRN: File /.bind-root/var/lib/smartmontools/attrlog.Samsung_SSD_860_EVO_1TB-S59VNMFN802212B.ata.csv changed size while reading filesystem, attempting to re-read

2025-04-05 20:15:11.473 WRN: File /.bind-root/var/lib/smartmontools/attrlog.TS128GMTS430S-H291850505.ata.csv changed size while reading filesystem, attempting to re-read

2025-04-05 20:15:16.389 DBG: 

2025-04-05 20:15:19.578 DBG: 
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 119849894.30 Kbytes (117040.91 Mbytes)
	61.69% of uncompressed filesystem size (194277783.87 Kbytes)
Inode table size 13297768 bytes (12986.10 Kbytes)
	23.82% of uncompressed inode table size (55831509 bytes)
Directory table size 17037008 bytes (16637.70 Kbytes)
	38.44% of uncompressed directory table size (44324984 bytes)
Xattr table size 78 bytes (0.08 Kbytes)
	97.50% of uncompressed xattr table size (80 bytes)
Number of duplicate files found 249080
Number of inodes 1378392
Number of files 1073003
Number of fragments 82310
Number of symbolic links 213436
Number of device nodes 0

2025-04-05 20:15:19.591 DBG: Number of fifo nodes 0
Number of socket nodes 0
Number of directories 91953
Number of hard-links 120622
Number of ids (unique uids + gids) 38
Number of uids 16
	root (0)
	user (1000)
	saned (111)
	lp (7)
	_apt (42)
	polkitd (996)
	statd (107)
	tss (101)
	lightdm (108)
	clamav (118)
	man (6)
	_chrony (102)
	colord (113)
	libvirt-qemu (64055)
	ntpsec (117)
	nm-openvpn (114)
Number of gids 32
	root (0)
	user (1000)
	dip (30)
	_chrony (111)
	lp (7)
	shadow (42)
	ssl-cert (107)
	dialout (20)
	games (60)
	crontab (101)
	mail (8)
	plocate (115)
	plugdev (46)
	_ssh (112)
	messagebus (109)
	tty (5)
	utmp (43)
	staff (50)
	lpadmin (108)
	clamav (130)
	man (12)
	colord (122)
	libvirt-qemu (64055)
	lightdm (117)
	nogroup (65534)
	ntpsec (129)
	nm-openvpn (123)
	sambashare (997)
	saned (120)
	tss (110)
	systemd-journal (999)
	adm (4)

2025-04-05 20:15:19.725 DBG: mv iso-template/antiX/linuxfs* iso-2/antiX
2025-04-05 20:15:19.732 DBG: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2025-04-05 20:15:19.732 DBG: Calculating checksum...
2025-04-05 20:15:19.732 DBG: sync
2025-04-05 20:15:19.766 DBG: md5sum "linuxfs">"/tmp/mx-snapshot-lfgJsyNN/iso-2/antiX/linuxfs.md5"
2025-04-05 20:19:19.918 DBG: /usr/bin/pkexec /usr/lib/mx-snapshot/snapshot-lib cleanup
2025-04-05 20:19:20.023 DBG: Creating CD/DVD image file...
2025-04-05 20:19:20.023 DBG: xorriso -as mkisofs -l -V MXLIVE -R -J -pad -iso-level 3 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot -c boot/isolinux/isolinux.cat -o "/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso" . "/tmp/mx-snapshot-lfgJsyNN/iso-2"
2025-04-05 20:19:20.038 WRN: xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.


2025-04-05 20:19:20.057 WRN: Drive current: -outdev 'stdio:/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data,  565g free

2025-04-05 20:19:20.083 WRN: Added to ISO image: directory '/'='/tmp/mx-snapshot-lfgJsyNN/iso-template'
xorriso : UPDATE :    1003 files added in 1 seconds

2025-04-05 20:19:20.087 WRN: Added to ISO image: directory '/'='/tmp/mx-snapshot-lfgJsyNN/iso-2'
xorriso : UPDATE :    1007 files added in 1 seconds

2025-04-05 20:19:20.197 WRN: xorriso : UPDATE :  0.01% done
...
2025-04-05 20:40:16.349 WRN: xorriso : UPDATE :  100.00% done

2025-04-05 20:40:17.351 WRN: ISO image produced: 59955883 sectors
Written to medium : 59955883 sectors at LBA 0

2025-04-05 20:40:17.355 WRN: Writing to 'stdio:/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso' completed successfully.


2025-04-05 20:40:17.357 DBG: Making hybrid iso
2025-04-05 20:40:17.357 DBG: isohybrid --uefi "/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso"
2025-04-05 20:40:17.700 WRN: isohybrid: Warning: more than 1024 cylinders: 117102
isohybrid: Not all BIOSes will be able to boot this device

2025-04-05 20:40:19.309 DBG: +++ void Work::makeChecksum(Work::HashType, const QString&, const QString&) +++
2025-04-05 20:40:19.309 DBG: Calculating checksum...
2025-04-05 20:40:19.309 DBG: sync
2025-04-05 20:40:19.393 DBG: sha512sum "snapshot-20250405_1406.iso">"/media/user/Backups/snapshots/snapshot/snapshot-20250405_1406.iso.sha512"
2025-04-05 20:59:06.987 DBG: Done
2025-04-05 20:59:06.990 DBG: Success MX Snapshot completed successfully!
Snapshot took 06:51:37 to finish.

Thanks for using MX Snapshot, run MX Live USB Maker next!
2025-04-05 21:30:53.499 DBG: Cleaning...[?25h
2025-04-05 21:30:54.131 DBG: Done

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Sun Apr 06, 2025 3:14 pm
by fehlix
gbhollr wrote: Sun Apr 06, 2025 10:01 am Hi. So I removed the boot parameters and updated grub.
I created a new snapshot and flashed it to my USB drive but I still got the same error as before.
Here's a screenshot.
Actually I didn't meant to create a new snapshot and to write again to the USB-device.
What I meant was remove all those addtional boot parameter within the LiveGRUB menu,
by pressing "E"-key for edit the boot entry, where you see all those boot parameters.
Just keep "quiet" and "nosplash" remove all other incuding remove "splasht", so you would see more what's going on.
Use arrow-keys to navigate and remove with Del-key or with "delete-left-key" (backspace-key)
and press F10 or Ctrl+x to boot.

But anyway the screenshot indicates, the Live-system seems to have some issues to detect
the USB-drive prperly, first it sees as sdc and retries and suddenly have two sdc and sdd.

Also as shown on the picture after "Saving random seed", the Live system tries to mount, and failes.
So it can't even check anything.

Maybe an issue with you USB-device? Undepowerd? Is the USB-device connected directly
or through USB-hub? Pull out all other USB-devices and connect directly to USB-3 port, which may have enough power.

As this is an UEFI bootable system, you may consider when using "Live USB maker" to select "GPT" under advanced options,
to avoid issue with MS/DOS partition driver within UEFI boot.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Mon Apr 07, 2025 10:14 am
by gbhollr
I flashed the ISO once again with the GPT partitioning checked on but
I still keep getting that same error. I even unplugged all other USB devices and plugged the flash drive in a USB-3 port and
even removed thos boot parameters with e key like you suggested.
I still had no luck.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Mon Apr 07, 2025 10:37 am
by fehlix
gbhollr wrote: Mon Apr 07, 2025 10:14 am I flashed the ISO once again with the GPT partitioning checked on but
I still keep getting that same error. I even unplugged all other USB devices and plugged the flash drive in a USB-3 port and
even removed thos boot parameters with e key like you suggested.
I still had no luck.
I'd probably now just for testing, use a normal downloaded released ISO e.g MX-23.5_March_x64.iso and "flash" with MX-LiveUSBMaker
on the same USB-device. And sees whether the LiveSystem will find the USB-device to further boot.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Mon Apr 07, 2025 12:34 pm
by gbhollr
I just tested with a normal ISO and it works perfectly.

If it helps, my custom ISO is over 100 GB.
Recently, I accidentally broke the OS but I made a backup with Timeshift and resumed my OS from that (though I had to fix the EFI bootloader afterwards).

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Thu Apr 10, 2025 10:10 am
by gbhollr
Hello? Anyone?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Thu Apr 10, 2025 10:43 am
by CharlesV
gbhollr wrote: Mon Apr 07, 2025 12:34 pm I just tested with a normal ISO and it works perfectly.

If it helps, my custom ISO is over 100 GB.
Recently, I accidentally broke the OS but I made a backup with Timeshift and resumed my OS from that (though I had to fix the EFI bootloader afterwards).
There are a couple of good clues here with the normal ISO working.

1) I think you should try using a different kernel version. Simple to do, and we have seen some oddities on the 6.13 kernel. Drop back to say 6.12 and try creating the snapshot there.

2) Some machines have issues with attempting to boot with large iso's. I have seen where a 30gb iso will not boot, but a 10gb will. Possibly try excluding as much data as you can, create that iso and see if it will boot.

The third thing I would try if both of those things fail... is to create a VirtualBox MX-23, update it to where you are (kernel, etc), but dont exclude drivers or remove anything - then create the snapshot, write it out using liveusb either inside or outside your VM. (personally, I would copy the iso to your non VM and write it there... but you may find that writing is the issue.)

Edit: fixed a typo

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Thu Apr 10, 2025 11:34 am
by gbhollr
Thanks but how do I downgrade the kernel?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Thu Apr 10, 2025 11:46 am
by CharlesV
If you have other kernels loaded already, then MX Boot options and choose a different one to load.

If you dont have any other kernels, then MX Package Manager - type in liquorix and change to the Enabled Repos tab. Choose the kernel image and headers that you want. (Say 6.12.16 for both ) check them and then install. This should effectively "pin" your kernel to 6.12.16 and once installed and rebooted your qsi should show this kernel as running. (And if not, then go to MX Boot OPtions and choose it.)

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 2:52 am
by gbhollr
So I switched over to kernel 6.12.17 and flashed a new ISO again...
I still keep getting the same error. Do I keep downgrading one version at a time until I get it right or...?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 3:27 am
by DukeComposed
gbhollr wrote: Fri Apr 11, 2025 2:52 am I still keep getting the same error. Do I keep downgrading one version at a time until I get it right or...?
As The Dude would say, "Obviously you're not a computer scientist."

I have owned 11 bikes. This is how they were stolen
Bike 8 was stolen from a station cycle rack, where I had parked it directly beneath a camera. This time, I thought, we have them. Triumphantly I went to the police. "Look!" I said. "You will be able to see them." They refused to look at the footage unless I could narrow it down to a window shorter than a few hours.

Afterwards I found a chatroom thread among Cambridge computer scientists, one of whom had also been told that unless he could pin down the moment of theft no one would look at the footage. He said he had tried to explain sorting algorithms to police — he was a computer scientist, after all.

You don't watch the whole thing, he said. You use a binary search. You fast forward to halfway, see if the bike is there and, if it is, zoom to three quarters of the way through. But if it wasn't there at the halfway mark, you rewind to a quarter of the way through. It's very quick. In fact, he had pointed out, if the CCTV footage stretched back to the dawn of humanity it would probably have only taken an hour to find the moment of theft. This argument didn't go down well.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 4:35 am
by putih
ah that error #1
r or q

came up with some iso antix /mx respin with ventoy

the solutions is use MX Live USB Maker

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 8:09 am
by gbhollr
@DukeComposed Alright. I think I get it. But how do I narrow down to what version I need. Like you said, I'm not a computer scientist but boy do I wanna learn the ins and outs of troubleshooting a Linux system.

And @putih , I am using MX Live USB Maker.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 10:40 am
by CharlesV
gbhollr wrote: Fri Apr 11, 2025 2:52 am So I switched over to kernel 6.12.17 and flashed a new ISO again...
I still keep getting the same error. Do I keep downgrading one version at a time until I get it right or...?
Did you restart and verify that you were ON that new 6.12.17 kernel... before you created the iso ?

And have you tried :
1) A new pocket drive ? (a different brand / model )
2) Excluding all of your data to see if you can boot the iso without data on it.

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 11:04 am
by siamhie
gbhollr wrote: Fri Apr 11, 2025 2:52 am So I switched over to kernel 6.12.17 and flashed a new ISO again...
I still keep getting the same error. Do I keep downgrading one version at a time until I get it right or...?
When you opened MX Snapshot, What kernel was listed at the very bottom under "Live kernel"?

Re: Flashed a snapshot image to a USB drive but can't boot it!

Posted: Fri Apr 11, 2025 11:42 am
by DukeComposed
gbhollr wrote: Fri Apr 11, 2025 8:09 am @DukeComposed Alright. I think I get it. But how do I narrow down to what version I need. Like you said, I'm not a computer scientist but boy do I wanna learn the ins and outs of troubleshooting a Linux system.
Binary searching is useful for more than just computer repair. If you know an old kernel works but a new one doesn't (personally I'd just stick with the old kernel but that's just me), you pick a halfway point between them and try that kernel.

If that kernel doesn't work, you pick a new halfway point, one between your old halfway point and the first kernel. With each test, you're skipping half of the kernels in the range between your samples. Eventually you'll narrow your scope down to a specific boundary condition: these two kernels will be next to each other in sequence, one will work, one will not.

This is, of course, assuming all kernels are alike except for this one exact difference you're looking for. We can also safely assume this isn't true in the real world but at the very least you can conduct your search intelligently.