VMware Cloud Community
dwchan
Enthusiast
Enthusiast

what is the proper tool for disk align for windows 2000

since window 2000 doesn't have diskpart, what is the proper tools and syntax to perform disk alignment to my c:drive on windows 2000

Reply
0 Kudos
9 Replies
Anders_Gregerse
Hot Shot
Hot Shot

It's called diskpar.exe for Windows 2000 and is part of the Resource Kit

Reply
0 Kudos
depping
Leadership
Leadership

Reply
0 Kudos
meistermn
Expert
Expert

1.) There is a diskpart tool for windows 2000

In my opinion this will not work for c: partition for d: and other partition it will work, like in windows 2003.

On existing disks if you use diskpart align it will destroy all the data.

2.) The only chance to do it with diskpart for windows 2000 is, build a new vm and boot this vm with winpe/bartpe und use diskpart to align

the partition. If you do this the nfts version is newer than it will be with windows 2000. It is ntfs 3.1.

NTFS 2.x - Windows NT 4.0

NTFS 3.0 - Windows 2000 (NT 5.0)

NTFS 3.1 - Windows XP (NT 5.1)

NTFS 3.1 - Windows Server 2003 (NT 5.2)

NTFS 5.x - Windows Vista (NT 6.0)

With the fsutil.exe and parameter fsinfo you will get the ntfs version.

Before copy or make a image of the c drive.

From winpe/bartpe set the c drive to active with winpe and use fixmbr and then copy the only out of the image back to the c drive, not the complete image.

3.) Third party tool

http://communities.vmware.com/message/566633

If you find it useful , please award points

Reply
0 Kudos
dwchan
Enthusiast
Enthusiast

I download the W2K resource kit, it say diskpart and not diskpar.exe. That is weird

Reply
0 Kudos
dwchan
Enthusiast
Enthusiast

does diskpart.exe come as part of winPE images? I try diskpart from bartpe and it doesn't seem to work. Once i do the disk alignment, on the new VM partition, and execute fdisk mbr, how do i copy my c drive from my unalign drive to the newer align drive? What is the best tool for this, i was thinking of ghost, but wouldn't ghost destroy the disk layout?

dwc

Reply
0 Kudos
meistermn
Expert
Expert

you need the diskpart from windows 2003 sp1.

Reply
0 Kudos
dwchan
Enthusiast
Enthusiast

i am still confuse. if i was going to use bartPE, should I create the BartPE with windows 2003 or windows xp source? In either case, which verison of DiskPart.exe should I use (the one from Windows 2000 or 2003). And lastly, when i run diskpart on my windows 2000 or windows 2003 vm (without disk alignment), it already say offset 32KB. Is this a false report?

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt

-


-


-


-


--- ---

Disk 0 Online 18 GB 1098 MB

DISKPART> select disk 0

Disk 0 is now the selected disk.

DISKPART> list partition

Partition ### Type Size Offset

-


-


-


-


Partition 1 Primary 17 GB 32 KB

dwc

Reply
0 Kudos
BUGCHK
Commander
Commander

>

I download the W2K resource kit, it say diskpart and not diskpar.exe. That is weird

Those are two different programs. diskpart has many more functions.

Reply
0 Kudos
emba
Enthusiast
Enthusiast

hi guys,

i am facing this problem for a while now and will open an SR to clarify. on the one hand EMC and VMware state one should use diskpart.exe to troubleshoot this. according to this, my WinVMs are always "magically" aligned after installation whereais LinuxVMs are not. then i found this VMworld pdf (http://download3.vmware.com/vmworld/2005/sln521.pdf). i know, it's written for ESX 2.x but if slide 28 is true than i am totally confused. i will boot a live-linux and check the partition table of a WinVM. we'll see...

cu

Reply
0 Kudos