Sometimes I need to restart the operating system which is running via VHD.
In this case I have automatically redirected to the native system of windows where I need to select what operating system to use.
Then the computer reboots again to finally boot into my pointed system.
That is one additional restart which is not needed at all.
I want to eliminate the unnecessary step.
Lets look at the boot loader situation now:
bcdedit /enumThis will report me:Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
integrityservices Enable
default {current}
resumeobject {3d6e0d9d-94ef-11e6-b413-9a532a3b8c21}
displayorder {current}
{3d6e0da1-94ef-11e6-b413-9a532a3b8c21}
{3d6e0da2-94ef-11e6-b413-9a532a3b8c21}
toolsdisplayorder {memdiag}
timeout 10
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 8.1
locale en-US
inherit {bootloadersettings}
recoverysequence {3d6e0d9f-94ef-11e6-b413-9a532a3b8c21}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {3d6e0d9d-94ef-11e6-b413-9a532a3b8c21}
nx OptIn
bootmenupolicy Standard
Windows Boot Loader
-------------------
identifier {3d6e0da1-94ef-11e6-b413-9a532a3b8c21}
device vhd=[locate]\win7x64ultimate.vhd
path \Windows\system32\winload.exe
description Windows 7 Ultimate
locale en-US
inherit {bootloadersettings}
recoverysequence {3d6e0d9f-94ef-11e6-b413-9a532a3b8c21}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice vhd=[locate]\win7x64ultimate.vhd
systemroot \Windows
resumeobject {3d6e0d9d-94ef-11e6-b413-9a532a3b8c21}
nx OptIn
bootmenupolicy Standard
Windows Boot Loader
-------------------
identifier {3d6e0da2-94ef-11e6-b413-9a532a3b8c21}
device vhd=[locate]\win81x64.vhd
path \Windows\system32\winload.exe
description Another 8.1
locale en-US
inherit {bootloadersettings}
recoverysequence {3d6e0d9f-94ef-11e6-b413-9a532a3b8c21}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice vhd=[locate]\win81x64.vhd
systemroot \Windows
resumeobject {3d6e0d9d-94ef-11e6-b413-9a532a3b8c21}
nx OptIn
bootmenupolicy StandardBasically all options are listed in first section.Now on the native drive c:\ I places these files:
set-default-native.cmd:bcdedit /default {3d6e0d9e-94ef-11e6-b413-9a532a3b8c21}
shutdown -r -t 0set-default-7-vhd.cmd:bcdedit /default {3d6e0da1-94ef-11e6-b413-9a532a3b8c21}
shutdown -r -t 0set-default-81-vhd.cmd:bcdedit /default {3d6e0da2-94ef-11e6-b413-9a532a3b8c21}
shutdown -r -t 0Every time I decide to use one OS longer than one reboot I set it as default operating system :)
No comments:
Post a Comment