background image

 

Preparing Advanced Format hard drives 
for Microsoft Windows installations on HP 
Business Notebook PCs, Workstations, 
and Desktop PCs  

   

 

 

Technical white paper  

 

Table of contents 

Executive summary ............................................................................................................................... 2

 

Identifying an Advanced Format drive .................................................................................................... 2

 

What does the Advanced Format drive mean to you? .............................................................................. 3

 

Partition alignment ........................................................................................................................... 3

 

Performance optimization.................................................................................................................. 4

 

Important tips ...................................................................................................................................... 6

 

Encrypting drives ............................................................................................................................. 6

 

Installing Windows Vista (prior to SP1) or Windows XP images ............................................................. 6

 

Avoiding a potential error associated with a Windows Vista deployment ............................................... 7

 

Creating a 1 MB-aligned partition ...................................................................................................... 7

 

Extending the partition during a Windows XP image deployment .......................................................... 9

 

Aligning drives in a RAID configuration ............................................................................................ 10

 

Using third-party deployment tools ................................................................................................... 10

 

Enhancing performance with many small writes (as with ImageX) ........................................................ 10

 

Validating partition alignment ............................................................................................................. 10

 

Using the Unattended Advanced Format Hard Disk Information Tool .................................................... 11

 

Using DiskExt ................................................................................................................................. 11

 

Using WMIC ................................................................................................................................. 12

 

Using DiskPart ............................................................................................................................... 12

 

Sample validation .......................................................................................................................... 13

 

Summary of HP Advanced Format tools ................................................................................................ 14

 

Frequently asked questions ................................................................................................................. 16

 

Appendix A: Technical background ..................................................................................................... 18

 

Partition alignment ......................................................................................................................... 18

 

Why alignment helps ...................................................................................................................... 19

 

Appendix B: Procedure for installing KB982018 into WinPE 3.0 ............................................................ 20

 

For more information .......................................................................................................................... 21

 

 
 

Summary of Contents for 6305

Page 1: ...ndows Vista deployment 7 Creating a 1 MB aligned partition 7 Extending the partition during a Windows XP image deployment 9 Aligning drives in a RAID configuration 10 Using third party deployment tools 10 Enhancing performance with many small writes as with ImageX 10 Validating partition alignment 10 Using the Unattended Advanced Format Hard Disk Information Tool 11 Using DiskExt 11 Using WMIC 12 ...

Page 2: ...ou should take steps to align logical sectors OS with physical sectors disk media in order to optimize I O performance This white paper presents a range of scenarios involving the use of Advanced Format drives and describes the actions you should take to optimize the performance of your HP Business Notebook PC Desktop PC Workstation or Retail POS system It also outlines HP tools that provide disk ...

Page 3: ...aligned partition Microsoft Windows 7 and Windows Vista SP1 or later are Advanced Format aware thus no realignment is required Note This white paper does not provide guidelines for Windows 8 systems When creating or deploying an image for an OS that is not Advanced Format aware you can typically use tools like Microsoft DiskPart or Symantec Ghost For an image that has not been aligned during creat...

Page 4: ...rmation on optimizing performance in various scenarios involving the use of an Advanced Format drive Scenario Windows 7 Windows Vista SP1 or later Windows Vista prior to SP1 Windows XP POSReady 2009 or WEPOS You are installing a preinstalled image you received directly from HP A A A A A You are installing your own image using WinPE C C C C B You are installing your own image you are not using WinP...

Page 5: ...ormat drive is aligned Note If you are upgrading your PC to Windows Vista SP1 or later or Windows 7 no realignment is required since these OSs are Advanced Format aware B This scenario is not supported by HP C Installations using versions of WinPE as early as version 1 63 from Windows Server 2003 can be used to create aligned partitions Although not required for imaging the following environments ...

Page 6: ...ned partition Extending the partition during a Windows XP image deployment Aligning drives in a RAID configuration Using third party deployment tool Enhancing performance with many small writes as with ImageX Encrypting drives For optimal performance with a software encrypted Advanced Format drive install the vendor s latest driver that is tuned for Advanced Format drives prior to encrypting the d...

Page 7: ...eps have been followed its application should be blocked in Microsoft Deployment Toolkit MDT and Microsoft System Center Configuration Manager SCCM Important Do not use KB931760 on an HP system KB931760 is a registry patch for WinPE that was designed to address the following You cannot install Windows XP successfully after you use Windows Vista or Windows PE 2 0 to create partitions on a hard disk...

Page 8: ...lityMode TRUE then oLogging CreateEntry Implementing Diskpart BIOS compatibility fix see KB 931760 and KB 931761 LogTypeInfo On Error Resume Next oShell RegWrite HKEY_LOCAL_MACHINE SYSTEM CURRENTCONTROLSET SERVICES VDS ALIGNMENT LessThan4GB 0 REG_DWORD oShell RegWrite HKEY_LOCAL_MACHINE SYSTEM CURRENTCONTROLSET SERVICES VDS ALIGNMENT Between4_8GB 0 REG_DWORD oShell RegWrite HKEY_LOCAL_MACHINE SYST...

Page 9: ...modify the partition incorrectly you will receive a BSOD The best option for extending the partition is as follows 1 Remove the ExtendOemPartition line from SYSPREP INF and UNATTENDED TXT and ensure the partition size is not manipulated by template SIF files You must use Filesystem LeaveAlone and you must NOT use ExtendOemPartition 2 Allow disk cloning tools such as Ghost or DiskPart to align and ...

Page 10: ... performance with many small writes as with ImageX While Windows 7 SP1 and WinPE 3 1 are already optimized Microsoft Knowledge Base article KB982018 addresses performance degradation associated with a Windows 7 or WinPE 3 0 system performing many small writes to an Advanced Format drive For example using the ImageX command line tool while booted to WinPE to apply a Windows image wim file to an Adv...

Page 11: ...l Figure 3 Sample output from The Unattended Advanced Format Hard Disk Information Tool ______________________________________________________________________________ Partition Alignment Information from Win32_DiskPartition ______________________________________________________________________________ Name Disk 0 Partition 0 BlockSize 512 BootPartition True Size 232 883 GiB StartingOffset 1048576 ...

Page 12: ... to WinPE 2 1 or later 2 Execute the DiskPart utility to display information about specific system partitions For example use the following script is to display information about Disk 0 Partition 1 as shown in Figure 4 diskpart select disk 0 select partition 1 detail partition Figure 4 Sample script output Partition 1 Type 07 Hidden No Active No Offset in Bytes 1048576 Volume Ltr Label Fs Type Siz...

Page 13: ...partitions Partition Partition size Starting offset 0 208 666 624 B 1 048 576 B 208 666 624 4 096 50 944 1 048 576 4 096 256 1 732 388 392 960 B 209 715 200 B 732 388 392 960 4 096 178 805 760 209 715 200 4 096 51 200 2 17 449 353 216 B 732 388 392 960 B 17 449 353 216 4 096 4 260 096 732 388 392 960 4 096 178 805 760 3 107 864 064 B 750 047 461 376 B 107864064 4 096 26 334 750 047 461 376 4 096 1...

Page 14: ...ces for and key features of HP Advanced Format AF tools Unattended AF Disk Information Tool AF Disk Information Tool Paragon Partition Alignment Tool Paragon Partition Alignment Tool for Workstations offline edition for CD Paragon Partition Alignment Tool for Linux SoftPaqs 1 Desktop POS sp56815 sp53063 Workstation sp56815 sp53063 sp55511 Notebook sp56528 sp57093 3 sp52890 sp53121 4 Superseded Sof...

Page 15: ...S script that can detect the processor platform and run the appropriate executable AF CHECK EXE or AF CHECK64 EXE The release date for the updates has not been determined8 3 The AF Disk Information Tool offers two options You can use either a graphical user interface GUI driven disk information tool or an offline DOS tool that switches to a Linux kernel running a program that reports disk informat...

Page 16: ...n for more information My operating system is Advanced Format aware however I do not have an Advanced Format drive Do I need to do anything No changes are required to run an operating system that is Advanced Format aware on a drive with 512 byte sectors What happens if I do not align my partitions Your Advanced Format drive will work however applications may fail because of the unexpected slow dow...

Page 17: ...ative drives Older applications and games would not be able to run while there would be no performance advantage for a customer Thus HP elected to not pursue this approach at this time Where can I build an Advanced Format drive aware image As long as it is validated you can create a custom image on either a conventional drive or an Advanced Format drive Is there any value to aligning partitions on...

Page 18: ...byte sector SATA communications first generation Advanced Format drives maintain backwards compatibility with current computers Thus these drives sometimes referred to as 512e drives or translated drives operate internally at 4 KB and externally at 512 bytes However this disparity in sector sizes can lead to performance issues Partition alignment Modern operating systems use file systems with 4 KB...

Page 19: ...nding on the rotational speed of the drive this could add 16 22 milliseconds to a write Read performance is not impacted the drive reads the whole 4 KB of data into drive memory and only sends out the data sector s needed Why alignment helps Alignment issues with older operating systems are based on the starting point of partitions In Windows XP for example the partition boot sector is located at ...

Page 20: ... c Windows6 1 KB982018 x86 MSU f c 4 Select Start All Programs Windows OPK or Windows AIK 5 Right click Deployment Tools Command Prompt and then select Run as administrator 6 At the prompt expand the Windows PE image by mounting boot wim to be updated into a location by entering the following imagex exe mountrw c winpe_x86 ISO sources boot wim 1 c winpe_x86 mount 7 Create a scratch directory mkdir...

Page 21: ...hnet microsoft com en us sysinternals bb896648 aspx Getting Started Guide for Windows Deployment Services http technet microsoft com en us library cc771670 WS 10 aspx Partition alignment for SUSE Linux http www novell com support viewContent do exte rnalId 7007193 sliceId 1 Intel RST support for 4 KB sectors http www intel com support chipsets imsm s b CS 031502 htm Share with colleagues Copyright...

Reviews: