As you can see in Post #15 in my attachments, Testdisk found 2 hidden Partitions: 1 NTFS [WinRE] and 1 FAT32 [FSC_OTS] !?
The NTFS is a OEM Partition with ID=27.
The FAT32-Partition is just a service-partition and holds just 85 MB! It should have been deleted i guess, as you can see in the following lines
In the ROOT there are these files (and more):
SET_ENV.BAT
FINDRAMD.BAT
AUTOEXEC.BAT
...
- ::GDISK-LOESCHE OTS_PART
- echo.
- echo Loesche SERVICEPARTITION...
- echo.
- gdisk 1 /del /p:%OTS_PART% /y
- gdisk 1 /act /p:2 /y
- echo.
...
This Partition should nothing have to do with the Recovery-Partition. I copied all files to my external HDD via TESTDISK and looked in the BATCH-Scripts.... Just do configure the System´s Hardware (CMOS/BIOS/FIRMWARES/etc.)
jaclaz, on 21 January 2011 - 04:26 AM, said:
In normal operation:
BIOS->MBR->PBR of active partition->Normal OS booting
In Recovery operation:
BIOS->MBR->HotKey pressed->Recovery partition is unhidden and set Active->PBR of active partition (which is now the recovery partition)->Recovery OS booting
What happens with the "new" approach should be something like:
In normal operation:
BIOS->MBR->PBR of active partition->BOOTMGR->BCD->Normal OS booting
In Recovery operation:
BIOS->MBR->BOOTMGR->BCD->HotKey pressed->Recovery OS booting (WINRE) ->get data from factory.wim->restore OS
I think, the green one is the way, the WinRE was accessed, because the Menu looked like Vista´s Boot-Menü with the Option "Repair Computer".
1st Question:
Or is the BCD and BOOTMGR on the WinRE-partition an indication for booting it over the MBR with its own Boot Configuration Data?
2nd Question:
If i mount the FACTORY.WIM, can i edit the \Boot\BCD, to see it´s content or even Export the entries to a file? Or do i have to APPLY the Image to C:, that i can export the BCD via BCDEDIT /EXPORT
ANSWER: Yes: With the command BCDEDIT /store \boot\bcd /enum all
3rd Question:
Can a WIM-File hold the original MBR?
ANSWER: NO
jaclaz, on 21 January 2011 - 04:26 AM, said:
It is possible that your particular PC has a "mixed mode", where the Recovery partition where the Factory.wim is, is hidden and unhidden when booting the WinRE.
I don´t think so. Because i already ran the recovery-partition several times in the past, i think it will be accessed over the BCD. The WinRE partition with id27 is designed for this, if the partition is the first one, like on my HDD!
All recovery-stuff is hidden. The FAT32-Partition i can only see via TESTDISK/BOOTDISK. Windows disk management Lists only 3 Partitions. 1 is OEM, 2 and 3 are C: and D:
jaclaz, on 21 January 2011 - 04:26 AM, said:
In other words, when the original setupfailover.cmd is run, the hidden partition is unhidden and has a drive letter assigned to it (which should be the parameter you were asking about) then the batch itself removes the drive letter and hides the partition.
Hope that now it is more clear...
Yeah, i knew, that the script will take the letter away and hide the partition. But mine is already hidden, exept i will boot with the Vista-DVD to the CMD, then WinRE is F:\. That is the reason, why i would prefer a solution with BCDEDIT.EXE. But i don´t know the Syntax/variables/parameters/guids yet! (completely new @ vista/7)
The problem is, that i don´t want to make any changes to the partitions for now. So i can restore factory wim in case of emegency and will have the factory-state again (i hope). Then extract the BCD and restore my current SYSTEM.WIM (with proud 110GB), import bcd, let Vista repair the start-up and everything is fine.
I CAN ACCESS MY WINRE-PARTITION if i boot from the VISTA SP2-INSTALL-DISK and go to the REPAIR-OPTION - CMD.
WinRE Partition [id=27]=F:\
could i run the setautofailover script there?
SetAutoFailover.cmd /target F: /wim /nohide /partition 1
/mainos GUID ....
4th Question
Where can i find this GUID of my OS? I will attach the BCDEDIT.TXT, created with:
BCDEDIT /ENUM ALL >BCDEDIT.TXT
IS IT THIS ONE: {2ebf8c8c-0e38-11e0-9fc4-e7505350ad8a} ?
ANSWER: YES but {current} should work also
I imaged my current system on C: with this syntax:
imagex.exe /capture /boot /compress none /verify C: F:\Recovery\System.wim "SYSTEM"
And i connected the 2,5" Sata-Drive to a PC and made a RAW-Image with WindowsPE (XP), because the Laptop always hung at the destroyed sectors.
I have found an interesting Folder in the FACTORY.WIM! Look at the Restore.jpg in ATTACHMENTS. Such an EXE-File (like RESTORERECOVERY.EXE) could possibly restore my MBR, so restoring FACTORI.WIM maybe would help me to fix my problem via its installations-routine. Or it does the same like the Setautofailover-Script compiled in a EXE-File.
I just know the responsible files of XP (Files like WINNT.SIF or CMDLINES), which contain additional or costum files added by the manufacter. But where to look in VISTA? Where could a file like RESTORERECOVERY.EXE could be executed in the Installation-routine? I already looked @ the $OEM$-Folder. That is important, to look for parameters.
@ Tripredacus
5th Question:
Look @ recovery.jpg! The Picture is the standard one, but the last option "Fujitsu Siemens Computers" which would be there, if i would had booted it. Where does the Environment take this information? (it is not the orginal-screenshot

)
ANSWER: from the WINPESHL.INI i think!
in mine, this is the content:
- [LaunchApp]
- rem AppPath=%comspec%
- AppPath=X:\sources\recovery\tools\recoverypackage\bin\FSCPEStart.exe
- [FSCRECOVERY]
- AppPath=X:\sources\recovery\recenv.exe
This post has been edited by Schiiwa: 27 January 2011 - 01:38 PM