fdisk raw file issue

hamed

Member
Sep 6, 2010
36
0
6
I stopped my VPS and ran the following command to expand it:
Code:
dd if=/dev/zero of=vm-100-disk-1.raw bs=512 count=0 seek=209715200
After this, I run "fdisk vm-100-disk-1.raw", but fdisk gives the following error:
Code:
You must set cylinders.
You can do this from the extra functions menu.


Command (m for help):

when I enter "n" to partition the system, still fdisk gives the above output and does not allow me to create new partitions.

Could anyone please assist me on this?

Thanks
 
Hi tom,
I've already checked that link.
The problem is with fdisk (or cfdisk).
even the un-resized disk image gives that error.
As to cfdisk, it gives the following error:
Code:
  FATAL ERROR: Cannot get disk size
     Press any key to exit cfdisk
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!