Re: hibernation file location



"John Hensley" <resqware@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4099A8F2-BEF5-4D94-A090-2490C5F598D1@xxxxxxxxxxxxxxxx

With XP and 2K the hiberfile is read into memory by NTLDR

Yes.

which can only access the file via ROMBIOS int 13h.

No. I see you remember NTBOOTDD.SYS but I'm going to explain anyway.

If a disk controller driver was copied to the system partition (where NTLDR, BOOT.INI, and NTDETECT.COM reside), and renamed as NTBOOTDD.SYS, then NTLDR would be able to read a kernel and drivers from the boot partition on a drive connected to that controller, even if the controller didn't have a BIOS. Windows NT4 SP4 and later automatically generated a file NTBOOTDD.SYS but it could also be done manually for the working version SP3, and for Windows 2000 and XP.

I don't recall if I tried hibernating XP in that configuration.

Thinking about the generalities of the BOOT.INI file, specifying a number of controllers and drives and partitions, I'm still trying to figure out how NTLDR could load drivers for all of those controllers when all of the drivers had to be given the same filename NTBOOTDD.SYS.

Though it is common to load the non-bootstrap components of the OS from a non-int 13h accessible drive using an ntbootdd.sys mini-port driver, I am assuming NTLDR doesn't search anything other than the actual boot drive since the presence of a valid hiberfile prevents boot.ini from being processed and thus any information about the actual system drive would not be available.

But how does NTLDR even know which partition to read HIBERFILE.SYS from? Even though NTLDR refuses to give the user a choice to boot another partition's system instead of resuming the hibernated one, the hibernation file still resides on a boot partition with a kernel and system files of a Windows installation, not on the system partition with the boot loader. The boot loader still has to read BOOT.INI and scan to see if a hibernation file somewhere is ready to be loaded.

I suspect that the changes to Vista necessary to support BitLocker and BCD would allow Vista to locate the hiberfile on any drive but I doubt Microsoft would document such behavior because it would be a giant security hole on a BitLocker system.

Oh that's no problem, Microsoft asserted a clause in a licence in order to protect the security of the BitLocker system.

.



Relevant Pages

  • Re: El-Torito and HD partitions
    ... the drive letter ordering is based on the order in which the device drivers are loaded by Windows NT. ... I assume CD-ROM could sit on a different controller. ... But if it is the secondary one and there is a HDD on primary - HDD would probably take C:\. ... > From that point forward OS knows what partition belong to the OS itself. ...
    (microsoft.public.windowsxp.embedded)
  • Re: El-Torito and HD partitions
    ... And XPe partition will be given volume letter C: ... Drivers load order is independed of BIOS settings, so this probably mean that link you provided is not accurate for Win XP. ... Regards, ... > I assume CD-ROM could sit on a different controller. ...
    (microsoft.public.windowsxp.embedded)
  • Inspiron 1150 reinstallation CD problems
    ... existing partition, re-format the hard drive, and reinstall the OS. ... have question marks) - Ethernet Controller, Multimedia Audio Controller, ... but I'm not quite sure which drivers to get. ...
    (alt.sys.pc-clone.dell)
  • Re: Installing Partition Problem
    ... partition to install to, there are none listed. ... but nothing is allowing me to install XP. ... You may need a controller card driver added so that Windows XP can ... You will have to obtain such drivers from the manufacturer of your HDD ...
    (microsoft.public.windowsxp.general)
  • Re: How to debug boot process with XPE
    ... command to create partition and format command to format. ... what you mean by controller. ... > In DDK you can find debug version of ntldr. ... Use fdsik and format to make it bootable and activate first partition. ...
    (microsoft.public.windowsxp.embedded)