Benutzer-Werkzeuge

Webseiten-Werkzeuge


systemadmin

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
systemadmin [2026/04/08 11:17] – [Backup und Imaging] techgurusystemadmin [2026/04/08 11:23] (aktuell) – [Mit Partet das Boot Flag wiederhestellen] techguru
Zeile 2795: Zeile 2795:
  
   watch --interval=10 "pkill -USR1 dd"   watch --interval=10 "pkill -USR1 dd"
 +  
 +oder neuere ''dd'' Versionen haben den Schalter ''status=progress'' eingebaut.
  
-  dd if=/dev/zero of=/home/user/my_file bs=1024 count=5000000 
  
-bs specifies block size and count specifies the number of blocks, in the example above you’ll get 5Gb. Use anything you want.+== Eine Partition als Datei erstellen == 
 + 
 +Für Tests eine Partiton erstellen welche mit einem belieben Dateisystem ausgestattet werden kann. 
 +Ebenso lässt sich die Größe per Block Size und Count einstellen.  
 + 
 +  dd if=/dev/zero of=/home/user/my_file bs=1024 count=5000000 status=progress 
 + 
 +bs specifies block size and count specifies the number of blocks, in the example above you’ll get 5GB. Use anything you want.
  
 Now format the file Now format the file
Zeile 2808: Zeile 2816:
   sudo mount my_file /mnt/my_file -o loop   sudo mount my_file /mnt/my_file -o loop
  
-Add an entry to /etc/fstab so it mounts on boot+Add an entry to ''/etc/fstab'' so it mounts on boot
  
   /home/user/my_file    /mnt/my_file   ext3   loop   /home/user/my_file    /mnt/my_file   ext3   loop
systemadmin.1775639851.txt.gz · Zuletzt geändert: 2026/04/08 11:17 von techguru