1. Run parted on your device: parted /dev/sdX
2. Change display unit to sectors: unit s
3. Print current partition table and note the start sector for your partition: p
4. Delete your partition (won't delete the data or filesystem): rm <number>
5. Recreate the partition with the starting sector from above: mkpart primary <start> <end>
6. Exit parted: quit
7. Check the filesystem: sudo e2fsck -f /dev/sdXX
8. Resize filesystem: sudo resize2fs /dev/sdXX
אין תגובות:
הוסף רשומת תגובה