(solved)live-usb-maker does not work for me

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: live-usb-maker does not work for me

#11 Post by dolphin_oracle »

I'm thinking that somehow there are 2 partition tables on his stick and its causing confusion

I though all those DD commands in LUM were to take care of that stuff.
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.

caprea
Posts: 146
Joined: Sat Aug 23, 2014 7:01 am

Re: live-usb-maker does not work for me

#12 Post by caprea »

Thanks for looking entropyfoe and anticapitalista,
same result with fat32

Code: Select all

=====================================================================
/usr/local/bin/live-usb-maker gui -N -p -V -C off --from=/home/helga/Downloads/antiX-17.2_386-full.iso -t /dev/sdc
        program: live-usb-maker
        started: Mi 28. Nov 18:32:47 CET 2018
        version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
         kernel: 4.15.0-1-amd64
             OS: MX 17.1 (Horizon)
      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
PROBEMODUS AKTIV
Gerät /dev/sdc (1,9G USB2.0 Flash Disk) wird als Ziel verwendet
Datei /home/helga/Downloads/antiX-17.2_386-full.iso wird als Quelle verwendet
Distro: antiX-17.2_386-full Helen Keller 4 October 2018
Estimated extfs overhead for 1857M is 2M

                    gesamt  benutzt  unbelegt
 Gesamtes Laufwerk   1,908    1,907         1  MiB
    Hauptpartition   1,857      981       876  MiB
    UEFI Partition      50       11        39  MiB

Bereit live-usb auf Gerät sdc
... mit Kopiere Datei /home/helga/Downloads/antiX-17.2_386-full.iso zu erstellen

>> partition-clear
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=1953775
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=1953775
p> partprobe /dev/sdc

>> partition-make
msdos Partitionierung wird verwendet
p> parted --script --align optimal /dev/sdc unit MiB mklabel msdos
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary ext4 1 1857
p> dd status=none if=/dev/zero of=/dev/sdc seek=1901568 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=1901568 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary fat32 1857 1907
p> parted --script --align optimal /dev/sdc unit MiB set 1 boot on set 2 esp on
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1

>> makefs-bios
p> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdc1
p> tune2fs -L antiX-Live-usb /dev/sdc1
p> wait_for_file /dev/sdc2

>> makefs-uefi
p> mkfs.vfat -n antiX-uefi /dev/sdc2
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1
 > mkdir -p /run/live-usb-maker/main
 > mount -t ext4 /dev/sdc1 /run/live-usb-maker/main
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
Fehler: Could not mount /dev/sdc1 at /run/live-usb-maker/main


caprea
Posts: 146
Joined: Sat Aug 23, 2014 7:01 am

Re: live-usb-maker does not work for me

#13 Post by caprea »

anti, I'm on MX in time and I think automount is on, I think I already tried in AntiX to unmount the stick before.
Later in the evening I will go to the desktop and have a try there.
I'm wondering nobody else sees this, one stick is a new one and should have worked.
How can I get rid of possibly 2 partition tables on the sticks ?

User avatar
anticapitalista
Developer
Posts: 4166
Joined: Sat Jul 15, 2006 10:40 am

Re: live-usb-maker does not work for me

#14 Post by anticapitalista »

gparted should wipe the whole disk and then just format the stick - under Partition - new etc. Don't use Device >Create Partition Type
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

skidoo
Posts: 753
Joined: Tue Sep 22, 2015 6:56 pm

Re: live-usb-maker does not work for me

#15 Post by skidoo »

yes, sounds like automounting interference. If spacefm is running while using live-usb-maker, its separate automounting preference (mentioned in the antiX automount manager gui, but easily forgotten) can interfere.

User avatar
Gerson
Posts: 876
Joined: Sun Nov 12, 2017 10:58 am

Re: live-usb-maker does not work for me

#16 Post by Gerson »

@freefreeno
The same situation I have been reporting for some time. I have not been able to make a bootable USB with the MX tools, I always have to resort to Rufus on a Windows machine but that is not what I want, it is not a problem of USB failure (I have several) or a boot option in the BIOS or the UEFI, nor if the port is USB 2.0 or 3.0, also the speed of creation, Rufus takes less than 2 minutes to create the USB bootable while I have to wait more than 10 minutes to do the same with MX and fails tear.
No todos ignoramos las mismas cosas. :confused:

turtlebay777
Posts: 254
Joined: Sat Apr 14, 2018 2:40 pm

Re: live-usb-maker does not work for me

#17 Post by turtlebay777 »

Had trouble with MX's live-usb-maker myself so I always use the tools in accessories in Mint to make live USBs, luckily I have a copy of their 17.3 Mate on my PC as well as MX.

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: live-usb-maker does not work for me

#18 Post by fehlix »

turtlebay777 wrote: Wed Nov 28, 2018 2:20 pm Had trouble with MX's live-usb-maker myself so I always use the tools in accessories in Mint to make live USBs, luckily I have a copy of their 17.3 Mate on my PC as well as MX.
FWIW, minstick latest version is available from mx-testrepo via MX Package installer.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: live-usb-maker does not work for me

#19 Post by fehlix »

caprea wrote: Wed Nov 28, 2018 12:08 pm ...
It will not work, if the stick has one partition. I tried different sticks, different formating.
Or is this the desired behavior, do I first have to create the two partitions with gparted or whatever, and if so where is this mentioned in the manual?

Anyway here are some logs of a dry run.This is on MX.

Code: Select all

live-usb-maker-error
:Could not mount /dev/sdc1 at /run/live-usb-maker/main

Code: Select all

live-usb-maker.log
...
 > mount -t ext4 /dev/sdc1 /run/live-usb-maker/main
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       missing codepage or helper program, or other error
OK, I can somehow reproduce the reported issues:
The log shown in OP post #1 is from prentend mode.
Nevertheless the mount-command is made real, not pretending. But the tried mount-command cannot mount a partition , if existing partion is not of type "ext4". => Hence the error message in pretend mode:
Proof:
1. partion the USBStick as FAT32, with gparted or any other tool.
2. run the command in pretend mode "-p" with my USB-stick as /dev/sdg:

Code: Select all

sudo /usr/local/bin/live-usb-maker gui -N -p -V -C off --from=/mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso -t /dev/sdg
Test of the Error-message in pretend mode:

Code: Select all

===============================================================================
Starting live-usb-maker
===============================================================================
PRETEND MODE ENABLED
Will use target device /dev/sdg (1.9G General UDisk)
Will use source file /mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso
Distro: antiX-17.2_386-base Helen Keller 4 October 2018

                 Total   Used  Extra
   entire drive  1,900  1,899      1  MiB
 main partition  1,849    651  1,198  MiB
 uefi partition     50     11     39  MiB
Ready to make live-usb on device sdg
... by copying file /mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso
>> partition-clear
p> dd status=none if=/dev/zero of=/dev/sdg bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdg bs=1K count=17 seek=32
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdg bs=1K count=17 seek=1945583
p> partprobe /dev/sdg
>> partition-make
Using msdos partitioning
p> parted --script --align optimal /dev/sdg unit MiB mklabel msdos
p> dd status=none if=/dev/zero of=/dev/sdg seek=1024 bs=1K count=128
p> parted --script --align optimal /dev/sdg unit MiB mkpart primary ext4 1 1849
p> dd status=none if=/dev/zero of=/dev/sdg seek=1893376 bs=1K count=128
p> parted --script --align optimal /dev/sdg unit MiB mkpart primary fat32 1849 1899
p> parted --script --align optimal /dev/sdg unit MiB set 1 boot on set 2 esp on
p> partprobe /dev/sdg
p> wait_for_file /dev/sdg1
>> makefs-bios
p> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdg1
p> tune2fs -L antiX-Live-usb /dev/sdg1
p> wait_for_file /dev/sdg2
>> makefs-uefi
p> mkfs.vfat -n antiX-uefi /dev/sdg2
p> partprobe /dev/sdg
p> wait_for_file /dev/sdg1
 > mkdir -p ./main
 > mount -t ext4 /dev/sdg1 ./main
mount: /run/live-usb-maker/main: wrong fs type, bad option, bad superblock on /dev/sdg1, missing codepage or helper program, or other error.
Error: Could not mount /dev/sdg1 at /run/live-usb-maker/main
**>> gives error: :eek:
Reason: /dev/sdg1 is already FAT32 /VFAT formated so
mount -t ext4 /dev/sdg1 ./main
connat be successfull.

Now the real run, I.e not pretend mode:

Code: Select all

 sudo /usr/local/bin/live-usb-maker gui -N -V -C off --from=/mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso -t /dev/sdg
LOG:

Code: Select all

sudo /usr/local/bin/live-usb-maker gui -N -V -C off --from=/mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso -t /dev/sdg
[sudo] password for fehlix: 
===============================================================================
Starting live-usb-maker
===============================================================================
Will use target device /dev/sdg (1.9G General UDisk)
Will use source file /mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso
Distro: antiX-17.2_386-base Helen Keller 4 October 2018

                 Total   Used  Extra
   entire drive  1,900  1,899      1  MiB
 main partition  1,849    651  1,198  MiB
 uefi partition     50     11     39  MiB
Ready to make live-usb on device sdg
... by copying file /mnt/ext4_data/ISO/AntiX/AntiX-17.2/antiX-17.2_386-base.iso
>> partition-clear
>> partition-make
Using msdos partitioning
>> makefs-bios
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 473088 4k blocks and 19440 inodes
Filesystem UUID: f0819c3a-3a28-4301-9cb6-65a29626b899
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

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

tune2fs 1.43.4 (31-Jan-2017)
>> makefs-uefi
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdg1      ext4  1.8G  2.8M  1.8G   1% main
/dev/sdg2      vfat   50M     0   50M   0% uefi

>> copy-uefi
copy from iso to uefi partition
files: [Ee][Ff][Ii] boot/{grub,uefi-mt} version
Fix Dell uefi memtest bug
>> copy-main
copy from iso to main partition
files: *
>> uuids
>> install
extlinux version 6.03
/run/live-usb-maker/main/boot/syslinux is device /dev/sdg1

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdg1      ext4  1.8G  653M  1.2G  37% main
/dev/sdg2      vfat   50M   12M   39M  24% uefi

>> done

live-usb-maker took one minute and 55 seconds.
SUCCESS
Resume: The presented error message results from running in testmode => potential improvement suggested.
:puppy:
[Klare Sache und damit hopp!]
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

caprea
Posts: 146
Joined: Sat Aug 23, 2014 7:01 am

Re: live-usb-maker does not work for me

#20 Post by caprea »

Unfortunately, it's the same issue on the desktop with antiX. I did it exactly as anticapitalita described it.
But no success.
This is from the GUI

Code: Select all

[1;36mErstelle neue Konfigurations-Datei /root/.config/live-usb-maker/live-usb-maker.conf[1;36m 
===============================================================================
Starte live-usb-maker
===============================================================================
live-usb-maker PROBEMODUS AKTIV
Gerät /dev/sdc (29,9G Samsung Flash Drive) wird als Ziel verwendet
Datei /home/helga/Downloads/MX-17.1_October_x64.iso wird als Quelle verwendet

                    gesamt  benutzt  unbelegt
 Gesamtes Laufwerk  30,594   30,593         1  MiB
    Hauptpartition  30,543    1,277    29,266  MiB
    UEFI Partition      50       11        39  MiB
Bereit live-usb auf Gerät sdc
... mit Kopiere Datei /home/helga/Downloads/MX-17.1_October_x64.iso zu erstellen
live-usb-maker: partition-clear >> partition-clear
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=31328304
p> partprobe /dev/sdc
live-usb-maker: partition-make >> partition-make
msdos Partitionierung wird verwendet
p> parted --script --align optimal /dev/sdc unit MiB mklabel msdos
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary ext4 1 30543
p> dd status=none if=/dev/zero of=/dev/sdc seek=31276032 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary fat32 30543 30593
p> parted --script --align optimal /dev/sdc unit MiB set 1 boot on set 2 esp on
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1
live-usb-maker: makefs-bios >> makefs-bios
p> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdc1
p> tune2fs -L Live-usb /dev/sdc1
p> wait_for_file /dev/sdc2
live-usb-maker: makefs-uefi >> makefs-uefi
p> mkfs.vfat -n Live-uefi /dev/sdc2
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1
 > mkdir -p ./main
 > mount -t ext4 /dev/sdc1 ./main
p> wait_for_file /dev/sdc2
 > mkdir -p ./uefi
 > mount -t vfat /dev/sdc2 ./uefi
mount: special device /dev/sdc2 does not exist

and this is the log-file

Code: Select all

=====================================================================
/usr/local/bin/live-usb-maker gui -N -p -V -C off --from=/home/helga/Downloads/MX-17.1_October_x64.iso -t /dev/sdc
        program: live-usb-maker
        started: Mi 28. Nov 20:24:43 CET 2018
        version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
         kernel: 4.18.7-antix.1-amd64-smp
             OS: antiX 17.2 (Helen Keller)
      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
PROBEMODUS AKTIV
Gerät /dev/sdc (29,9G Samsung Flash Drive) wird als Ziel verwendet
Datei /home/helga/Downloads/MX-17.1_October_x64.iso wird als Quelle verwendet
Estimated extfs overhead for 30543M is 44M

                    gesamt  benutzt  unbelegt
 Gesamtes Laufwerk  30,594   30,593         1  MiB
    Hauptpartition  30,543    1,277    29,266  MiB
    UEFI Partition      50       11        39  MiB

Bereit live-usb auf Gerät sdc
... mit Kopiere Datei /home/helga/Downloads/MX-17.1_October_x64.iso zu erstellen

>> partition-clear
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=31328304
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=31328304
p> partprobe /dev/sdc

>> partition-make
msdos Partitionierung wird verwendet
p> parted --script --align optimal /dev/sdc unit MiB mklabel msdos
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary ext4 1 30543
p> dd status=none if=/dev/zero of=/dev/sdc seek=31276032 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=31276032 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary fat32 30543 30593
p> parted --script --align optimal /dev/sdc unit MiB set 1 boot on set 2 esp on
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1

>> makefs-bios
p> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdc1
p> tune2fs -L Live-usb /dev/sdc1
p> wait_for_file /dev/sdc2

>> makefs-uefi
p> mkfs.vfat -n Live-uefi /dev/sdc2
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1
 > mkdir -p /run/live-usb-maker/main
 > mount -t ext4 /dev/sdc1 /run/live-usb-maker/main
p> wait_for_file /dev/sdc2
 > mkdir -p /run/live-usb-maker/uefi
 > mount -t vfat /dev/sdc2 /run/live-usb-maker/uefi
mount: special device /dev/sdc2 does not exist
Fehler: Could not mount /dev/sdc2 at /run/live-usb-maker/uefi



:Could not mount /dev/sdc2 at /run/live-usb-maker/uefi

 

Tried different sticks.Just the same as on the laptop the workaround is possible, by creating two partitions with gparted,
where the little vfat16 partition must be sdc2 and the ext4-partition must be the sdc1partition.
Then it works like this

Code: Select all

=====================================================================
/usr/local/bin/live-usb-maker gui -N -p -V -C off --from=/home/helga/Downloads/MX-17.1_October_x64.iso -t /dev/sdc
        program: live-usb-maker
        started: Mi 28. Nov 21:24:44 CET 2018
        version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
         kernel: 4.18.7-antix.1-amd64-smp
             OS: antiX 17.2 (Helen Keller)
      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
PROBEMODUS AKTIV
Gerät /dev/sdc (7,3G Intenso Basic Line) wird als Ziel verwendet
Datei /home/helga/Downloads/MX-17.1_October_x64.iso wird als Quelle verwendet
Estimated extfs overhead for 7399M is 17M

                    gesamt  benutzt  unbelegt
 Gesamtes Laufwerk   7,450    7,449         1  MiB
    Hauptpartition   7,399    1,250     6,149  MiB
    UEFI Partition      50       11        39  MiB

Bereit live-usb auf Gerät sdc
... mit Kopiere Datei /home/helga/Downloads/MX-17.1_October_x64.iso zu erstellen

>> partition-clear
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none if=/dev/zero of=/dev/sdc bs=1K count=17 seek=32
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=7628783
p> dd status=none conv=notrunc if=/dev/zero of=/dev/sdc bs=1K count=17 seek=7628783
p> partprobe /dev/sdc

>> partition-make
msdos Partitionierung wird verwendet
p> parted --script --align optimal /dev/sdc unit MiB mklabel msdos
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=1024 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary ext4 1 7399
p> dd status=none if=/dev/zero of=/dev/sdc seek=7576576 bs=1K count=128
p> dd status=none if=/dev/zero of=/dev/sdc seek=7576576 bs=1K count=128
p> parted --script --align optimal /dev/sdc unit MiB mkpart primary fat32 7399 7449
p> parted --script --align optimal /dev/sdc unit MiB set 1 boot on set 2 esp on
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1

>> makefs-bios
p> mkfs.ext4 -O ^64bit -m0 -i100000 -J size=32 /dev/sdc1
p> tune2fs -L Live-usb /dev/sdc1
p> wait_for_file /dev/sdc2

>> makefs-uefi
p> mkfs.vfat -n Live-uefi /dev/sdc2
p> partprobe /dev/sdc
p> wait_for_file /dev/sdc1
 > mkdir -p /run/live-usb-maker/main
 > mount -t ext4 /dev/sdc1 /run/live-usb-maker/main
p> wait_for_file /dev/sdc2
 > mkdir -p /run/live-usb-maker/uefi
 > mount -t vfat /dev/sdc2 /run/live-usb-maker/uefi

Dateisystem    Typ  Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sdc1      ext4  6,9G     32M  6,5G    1% /run/live-usb-maker/main
/dev/sdc2      vfat  208M       0  208M    0% /run/live-usb-maker/uefi


>> copy-uefi
Kopiere von iso auf Partition uefi
Dateien: [Ee][Ff][Ii] boot/{grub,uefi-mt} version
p> mkdir -p /run/live-usb-maker/uefi/boot
p> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/grub /run/live-usb-maker/uefi/boot
p> mkdir -p /run/live-usb-maker/uefi/boot
p> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/boot/uefi-mt /run/live-usb-maker/uefi/boot
p> cp --no-dereference --preserve=mode,links --recursive /run/live-usb-maker/iso/EFI /run/live-usb-maker/uefi/.

>> copy-main
p> rm -rf /run/live-usb-maker/main/boot.orig
Kopiere von iso auf Partition main
Dateien: *
p> 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/MX-17.1_October_x64 /run/live-usb-maker/main/
 > write_file /run/live-usb-maker/main/made-by-live-usb-maker   created: Mi 28. Nov 21:24:45 CET 2018
  program: live-usb-maker
  version: 2.12.13 (Thu Dec 21 16:00:55 MST 2017)
p> dd status=none if=/dev/urandom of=/run/live-usb-maker/main/antiX/random-seed bs=512 count=1
p> dd status=none if=/dev/urandom of=./main/antiX/random-seed bs=512 count=1
p> chmod 600 /run/live-usb-maker/main/antiX/random-seed

>> uuids
p> mkdir -p /run/live-usb-maker/main/antiX
p> write_file /run/live-usb-maker/main/antiX/esp-uuid 9038-9D04

>> Installieren
extlinux version 6.03
p> dd status=none bs=440 conv=notrunc count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdc
p> dd status=none bs=440 conv=notrunc count=1 if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdc
p> cp /usr/lib/syslinux/modules/bios/chain.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/gfxboot.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/ldlinux.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/libcom32.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/libmenu.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/libutil.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/linux.c32 /run/live-usb-maker/main/syslinux/
p> cp /usr/lib/syslinux/modules/bios/menu.c32 /run/live-usb-maker/main/syslinux/
p> write_file /run/live-usb-maker/main/syslinux/version 6.03

Dateisystem    Typ  Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sdc1      ext4  6,9G     32M  6,5G    1% /run/live-usb-maker/main
/dev/sdc2      vfat  208M       0  208M    0% /run/live-usb-maker/uefi

>> Abgeschlossen

Otherwise it will sadly not work,to strange , different sticks , different computers and and no one else can figure it like that, hmm ?? There's not much you can do wrong by this.
I sure will try the one from the mx-testrepo.

Post Reply

Return to “antiX”