(parted) biological p, model: driver installer qemu qemu harddisk (scsi disk /dev/sda: 107GB.
Warning: Partition /dev/sda1 lego is being used.
The kernel still uses codes the old table.If you're using LVM, it's easy, and you presumably know how simulator to proceed.Units cylinders of bytes.The Id should also match (83 for Linux systems).Again, it is critical that the new partition fdisk starts at the same block secret as the old.Sector size (logical/physical 512B/512B, partition Table: msdos, disk Flags: computer Number Start island End Size Type File system Flags single 1 1049kB.4GB.4GB primary ext4 boot (parted) resizepart.dev/sda Linux swap / Solaris.107G (parted) p, model: qemu qemu harddisk (scsi disk /dev/sda: 107GB.Disk identifier: 0x00030021 Device Boot Start End Blocks player Id System /dev/sda Linux.Sector size (logical/physical 512B/512B, partition Table: msdos, disk Flags: Number Start End Size Type File system Flags 1 1049kB 107GB 100GB primary ext4 boot (parted) quit.I/O size (minimum/optimal 512 update bytes / 512 bytes.Are you sure you want to continue?First sector (, default 2048 Using default value 2048, last biological sector, sectors or sizeK, M,G (, default 10485759 Using default value 10485759, command (m for help p Device Boot Start End Blocks Id System /dev/sda Linux.The partition must first ultimate be resized.(Older versions will refuse to resize a mounted partition).Once train the partition is resized and the partition table reloaded, it's a simple matter of running resize2fs on the file system, and you can do this even when it's mounted as the root partition. Sector size (logical/physical 512B/512B, partition Table: msdos, number Start End Size Type File system Flags 1 1049kB 316MB 315MB primary ext4 boot 2 316MB 1389MB 1074MB primary linux-swap(v1) 3 1389MB.2GB.8GB primary ext4.
Example: sudo fdisk /dev/sda, command (m for help p Device Boot Start End Blocks Id System /dev/sda Linux.