[Eisfair] USB-Stick vom ISO erstellen

Andreas Hager firmahager at hotmail.com
Di Aug 23 20:12:28 CEST 2022


Am 23.08.22 um 11:45 schrieb Stefan Puschek:
> Hallo Andreas,
> 
> es läuft:
> 
> es sieht zwar optisch seltsam aus (woher kommt das '-e' und die vielen
> Leerzeilen dazwioschen???) aber man kann es benutzen!
> 
> ------------------
> 
> Linux cartman 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13)
> x86_64
> 
> The programs included with the Debian GNU/Linux system are free
> software; the exact distribution terms for each program are described
> in the individual files in /usr/share/doc/*/copyright.
> 
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> 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:~#
> 
> ---------------------------------
> 
> Wo ist denn bei Dir der erste Fehler?
> 
> Kannst Du mal einen ähnlichen Mitschnitt liefern?
> 
> Groetjes
> Stefan
> 
> 
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/
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
/eisfair-iso/unix/mkusb-stick.sh: Zeile 348: /eisfair-iso/unix/mkdosfs: 
Datei oder Verzeichnis nicht gefunden
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

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.

Grüße
Andreas


Mehr Informationen über die Mailingliste Eisfair