I just made a live usb of antiX via live-usb-maker (cli).
I used gparted to wipe the disk and then formatted it to fat32 for the whole disk.
Unplugged, plugged in stick and ran live-usb-maker (cli). No errors.
Code: Select all
=====================================================================
/usr/local/bin/live-usb-maker
program: live-usb-maker
started: Wed Nov 28 18:43:27 EET 2018
version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
kernel: 4.19.4-antix.2-amd64-smp
OS: antiX 17.a2 (keerfa)
found lib: /usr/local/lib/cli-shell-utils/cli-shell-utils.bash
lib version: 2.00.17 (Sat Jan 13 12:41:56 MST 2018)
---------------------------------------------------------------------
Found man page: live-usb-maker.1
Only one target usb device was found sdb
Will use target device sdb (3.8G JetFlash TS4GJFV10)
Will use source file /home/anticap/Remaster/iso-files/antiX-18.a1_386-base.iso
Distro: antiX-18.a1_386-base Helen Keller 25 November 2018
Encryption enabled
Estimated extfs overhead for 3711M is 7M
Total Used Extra
entire drive 3,912 3,911 1 MiB
main partition 3,711 702 3,009 MiB
bios partition 150 18 132 MiB
uefi partition 50 11 39 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
> copy-initrd-programs --no-color --from=/run/live-usb-maker/linux --to=/run/live-usb-maker/initrd --clean
Cleaning out all libraries and these program(s): ntfs-3g eject cryptsetup
> copy-initrd-programs --no-color --from=/run/live-usb-maker/linux --to=/run/live-usb-maker/initrd --encrypt
add program: ntfs-3g
ld_linux: /lib/ld-linux.so.2
ld_dir: /run/live-usb-maker/initrd/lib
add program: eject
ld_linux: /lib/ld-linux.so.2
ld_dir: /run/live-usb-maker/initrd/lib
add program: cryptsetup
ld_linux: /lib/ld-linux.so.2
ld_dir: /run/live-usb-maker/initrd/lib
add 4.9.138-antix.1-486-smp encryption modules to initrd
> copy-initrd-modules --quiet --only-encrypt --from=/run/live-usb-maker/linux --to=/run/live-usb-maker/initrd
Please wait while some random passphrases are generated
Dictionary size is 42,756 words (15.4 bits/word)
Soon you will be asked to enter a new passphrase (3 times)
=====> Ready to make encrypted live-usb on device sdb
... by copying file /home/anticap/Remaster/iso-files/antiX-18.a1_386-base.iso
>> partition-clear
> dd status=none if=/dev/zero of=/dev/sdb bs=1K count=17
> dd status=none if=/dev/zero of=/dev/sdb bs=1K count=17 seek=32
> dd status=none conv=notrunc if=/dev/zero of=/dev/sdb bs=1K count=17 seek=4005871
> partprobe /dev/sdb
>> partition-make
Using msdos partitioning
> 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 ext4 1 150
> dd status=none if=/dev/zero of=/dev/sdb seek=153600 bs=1K count=128
> parted --script --align optimal /dev/sdb unit MiB mkpart primary 150 3861
> dd status=none if=/dev/zero of=/dev/sdb seek=3953664 bs=1K count=128
> parted --script --align optimal /dev/sdb unit MiB mkpart primary fat32 3861 3911
> parted --script --align optimal /dev/sdb unit MiB set 1 boot on set 3 esp on
> partprobe /dev/sdb
> wait_for_file /dev/sdb1
>> makefs-bios
> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdb1
mke2fs 1.43.4 (31-Jan-2017)
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 152576 1k blocks and 1672 inodes
Filesystem UUID: 08d6d774-50fa-4fa1-9d23-c8170e6c8222
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Allocating group tables: 0/19 done
Writing inode tables: 0/19 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/19 done
> tune2fs -L antiX-Live-usb /dev/sdb1
tune2fs 1.43.4 (31-Jan-2017)
> wait_for_file /dev/sdb3
>> makefs-uefi
> mkfs.vfat -n antiX-uefi /dev/sdb3
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)
>> encrypt-main
> wait_for_file /dev/sdb1
> mkdir -p /run/live-usb-maker/bios
> mount -t ext4 /dev/sdb1 /run/live-usb-maker/bios
About to encrypt device /dev/sdb2
We want to overwrite the data on /dev/sdb2
Type in upper-case 'YES' as suggested
You will be asked for the passphrase a third time
Encryption successful
>> makefs-main
> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/mapper/live-usb-maker
mke2fs 1.43.4 (31-Jan-2017)
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 949504 4k blocks and 38976 inodes
Filesystem UUID: 3eebdbef-b1eb-4282-ba71-74c5b2607c3a
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: 0/29 done
Writing inode tables: 0/29 done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 0/29 done
> tune2fs -L antiX-Live-usb /dev/mapper/live-usb-maker
tune2fs 1.43.4 (31-Jan-2017)
> write_file /run/live-usb-maker/bios/antiX/encrypted ae963c93-4e49-4572-87cd-02c5785b207d
> umount /dev/sdb1
> wait_for_file /dev/mapper/live-usb-maker
> mkdir -p /run/live-usb-maker/main
> mount -t ext4 /dev/mapper/live-usb-maker /run/live-usb-maker/main
> partprobe /dev/sdb
> wait_for_file /dev/sdb1
> mkdir -p /run/live-usb-maker/bios
> mount -t ext4 /dev/sdb1 /run/live-usb-maker/bios
> wait_for_file /dev/sdb3
> mkdir -p /run/live-usb-maker/uefi
> mount -t vfat /dev/sdb3 /run/live-usb-maker/uefi
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext4 117M 1.6M 113M 2% /run/live-usb-maker/bios
/dev/mapper/live-usb-maker ext4 3.6G 7.3M 3.6G 1% /run/live-usb-maker/main
/dev/sdb3 vfat 50M 0 50M 0% /run/live-usb-maker/uefi
>> copy-bios
copy from iso to bios partition
files: [Ee][Ff][Ii] boot/{syslinux,grub,memtest} antiX/{vmlinuz,initrd}* version
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/antiX/initrd.gz /run/live-usb-maker/bios/antiX
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/antiX/initrd.gz.md5 /run/live-usb-maker/bios/antiX
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/antiX/vmlinuz /run/live-usb-maker/bios/antiX
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/antiX/vmlinuz.md5 /run/live-usb-maker/bios/antiX
> mkdir -p /run/live-usb-maker/bios/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/grub /run/live-usb-maker/bios/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/memtest /run/live-usb-maker/bios/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/syslinux /run/live-usb-maker/bios/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/EFI /run/live-usb-maker/bios/.
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/version /run/live-usb-maker/bios/.
> write_file /run/live-usb-maker/bios/antiX/initrd.gz.md5 09e0b842b20588f4865719e23bec8698 initrd.gz
>> copy-uefi
copy from iso to uefi partition
files: [Ee][Ff][Ii] boot/{grub,uefi-mt} version
> mkdir -p /run/live-usb-maker/uefi/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/grub /run/live-usb-maker/uefi/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/uefi-mt /run/live-usb-maker/uefi/boot
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/EFI /run/live-usb-maker/uefi/.
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/version /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
files: *
Using progress function: text_progress_bar
> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/antiX /run/live-usb-maker/iso/boot /run/live-usb-maker/iso/cdrom.ico /run/live-usb-maker/iso/EFI /run/live-usb-maker/iso/version /run/live-usb-maker/main/
vm.dirty_bytes = 20000000
copy pids: 20443 20445
vm.dirty_bytes = 0
vm.dirty_ratio = 20
> write_file /run/live-usb-maker/bios/made-by-live-usb-maker created: Wed Nov 28 18:48:58 EET 2018
program: live-usb-maker
version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
> 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
>> uuids
> mkdir -p /run/live-usb-maker/bios/antiX
> write_file /run/live-usb-maker/bios/antiX/esp-uuid 5D3B-B593
> mkdir -p /run/live-usb-maker/main/antiX
> write_file /run/live-usb-maker/main/antiX/esp-uuid 5D3B-B593
> sed -i /search.*--set=root.*/ s/.*/search --no-floppy --set=root --fs-uuid 08d6d774-50fa-4fa1-9d23-c8170e6c8222/ /run/live-usb-maker/uefi/boot/grub/grub.cfg
> sed -ri s/^#-+esp\s*// /run/live-usb-maker/uefi/boot/grub/grub.cfg
> sed -ri s/(root=\(hd0,)[0-9]\)/\13)/ /run/live-usb-maker/uefi/boot/grub/grub.cfg
>> install
extlinux version 6.03
> dd status=none bs=440 conv=notrunc count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdb
> rm -f /run/live-usb-maker/bios/boot/syslinux/chain.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/gfxboot.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/ldlinux.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/libcom32.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/libmenu.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/libutil.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/menu.c32
> rm -f /run/live-usb-maker/bios/boot/syslinux/version
> cp /usr/lib/syslinux/modules/bios/chain.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/gfxboot.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/ldlinux.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/libcom32.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/libmenu.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/libutil.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/linux.c32 /run/live-usb-maker/bios/boot/syslinux/
> cp /usr/lib/syslinux/modules/bios/menu.c32 /run/live-usb-maker/bios/boot/syslinux/
> write_file /run/live-usb-maker/bios/boot/syslinux/version 6.03
> extlinux -i /run/live-usb-maker/bios/boot/syslinux
/run/live-usb-maker/bios/boot/syslinux is device /dev/sdb1
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext4 117M 22M 93M 19% /run/live-usb-maker/bios
/dev/mapper/live-usb-maker ext4 3.6G 703M 2.9G 20% /run/live-usb-maker/main
/dev/sdb3 vfat 50M 12M 39M 24% /run/live-usb-maker/uefi
>> done
live-usb-maker took 5 minutes and 14 seconds.
Let me try again with the gui front-end.