live-usb-maker not wanting to write to USB Flash Drive

Message
Author
ShysterQuack
Posts: 1
Joined: Thu Jun 03, 2021 1:33 pm

live-usb-maker not wanting to write to USB Flash Drive

#1 Post by ShysterQuack »

I have a "16 Gb" flash drive that I wanted to put MX Linux on. I first tried using a snapshot but the iso generated was more then the flash drive.
I next tried the official MX-19.4_x64.iso which claimed there were formatting issues. I reformatted the whole drive to ext4 and tried again but am still getting errors. Seems to issues with trying to create a second partition (sdd2) but am not sure what I can do. BTW, I would consider myself a medium-advanced beginner with Linux.

Here is the output from the dry run:


Error: Could not mount /dev/sdd2 at /run/live-usb-maker/uefi
mount: /run/live-usb-maker/uefi: special device /dev/sdd2 does not exist.
> mount -t vfat /dev/sdd2 /run/live-usb-maker/uefi
> mkdir -p /run/live-usb-maker/uefi
p> wait_for_file /dev/sdd2
> mount -t ext4 /dev/sdd1 /run/live-usb-maker/main
> mkdir -p /run/live-usb-maker/main
p> wait_for_file /dev/sdd1
p> partprobe /dev/sdd
p> mkfs.vfat -F 32 -n MX-UEFI /dev/sdd2
>> makefs-uefi

p> wait_for_file /dev/sdd2
p> tune2fs -L MX-Live-usb /dev/sdd1
p> mkfs.ext4 -O ^64bit -m0 -i16384 -J size=32 /dev/sdd1
>> makefs-bios

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

p> partprobe /dev/sdd
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdd bs=512 count=34 seek=30240734
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdd bs=512 count=34 seek=30240734
p> dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34 seek=64
p> dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34 seek=64
p> dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34
p> dd status=none if=/dev/zero of=/dev/sdd bs=512 count=34
Total blocks: 30240768
Total bytes: 15483273216
>> partition-clear

... by copying file /home/steven/Desktop/MX-19.4_x64.iso
Ready to make live-usb on device sdd

uefi partition 50 MiB 18 MiB 32 MiB
main partition 14.4 GiB 1.62 GiB 12.8 GiB
entire drive 14.4 GiB 14.4 GiB 1 MiB
Total Used Extra

Estimated extfs overhead for 14715M is 36M
Found grub config 2.0
Distro: MX-19.4_x64 patito feo March 31, 2021
Will use source file /home/steven/Desktop/MX-19.4_x64.iso
Will use target device /dev/sdd (14.4G Kingston DataTraveler_2.0)
PRETEND MODE ENABLED
Found man page: live-usb-maker.1

---------------------------------------------------------------------
lib version: 2.41.05 (Tue 05 Nov 2019 08:50:59 PM MST)
found lib: /usr/local/lib/cli-shell-utils/cli-shell-utils.bash
OS: MX 19.4 (patito feo)
kernel: 4.19.0-16-amd64
version: 2.41.18 (Sat Dec 19 02:26:36 PM MST 2020)
started: Thu 03 Jun 2021 12:46:04 PM EDT
program: live-usb-maker
/usr/local/bin/live-usb-maker gui -N -p -V -C off --from=/home/steven/Desktop/MX-19.4_x64.iso -t /dev/sdd
=====================================================================

Thank you for any help you can provide.

SQ

User avatar
dolphin_oracle
Developer
Posts: 22705
Joined: Sun Dec 16, 2007 12:17 pm

Re: live-usb-maker not wanting to write to USB Flash Drive

#2 Post by dolphin_oracle »

if you can do a real run on that device, and post the log, that would be useful. we need to see what step is actually failing.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Huckleberry Finn

Re: live-usb-maker not wanting to write to USB Flash Drive

#3 Post by Huckleberry Finn »

@ShysterQuack Can you please edit your post (pencil icon) and highlight all outputs then click this icon </>

Code: Select all

Like this
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “General”