| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
| macos [2024-03-06 14:51:25] – [Nützliche Apps] david | macos [2024-03-06 16:37:12] (aktuell) – david |
|---|
| ==== Bootable Linux-USB erstellen (Partitionieren und Formatieren) ==== | ==== Bootable Linux-USB erstellen (Partitionieren und Formatieren) ==== |
| |
| * mit ''mount'' sieht man die aktuell gemounteten Volumes | * mit ''mount'' sieht man die aktuell gemounteten Volumes und deren Pfad |
| * ''FAT32'': das Dateisystem (verfügbare kann man sich mit ''diskutil listFilesystems'' anzeigen lassen) | * ''FAT32'': das Dateisystem (verfügbare kann man sich mit ''diskutil listFilesystems'' anzeigen lassen) |
| * ''label'': das Label für den USB-Stick | * ''label'': das Label für den USB-Stick |
| * ''GPT'': das Format für die Partitionstabelle: ''GPT''/''MBR''/''APM'' (mehr infos unter ''diskutil eraseDisk -h'') | * ''GPT'': das Format für die Partitionstabelle: ''GPT''/''MBR''/''APM'' (mehr infos unter ''diskutil eraseDisk -h'') |
| * ''/dev/disk4'': die Disk/das Gerät auf dem alle Volumes gespeichert werden | * ''/dev/disk3'': die Disk/das Gerät auf dem alle Volumes gespeichert werden (eine komplette Disk wie ''/dev/disk3'' muss ausgewählt werden, keine Partition wie ''/dev/disk3s2'') |
| * ''/dev/disk4s2'': die Partition auf die das Image geschrieben werden soll (''/dev/disk4s1'' wäre in diesem Fall die EFI system partition) | |
| * ''debian.iso'': das ISO-Image das auf den USB-Stick geschrieben werden soll | * ''debian.iso'': das ISO-Image das auf den USB-Stick geschrieben werden soll |
| * ''bs=4K'': die Standardeinstellung von 512 ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein | * ''/Volumes/LABEL'': der Pfad zum gemounteten Volume (Mount-Point) |
| | * ''bs=4K'': die Standardeinstellung von 512 in dd ist sehr langsam, alles zwischen 4K und 4M sollte deutlich schneller sein |
| |
| <code bash> | <code bash> |
| mount | mount |
| diskutil eraseDisk FAT32 label GPT /dev/disk4 | diskutil unmountDisk /dev/disk3 |
| diskutil unmountDisk /dev/disk4 | diskutil eraseDisk fat32 label gpt /dev/disk3 |
| sudo dd if=debian.iso of=/dev/disk4s2 bs=4K status=progress | diskutil mountDisk /dev/disk3 |
| diskutil mountDisk /dev/disk4 | mount |
| | bsdtar -xf debian.iso -C /Volumes/LABEL |
| | diskutil eject /dev/disk3 |
| mount | mount |
| </code> | </code> |
| | |
| | **//ODER//** |
| | |
| | <code bash> |
| | mount |
| | diskutil eraseDisk FAT32 label GPT /dev/disk3 |
| | diskutil unmountDisk /dev/disk3 |
| | sudo dd if=debian.iso of=/dev/disk3 bs=4K status=progress |
| | diskutil mountDisk /dev/disk3 |
| | mount |
| | diskutil eject /dev/disk3 |
| | mount |
| | </code> |
| | |
| |
| ===== Software ===== | ===== Software ===== |
| </code> | </code> |
| |
| |
| ==== Internet ==== | |
| |
| |