root@ImmortalWrt:~# fdisk -l Disk /dev/sda: 3.33 GiB, 3573547008 bytes, 6979584 sectors Disk model: QEMU HARDDISK Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x20c60f33
Device Boot Start End Sectors Size Id Type /dev/sda1 * 512 66047 65536 32M 83 Linux /dev/sda2 66560 680959 614400 300M 83 Linux root@ImmortalWrt:~# fdisk /dev/sda
Welcome to fdisk (util-linux 2.39). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea. It's recommended to umount all file systems, and swapoff all swap partitions on this disk. Command (m for help): p Disk /dev/sda: 3.33 GiB, 3573547008 bytes, 6979584 sectors Disk model: QEMU HARDDISK Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x20c60f33 Device Boot Start End Sectors Size Id Type /dev/sda1 * 512 66047 65536 32M 83 Linux /dev/sda2 66560 680959 614400 300M 83 Linux Command (m for help): n Partition type p primary (2 primary, 0 extended, 2 free) e extended (container for logical partitions) Select (default p): p Partition number (3,4, default 3): 3 First sector (66048-6979583, default 681984): 681000 Last sector, +/-sectors or +/-size{K,M,G,T,P} (681000-6979583, default 6979583): +2.5g Created a new partition 3 of type 'Linux' and of size 2.5 GiB. Command (m for help): w The partition table has been altered. Syncing disks.
root@ImmortalWrt:~# fdisk -l Disk /dev/sda: 3.33 GiB, 3573547008 bytes, 6979584 sectors Disk model: QEMU HARDDISK Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x20c60f33
Device Boot Start End Sectors Size Id Type /dev/sda1 * 512 66047 65536 32M 83 Linux /dev/sda2 66560 680959 614400 300M 83 Linux /dev/sda3 681000 5924863 5243864 2.5G 83 Linux