Festplatten-Partitionierung


Partitionierung >2TB

  • Installation einer ca. 100 MB großen GRUB-Partition:
~# parted /dev/sda
(parted) mkpart primary 1 101
(parted) p
...
Number  Start     End       Size      File system     Name     Flags
 1      0.01MB    101MB     100MB                     primary
...

(parted) set 1 bios_grub on  
(parted) p
...
Number  Start     End       Size      File system     Name     Flags
 1      0.01MB    101MB     100MB                     primary  bios_grub
...

(parted) q


MBR und Partitionstabelle

  • Sichern des MBR:
~# dd if=/dev/sda of=~/sda.mbr bs=512 count=1


  • Wiederherstellen des MBR:
~# dd if=~/sda.mbr of=/dev/sda count=1


  • Sichern der Partitionstabelle:
~# sfdisk -d /dev/sda > ~/partition.out


  • Wiederherstellen der Partition:
~# sfdisk /dev/sda < ~/partition.out


Steffen Bornemann 08.11.2018

 
 wissensfundus/partitionierung.txt · Zuletzt geändert: 2025/05/08 22:16 von 127.0.0.1
 
Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: GNU Free Documentation License 1.3
Recent changes RSS feed Driven by DokuWiki