[Eisfair] USB-Stick vom ISO erstellen

Stefan Puschek stefan.puschek at t-online.de
Mi Aug 24 11:18:39 CEST 2022


Hallo Andreas,

> > Last login: Tue Aug 23 11:33:05 2022 from 192.168.6.3
> > root at cartman:~# mkdir -p /eisfair-iso
> > root at cartman:~# modprobe loop
> > root at cartman:~# mount -o loop
> > /tmp/eisfair-2.8.25-6.1.9-SMP-cd-image.iso /eisfair-iso/ mount:
> > /eisfair-iso: WARNING: source write-protected, mounted read-only.
> > root at cartman:~# /eisfair-iso/unix/mkusb-stick.sh -e
> > -e Search for USB device
> > 
> > -e Checking USB drivers ...
> > Looking up devices ...
> > sda
> > -e
...
> > 
> > -e Found USB device.
> > 
> > -e -e   Nr   Device      Description          Size
> > -e    1   /dev/sda    SanDisk Ultra        30031872
> >     2   /dev/sda1   b Win95 FAT32        30030848
> > 
> > Select (1-2, ENTER=Return, 0=Exit)? 1
> > 
> > Selected device: /dev/sda
> > 
> > -e Press ENTER to continue
> > -e Prepare USB-Stick ...
> > -e 1+0 Datensätze ein
> > 1+0 Datensätze aus
> > 512 Bytes kopiert, 0,00321447 s, 159 kB/s
> > 
> > Disk /dev/sda: 29328 cylinders, 64 heads, 32 sectors/track
> >   /dev/sda: unrecognized partition
> > Old situation:
> > No partitions found
> > New situation:
> > Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting
> > from 0
> > 
> >     Device Boot Start   End     MB   #blocks   Id  System
> > /dev/sda1   *     0+ 29327  29328- 30031856    b  Win95 FAT32
> > /dev/sda2         0      -      0         0    0  Empty
> > /dev/sda3         0      -      0         0    0  Empty
> > /dev/sda4         0      -      0         0    0  Empty
> > Successfully wrote the new partition table
> > 
> > Re-reading the partition table ...
> > 
> > -e Formatting with Fat 32
> > -e mkfs.fat 4.2 (2021-01-31)
> > -e Copy files, please wait.
> > -e
> > -e Note:
> > Booting from this USB stick can take several minutes due to the
> > size of the initial ramdisk image. During this time the system
> > appears to be frozen. Please remain calm and do not interrupt the
> > start-up process until the loading process is complete.
> > 
> > -e Prepare done.
> > -e root at cartman:~# ^C
> > root at cartman:~#

------------------------------

> Hallo Stefan,
> 
> Danke nochmal für Deine Meldung.
> 
> Bei mir sieht es so aus:
> 
> Genau 4 Kommandos
> 1) mkdir -p /eisfair-iso
> 2) modprobe loop
> 3) mount -o loop /home/andreas/eisfair-2.8.25-6.1.9-SMP-cd-image.iso 
> /eisfair-iso/

warum meckert er nicht, dass das ISO nur read-only ist, siehe oben???

> 4) /eisfair-iso/unix/mkusb-stick.sh
> dann:
> 
> Found USB device.
> 
>    Nr   Device      Description          Size
>     1   /dev/sdc
>     2   /dev/sdd
> 
> Select (1-2, ENTER=Return, 0=Exit)? 2
> 
> Selected device: /dev/sdd
> 
> Press ENTER to continue
> Prepare USB-Stick ...
> 1+0 Datensätze ein
> 1+0 Datensätze aus
> 512 Bytes kopiert, 0,279014 s, 1,8 kB/s
> Formatting with Fat 32

bis hier läufts gut

> /eisfair-iso/unix/mkusb-stick.sh: Zeile 348:
> /eisfair-iso/unix/mkdosfs: Datei oder Verzeichnis nicht gefunden

warum das ???

bei mir gibts mkdosfs an dieser Stelle - warum bei Dir nicht???

> Copy files, please wait.
> cp: Fehlender Zieldatei‐Operand hinter '/eisfair-iso/download'
> „cp --help“ liefert weitere Informationen.
> cp: Ziel '/eisfair-iso/rootfs.tlz': Ist kein Verzeichnis
> cp: Fehlender Zieldatei‐Operand hinter '/eisfair-iso/kernel'
> „cp --help“ liefert weitere Informationen.
> umount: fehlerhafter Aufruf
> Rufen Sie »umount --help« auf, um weitere Informationen zu erhalten.
> /eisfair-iso/unix/mkusb-stick.sh: Zeile 395:
> /eisfair-iso/unix/syslinux: Datei oder Verzeichnis nicht gefunden

alles Folgefehler...

> Note:
> Booting from this USB stick can take several minutes due to the size
> of the initial ramdisk image. During this time the system appears to
> be frozen. Please remain calm and do not interrupt the start-up
> process until the loading process is complete.
> 
> Prepare done.
> 
> Hallo Kay,
> 
> dd funktioniert sowohl eingehangen als auch nicht eingehangen.
> 
> Hab eben ein debian-ISO probiert. So sieht es aus:
> 
> Festplatte /dev/sdd: 7,47 GiB, 8019509248 Bytes, 15663104 Sektoren
> Festplattenmodell: ATTACHE OPTIMA
> Einheiten: Sektoren von 1 * 512 = 512 Bytes
> Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
> E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
> Festplattenbezeichnungstyp: dos
> Festplattenbezeichner: 0x0d28081a
> 
> Gerät      Boot Anfang   Ende Sektoren Größe Kn Typ
> /dev/sdd1  *         0 688127   688128  336M  0 Leer
> /dev/sdd2         3820   8747     4928  2,4M ef EFI (FAT-12/16/32)
> 
> Beim eisfair-ISO muss was anders sein.
> 

ja - das ist ein altes CD-Image für legacy-boot - kein EFI so wie
Debian.

Aber wo Dein Problem liegt, verstehe ich auch nicht.

Wer kann helfen?

Groetjes
Stefan




Mehr Informationen über die Mailingliste Eisfair