@Brian K I finally got my VHD to show in my F11 boot menu. Just to refresh you, my cloned VHD is sitting on my H: normally. I have already entered it into the boot manager a while ago so it shows in my Windows OS selection menu. To do this I used this command - bcdboot F:\windows So then I had 2 selections - My current disk with windows and the VHD with my clone of windows. They both worked good. Now I wanted to boot into the VHD if the disk on which C: is installed fails, which I assume would prevent the windows OS menu from showing. Pressing F11 to get into my bios boot device menu did not show my VHD so I would not be able to get anywhere without a rescue UFD. The challenge is to get the VHD to show in the bios boot menu. I have done it similar to Brian's post a page back or thereabouts. To summarize to get the VHD to show on the bios boot menu you have to make a system partition on the disk the VHD resides. Give that system partition a drive letter so we can copy files to it. Then run the bcdboot command to copy system boot files to that system partition. Here are my commands -- diskpart select volume H shrink desired=100 create part EFI format fs=fat32 quick assign letter=T exit bcdboot F:\Windows /s T: /f UEFI (where F: is the mounted VHD) diskpart select vol T remove letter=T exit exit This did the trick and now when I press F11, my boot menu show my original samsung drive where C: is currently and also show a WD m.2 drive where the VHD is located. If I select that, it boots right into the VHD. Here is the disk management screenshot when booted there - https://i.imgur.com/SVBHzJO.jpeg I tried yesterday to get into my PC and remove my C: m.2 drive to simulate a failure but it would require removing my CPU heatsink and my GPU, and I'm not doing that until I really needed to replace it, but theoretically what I've done should work.
@Brian K I also found out how to boot a cloned USB drive without running the IFW usbboot script. You have to enable USB drivers to load early in the boot cycle by changing a registry entry. I tried it already and it works. You can run a batch script or do it manually with regedit, which is what I did. Here is the script that supposedly works - set System_Root=Path to target SystemRoot on usb stick e.g. e:\Windows copy "%System_Root%\system32\config\system" "%System_Root%\system32\config\system_%random%.sav" reg.exe load HKLM\loaded_SYSTEM "%System_Root%\system32\config\system" for /f "tokens=2* delims= " %%i in ('reg query HKLM\loaded_SYSTEM\HardwareConfig /v LastConfig 2^>nul^|findstr /i LastConfig') do set "guid=%%j" reg add HKLM\loaded_SYSTEM\HardwareConfig\%guid% /v BootDriverFlags /t reg_dword /d 0x14 /f reg.exe unload HKLM\loaded_SYSTEM This pulls in the required registry hive from the USB drive and updates the BootDriverFlags to hex 14 which enables USB2 or USB3 boot. Here is the graphical way to do it using regedit.
@Brian K Hi Brian can i ask you a question ? can i perform with partition work included in image for linux without restoring an image? and if yes , how ? I have download again the pdf for image for linux , 219 pages but there is nothing related to partition work
To change the Disk ID... Partition Work, View MBR, Edit Sig You can't change GUIDs from Partition Work but you can from TeraByte Explorer... Right click IFL desktop, TeraByte Explorer, File Explorer, Mount/Unmount a drive path identifier. Select a drive or partition F1 for the menu Change partition Id/GUID / disk signature
Anyone care to post your ifw.ini contents, same license of course? That, or any IFW scripts. I'm curious what people use. The available options are so extensive and change all the time, that I'm curious what people use and why. I'll start. Spoiler: ifw.ini [Options] SaveUEFIData=1 TextTree=0x1 ShowTBWinPE=1 PrefixHM=F636C79976824EF32477F1219993E9165B445013 GlobalGeoOrgGeo=1 GlobalGeoMBRGeo=1 GlobalGeoAlign2K=1 PHYLockUseReg=0 [PHYLock_Options] UseVSS=1 PHYLockDisable=1 PHYLockMemory=0 PHYLockWriteTracking=1 [RESTORE_DEFAULTS] UseOrgHDNum=1 Reboot=4 WriteChangedSecsOnly=1 WriteMBR=1 The restore defaults is really helpful for fast, automatic, restores. Spoiler: Full Backup Script switches System-$~MM$-$~DD$-$~YYYY$-$~HHMM$" /enc:3 /nt /geoa2k /opw:"password" /log:0 /comp:12 /min
mantra, Interesting we were discussing GUIDs. I just restored a Win11 image from another computer to a spare SSD. I restored it again to a different partition on the same SSD and forgot to change the GUID (with the second restore). After the first restore, the Win11 booted normally from BIU. The second Win11 was restored and when I tried to boot it from BIU I got a BSOD. So I booted into IFL and changed the GUID. Now both identical Win11 boot.
ifw.ini Code: [Options] OutputDiskID=1 LogMaxSize=5242880 MDUseDirData=1 LogFile=D:\My_files\__Tera_scripts\IFW.LOG GlobalGeoAlign2K=1 PHYLockUseReg=0x0 ISO8601=1 TimeZone=AUS-10 ShowTBWinPE=1 [PHYLock_Options] UseVSS=1 [LICENSE] ProductKey=XXX User=YYY [BACKUP_DEFAULTS] PostValidate=0x2 [RESTORE_DEFAULTS] WriteChangedSecsOnly=1 PostValidate=0x2 [COPY_DEFAULTS] PostValidate=0x2 WriteChangedSecsOnly=1 full backup Code: C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\imagew64.exe /b /uy /d:{684BD68D-BC4D-426D-A7CC-A621A93251E4}@0x1,0x2,0x3,0x4 /vb /hash /f:F:\TeraByte_TBI_Backups\C_$~YYYY$-$~MM$-$~DD$-$~HHMM$__FULL
Oh that's interesting. I'll have to look up ShowTBWinPE=1. Is there a reason why you validate? Have you ever had a bad image?
Yeah, no. Using the /hash /usemd switches was definitely not faster while creating differential images for me; with those switches it took 6 min and without 4.5. That's very odd.
hi Brain , so i can't with parition work change GUIDs , i guess it's what you do need to avoid BSOD , right? but Brian terabyte explorer? i have which one is terabyte explorer? and sometime i got some errors mounting an image thanks Brian
In IFL, right click the desktop, click TeraByte Explorer. It's the fifth item. Did you see my post #2108?
hi yes , i have used google translator , it's not the best for i understood on the second restore i have forgotten to change GUID and you got a BSOD i'm right? sorry Brian , english it's not my native language I have this only TBmount and tbView https://i.imgur.com/FhYMbWF.png
hi Brian ,sometime it doesn't mount an image but you are talking about a drive or partition i have't this option Change partition Id/GUID / disk signatur in TBIMount , when have they introducted ? might you please share a screenshot or some screenshot please?
I wasn't using TBIMount. I want you to boot your IFL UFD. On the IFL desktop, right click and you get a menu.
hi Brian in image for windows , i haven't it in image for linux have I to type new the guid random ? I think DiskGenius even the free version could change the GUID , but it does ask to type it have you tested ? is it 100% free and portable! thanks Brian
hi Brian i'm sorry ,please , let me know do we need to change the GUID only in a restore process ? thanks