I’m trying to partition my disk but I keep getting a warning message. When I use fdisk and create a new partition, it just hangs:
(parted) mkpart Partition type? primary/extended? primary File system type? [ext2]? Start? 0% End? 10GB Warning: You requested a partition from 0.00B to 10.0GB (sectors 0..19531250). The closest location we can manage is 512B to 1048kB (sectors 1..2047). Is this still acceptable to you? Yes/No? No (parted) print list Model: Virtio Block Device (virtblk) Disk /dev/vda: 85.9GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 85.9GB 85.9GB primary xfs boot Error: /dev/vdb: unrecognised disk label Model: Virtio Block Device (virtblk) Disk /dev/vdb: 451kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: (parted)
Can you help, please?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.