Jump to content

ahmad2080

Member
  • Posts

    103
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Egypt

Everything posted by ahmad2080

  1. jaclaz: Yes, the Recovery partition was there before using PM and HP tool. Thanks for the Link. HPRM-BCDFix.cmd code: @ECHO OFF</P> <P>REM 14/08/2008 - REV7 - Removed call of SetWinReLanguage.exe (same EXE as GetKeyboardLayout.exe) REM 07/08/2008 - REV6 - Change path for GetKeyboardLayout.exe REM 23/05/2007 - REV5 - Add language detection to WinRE during OOBE by running C:\Windows\Sminst\SetWinReLanguage.exe which will set the Language value in RP:\Master.log REM 14/05/2007 - REV4 - Add keyboard locale detection by running C:\Windows\Sminst\GetKeyboardLayout.exe which will store the keyboard LCID in RP:\Master.log REM 29/09/2006 - REV3 - Ramdisk option 'ramdisksdidevice' now points to the BOOT.SDI in WinRE:\Boot folder. No need for this file in the Vista partition anymore. REM 28/09/2006 - REV2 - Improved logging, different WINLOAD.EXE location and changed /STORE for ramdisk options. REM 27/09/2006 - REV1 - Initial version.</P> <P> REM ----------------------------------------------------------------------------- REM Start the LOG file REM ----------------------------------------------------------------------------- SET LOG=HPRM_BCD_FIX.LOG ECHO. %DATE%-%TIME%-[%~nx0]: START>> %LOG% ECHO. >> %LOG%</P> <P> </P> <P>REM ----------------------------------------------------------------------------- REM Determining if we have a SoftThinks Recovery Partition. REM ----------------------------------------------------------------------------- ECHO Determining if we have a SoftThinks Recovery Partition ... >> %LOG% ECHO Determining if we have a SoftThinks Recovery Partition ... ECHO. >> %LOG% ECHO. FOR %%a IN ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO ( IF EXIST %%a:\SOURCES\RP IF EXIST %%a:\MASTER.LOG ( ECHO %%a: Contains SOURCES\RP and MASTER.LOG, will assume this is the WinRE ... >> %LOG% ECHO %%a: Contains SOURCES\RP and MASTER.LOG, will assume this is the WinRE ... ECHO. >> %LOG% ECHO. SET WINRE_VOLUME=%%a GOTO ADD_AUTOFAILOVER_ENTRIES</P> <P> ) ) ) IF "%WINRE_VOLUME%"=="" GOTO END REM -----------------------------------------------------------------------------</P> <P> </P> <P>:ADD_AUTOFAILOVER_ENTRIES REM ----------------------------------------------------------------------------- REM Set the WINRE boot configuration REM ----------------------------------------------------------------------------- ECHO Set the WINRE boot configuration ... >> %LOG% ECHO Set the WINRE boot configuration ... ECHO. >> %LOG% ECHO.</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {ramdiskoptions} /d "RAM Disk Settings" >> %LOG BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {ramdiskoptions} /d "RAM Disk Settings" >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdidevice partition=%WINRE_VOLUME%: >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdidevice partition=%WINRE_VOLUME%: >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdipath \boot\boot.sdi >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdipath \boot\boot.sdi >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {572bcd55-ffa7-11d9-aae2-0007e994107d} -d "HP Recovery Manager" /application OSLOADER >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {572bcd55-ffa7-11d9-aae2-0007e994107d} -d "HP Recovery Manager" /application OSLOADER >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} device ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} device ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} path \windows\system32\boot\winload.exe >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} path \windows\system32\boot\winload.exe >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} osdevice ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} osdevice ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} systemroot \windows >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} systemroot \windows >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} detecthal yes >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} detecthal yes >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} nx optin >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} nx optin >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} winpe yes >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} winpe yes >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} custom:46000010 yes >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} custom:46000010 yes >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d} >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d} >> %LOG% ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoveryenabled yes >> %LOG% BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoveryenabled yes >> %LOG% ECHO. >> %LOG% REM -----------------------------------------------------------------------------</P> <P> </P> <P>REM ----------------------------------------------------------------------------- REM Get the keyboard locale and Set the language detected during OOBE REM ----------------------------------------------------------------------------- ECHO Get the keyboard locale ... >> %LOG% ECHO Get the keyboard locale ... ECHO. >> %LOG% ECHO.</P> <P>ECHO GetKeyboardLayout.exe >> %LOG% ECHO GetKeyboardLayout.exe GetKeyboardLayout.exe</P> <P>ECHO GetKeyboardLayout.exe returned %ERRORLEVEL% >> %LOG% ECHO GetKeyboardLayout.exe returned %ERRORLEVEL%</P> <P>ECHO. >> %LOG% REM -----------------------------------------------------------------------------</P> <P> </P> <P>GOTO END</P> <P> </P> <P>:END</P> <P>ECHO. >> %LOG% ECHO. %DATE%-%TIME%-[%~nx0]: END >> %LOG% The GetKeyboardLayout.exe.LOG file is empty!!!! There are other files that might be useful. I'll list the contents of some and attach the others in a doc file : BI.LOG: Path of BaseImg.dll : C:\Program Files\SMINST\BaseImg.dll Version of STODD.DLL : 1.0.0.10 Entering FindISOPartitionRP SearchEntering IsISOPartition Testing Drive C:\ End of IsISOPartion : 0Entering IsISOPartition Testing Drive D:\ End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0Entering IsISOPartition End of IsISOPartion : 0RP not found. Trying to mount it. Error Execute : 3 End of FindRP : 0 SetWinREL.LOG: GetKeyboardLayout.EXE - 1, 0, 91, 3 - Compiled on Aug 18 2008 10:49:35 - Executed on Mar 28 2009 07:21:34 CDisk::GetDiskNumber : ENTER CDisk::GetDiskNumber(LPCTSTR pszDrive=C:\)) CDisk::GetDiskNumber : CreateFile succeeded on \\.\C: CDisk::GetDiskNumber : dwRetVal after IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS: 0 CDisk::GetDiskNumber : RETURNED 0 CDisk::OpenDiskInformation : ENTER CDisk::OpenDiskInformation() - m_dwDisk=0 CDisk::OpenDiskInformation : Free volume found: Z:\ CDisk::OpenDiskInformation : Mount partition 1 on Disk 0 as Z:\ CDisk::OpenDiskInformation : RETURNED \\?\Volume{6105b98d-fea9-11dd-844d-806e6f6e6963}\ Free volume found: Z:\ Mount partition 2 on Disk 0 as Z:\ RETURNED \\?\Volume{6105b98e-fea9-11dd-844d-806e6f6e6963}\ RETURNED 1 CDisk::CloseDiskInformation : ENTER CDisk::CloseDiskInformation() CDisk::CloseDiskInformation : EXIT CDisk::CloseDiskInformation : ENTER CDisk::CloseDiskInformation() CDisk::CloseDiskInformation : EXIT No recovery partition detected... RP is .\ Active Keyboard layout code is 00000409 Current language is English Put in .\Master.log Wimfltr 32 CGen::CreateDir: Directory created CGen::CreateDir: Directory created CGen::DelDir : ENTER CGen::DelDir(CString strDir=C:\Program Files\SMINST\Tmp_Mount) CGen::DelFiles : ENTER CGen::DelFiles(CString strDir=C:\Program Files\SMINST\Tmp_Mount) CGen::DelFiles : EXIT CGen::DelDir : EXIT CGen::DelDir : ENTER CGen::DelDir(CString strDir=C:\Program Files\SMINST\Temp_ST) CGen::DelFiles : ENTER CGen::DelFiles(CString strDir=C:\Program Files\SMINST\Temp_ST) CGen::DelFiles : EXIT CGen::DelDir : EXIT -> 28/03/2009 - 07:21:39 In INSTALL_APP.exe.LOG there is aline that says : void CSmInstApp::GetAppDrvDirectory : ERROR : No D:\I386\ or D:\HP\ found : The data area passed to a system call is too small. !!!!!!!!!!!!!!!!!!!!!!!! The F8 idea is briliant ,I don't know why didn't I think about it before. When the advanced boot option page opened I choosed "Repair your computer", then "recovery manager".This opened the same recovery manager window that used to open in the WINDOWS OS. The error message didn't show up...(but it still shows up in the OS).What does all of this mean?? Recovery.doc
  2. Thanks DigeratiPrime I didn't expect such a fast reply.... Yes, the recovery partition appears as a separate drive in MY COMPUTER . I've attached a screenshot of the contents of that partition. I think HP uses 'Soft Thinks' application CD creator [that's what is written in the description field of the recovery disk creation file]. The subdrives in the recovery partition are blocked. I've attached a screenshot for that too. The MASTER.LOG file is the only file that I can open. It has these lines in it: In Master.log: [Master] INPVer=4 Win_Size=0 Size=4267943171 Size_Excl=0 Language=English LangID=00000409 [GENERAL] InstallationPath=C:\Program Files\SMINST BLState=-1 BLPrepared=-1 RecoveryFromVista= In C:\Program Files\SMINST (as listed in the installation path) there are a bunch of files and folders. A screenshot of that has been attached too. About the HPRM-BCDFix.cmd file in C:\Program Files\SMINST , what does it do? some people solved a similar problem by just double clicking on it, when I tried that (Right click and Run as administrator) it didn't work, some how it's related to the GetKeyboardLayout.exe file. I'll list the contents of the HPRM-BCDFix.log file [i think it would be useful] : Sat 03/28/2009- 7:21:25.67-[HPRM-BCDFix.cmd]: START Determining if we have a SoftThinks Recovery Partition ... D: Contains SOURCES\RP and MASTER.LOG, will assume this is the WinRE ... Set the WINRE boot configuration ... An error occurred while attempting the specified create operation. The specified entry already exists. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {ramdiskoptions} ramdisksdidevice partition=D: The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {ramdiskoptions} ramdisksdipath \boot\boot.sdi The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /CREATE {572bcd55-ffa7-11d9-aae2-0007e994107d} -d "HP Recovery Manager" /application OSLOADER An error occurred while attempting the specified create operation. The specified entry already exists. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} device ramdisk=[D:]\sources\boot.wim,{ramdiskoptions} The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} path \windows\system32\boot\winload.exe The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} osdevice ramdisk=[D:]\sources\boot.wim,{ramdiskoptions} The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} systemroot \windows The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} detecthal yes The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} nx optin The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} winpe yes The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} custom:46000010 yes The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /set {default} recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d} The operation completed successfully. BCDEDIT.EXE /STORE C:\BOOT\BCD /set {default} recoveryenabled yes The operation completed successfully. Get the keyboard locale ... GetKeyboardLayout.exe GetKeyboardLayout.exe returned 1111573323 Sat 03/28/2009- 7:21:39.24-[HPRM-BCDFix.cmd]: END Thanks,
  3. [PROBLEM SOLVED.......SEE POST NO.#88 IN PAGE 5] Hello, I've searched through the web and came up with no answer. I just found other people who have the same problem..... i need help generating hp recovery discs from a damaged partition table(I guess). I didn't know that partition magic is uncompatible with vista, so when i ran the program it asked me to FIX the partition table....'YES' was my answer, then the recovery partition dissapeared. I restored the partition using a tiny file that i found at www.hp.com ( the file purpose is to fix error in reading free space on partitions, anyway it made the recovery partition show up and i don't know how). Now i can't build the recovery discs. The Disc creator from hp doesn't recognize the recovery partition. It's curious, because i do have all recovery partition files there, but the disk creator tool doesn't go on. It shows the error message "The recovery partition could not be found" Beside this the F11 key doen't log me into the recovery manager at start up, it just continues loading the OS. Anyone knows a solution ? thanks Configuration: Windows vista on hp pavilion dv6-1045ee


×
×
  • Create New...