diskpart xp vs diskpart 7

Discuss Windows 2000, NT, XP and Windows Server 2000, 2003, SBS 2003.
Post Reply
Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

diskpart xp vs diskpart 7

Post by Beta12 »

I am trying to create a 4GB (4096MB) partition in the MS VPC2007 on VHD 5GB (5120MB) using diskpart from WinFLP (Server 2003 SP1) or Win7. diskpart from WinFLP create 4102MB but diskpart from Win7 create exactly 4096MB

diskpart from Win7 auto align partition to 1024KB so in diskpart on WinFLP I use align=1024

diskpart from WinFLP:

Code: Select all

DISKPART> create partition primary size=4096 align=1024

DiskPart succeeded in creating the specified partition.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Primary           4102 MB  1024 KB
diskpart from Win7:

Code: Select all

DISKPART> create partition primary size=4096

Utworzenie określonej partycji przez program DiskPart powiodło się.

DISKPART> list partition

  Partycja ###   Typ               Rozmiar  Przesunięcie
  -------------  ----------------  -------  ------------
* Partycja 1     Podstawowy        4096 MB  1024 KB
What is going on?

3155ffGd
User avatar
Posts: 391
Joined: Wed May 02, 2012 12:57 am

Re: diskpart xp vs diskpart 7

Post by 3155ffGd »

According to Windows XP Help, diskpart automatically rounds all partitions to the nearest cylinder, presumably for compatibility with older BIOSes which only support CHS addressing and not the newer LBA addressing.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: diskpart xp vs diskpart 7

Post by Beta12 »

OK, I've found a replacement that creates a partition like diskpart with Win7 and work in win2003sp1 (WinFLP - Live MININT). Tested also on LiveXP:

Active@ Partition Manager 2.6.5

Image

Image

I tested other programs such as: MiniTool Partition Wizard Home, GParted LiveCD, Acronis Disk Director but these programs round the size and do not allow to create exactly 4096MB

Post Reply