On Saturday 23 April 2005 13:54, Bruno Fey wrote:
Ein Ausdruch von fdisk -l würde noch bessere Informationen liefern. Aber ich gehe mal davon aus, dass hda7 die letzte Partition ist. Was die ganze Sache auch sehr vereinfacht !
- Sicherung von /home (oder mutig ohne)
- mit resize2fs das Filesystem von /dev/hda7 verkleinern
- Auszug aus man resize2fs :
If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem. Then you may use fdisk(8) to shrink the size of the partition. When shrinking the size of the partition, make sure you do not make it smaller than the new size of the ext2 filesystem!
- mit fdisk hda7 löschen !!
- hda7 mit neuer kleinerer Grösse anlegen, aber nicht kleiner als das
neue Filesystem. s. Auszug.
parted erledigt das (2-5) in einem Schritt [resize] (weniger fehleranfällig)
- hda8 anlegen und fdisk beenden.
- System neustarten da Partitionstabelle geändert.
- hda8 formatieren und als /tmp einbinden