I've tried this on different machines running different versions of MX, and with different ISO's, and I never seem to get it right.
MX live usb maker isn't able to flash an MX iso in FULL mode, i.e. creating a writable system that can be used with persistency.
This is the log after my last attempt, using MX23 64bit and flashing the same iso on an 8Gb microsd drive (yes, the sd is a fake 2Tb one, but I've been unsuccessful even with good and real usb sticks or sd cards before... also, on the same microsd card I can flash an ISO in dd mode with no problem at all...)
Thank you for your time
Tiziano
Code: Select all
=====================================================================
/usr/local/bin/live-usb-maker gui -N -C off --from=/home/snapshot/MX-23.1_x64.iso -t /dev/sdb
program: live-usb-maker
started: mar 17 ott 2023, 12:06:03, CEST
version: 2.41.19-2302 (Sat, 25 Feb 2023 12:45:10 -0500)
kernel: 6.1.0-13-amd64
OS: MX 23 (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
Verrà utilizzato il dispositivo di destinazione /dev/sdb (2T SD/MMC Card Reader)
Verrà utilizzata la sorgente file /home/snapshot/MX-23.1_x64.iso
Distro: MX-23.1_x64 Libretto October 15, 2023
Trovata configurazione di grub 2.0
Estimated extfs overhead for 2047949M is 44M
Totale Usato Extra
intera unità 1.95 TiB 1.95 TiB 1 MiB
partizione principale 1.95 TiB 2.13 GiB 1.95 TiB
partizione uefi 50 MiB 32 MiB 18 MiB
Pronto per la creazione di live-usb sul dispositivo sdb
... per Copia in corso file /home/snapshot/MX-23.1_x64.iso
>> partition-clear
Total bytes: 2147483648000
Total blocks: 4194304000
> dd status=none if=/dev/zero of=/dev/sdb bs=512 count=34
> dd status=none if=/dev/zero of=/dev/sdb bs=512 count=34 seek=64
> dd status=none conv=notrunc if=/dev/zero of=/dev/sdb bs=512 count=34 seek=4194303966
> partprobe /dev/sdb
>> partition-make
Utilizzo del partizionamento msdos
> parted --script --align optimal /dev/sdb unit MiB mklabel msdos
> dd status=none if=/dev/zero of=/dev/sdb seek=1024 bs=1K count=128
> parted --script --align optimal /dev/sdb unit MiB mkpart primary 1 2047949
> parted --script --align optimal /dev/sdb unit MiB set 1 boot on
> dd status=none if=/dev/zero of=/dev/sdb seek=2097099776 bs=1K count=128
> parted --script --align optimal /dev/sdb unit MiB mkpart primary 2047949 2047998
> parted --script --align optimal /dev/sdb unit MiB set 2 esp on
> partprobe /dev/sdb
> wait_for_file /dev/sdb1
>> makefs-bios
> mkfs.ext4 -O ^64bit -m0 -i16384 -J size=32 /dev/sdb1
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.
Creazione del file system con 524274688 4k blocchi e 131072000 inode
Etichetta del file system=65d46df6-5d86-4bf6-937b-5eedc2f5296b
Backup del superblocco salvati nei blocchi:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000
Allocating group tables: 0/16000 fatto
Scrittura delle tavole degli inode: 0/16000 fatto
Creating journal (8192 blocks): fatto
Scrittura delle informazioni dei super-blocchi e dell'accounting del file system: 0/16000 1/16000 fatto
> tune2fs -L MX-Live-usb /dev/sdb1
tune2fs 1.47.0 (5-Feb-2023)
> wait_for_file /dev/sdb2
>> makefs-uefi
> mkfs.vfat -F 32 -n MX-UEFI /dev/sdb2
mkfs.fat 4.2 (2021-01-31)
> partprobe /dev/sdb
> wait_for_file /dev/sdb1
> mkdir -p /run/live-usb-maker/main
> mount -t ext4 /dev/sdb1 /run/live-usb-maker/main
mount: /run/live-usb-maker/main: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Errore: Could not mount /dev/sdb1 at /run/live-usb-maker/main
live-usb-maker took 46 seconds.