How create boot entry (multi-boot) in Vista to boot Win PE directly from the hard disk? (Not from CD/DVD/UFD! (In Vista live!))
_____________
Как я могу создать загрузочный вход (boot entry (multi-boot)) в Vist-е? Это еще можно назватьmulti-boot решение...
Процесс создания должен производиться из-под реально бегущей Vist-ы, не с CD/DVD/UFD! И мне нужна загрузка с жесткого диска. Т.е. очевидно надо добавить новый з.вход...
Я тут пришиваю статейку - которая частично дает направление... "Windows AIK (Automated Installation Kit)"
___________________________________________________________________________
Walkthrough: Boot Windows PE from Hard Disk
This walkthrough describes how to boot Windows PE directly from a hard disk but not into RAM disk, which enables you to start a computer for the purposes of deployment or recovery.
Prerequisites
To complete this walkthrough, you need the following:
A technician computer that provides all the tools and source files. For more information, see Building a Technician Computer.
Step 1: Create a Bootable Windows PE RAM Media
Select one of the options below and follow the instructions for building a bootable Windows PE RAM media. Make sure you include ImageX with your image. After you create your bootable media, continue to the next step.
Walkthrough: Create a Bootable Windows PE RAM Disk on CD-ROM
Walkthrough: Create a Bootable Windows PE RAM Disk on UFD
Step 2: Prepare the Hard Drive
In this step, you boot the new computer with your Windows PE media and format the hard drive.
On the new computer, insert your Windows PE media and restart the computer.
Windows PE will start and launch a Command Prompt window.
Note:
If the hard drive contains an active partition, you must override the boot order to boot from the CD/DVD drive. During initial boot, select the appropriate function key to override the boot order. If this is a new computer, the hard drive will be unformatted, so you can skip this step.
At a command prompt, format the hard drive by using DiskPart. Windows PE requires an active partition with a size equal to or greater than the size of your Windows PE image. For example,
diskpart
select disk 0
clean
create partition primary size=<insert size>
select partition 1
active
format fs=ntfs
exit
Step 3: Copy Windows PE Files to the Hard Disk
In this step, you copy Windows PE resource files to the hard drive from your bootable media. You need ImageX to apply the Boot.wim to the hard drive. This example assumes the hard drive is blank.
At a command prompt, use ImageX to apply the Windows PE image (Boot.wim) from your bootable media to the hard drive. For example,
d:\imagex /apply d:\sources\boot.wim 1 c:
Where d: is your bootable Windows PE media that contains ImageX and a Windows PE image.
Copy the \boot folder from your bootable media to the root of your hard drive. For example,
xcopy d:\boot\*.* /e /f c:\boot\
Copy the Bootmgr file (no extension) from your bootable media to the root of your hard drive. For example,
copy d:\bootmgr c:
Delete the boot configuration data (BCD) file that you copied from your bootable media. (You will create a new one in the next step.) For example,
del c:\boot\bcd
Step 4: Configure BCD Store
In this step, you will create a new boot configuration file called BCD by using BCDEdit. BCD replaces Boot.ini. BCDEdit is a command-line tool designed to manage BCD stores. BCDEdit is available in Windows PE and Windows Vista. For example,
Bcdedit –createstore c:\temp\BCD
Bcdedit –store c:\temp\BCD –create {bootmgr} /d “Boot Manager”
Bcdedit –store c:\temp\BCD –set {bootmgr} device boot
Bcdedit –store c:\temp\BCD –create /d “WINPE” –application osloader
Bcdedit –import c:\temp\BCD
The last command returns a GUID value. Substitute GUID with this value in the following examples.
Bcdedit –store c:\boot\BCD –set GUID osdevice partition=c:
Bcdedit –store c:\boot\BCD –set GUID device partition=c:
Bcdedit –store c:\boot\BCD –set GUID path \windows\system32\winload.exe
Bcdedit –store c:\boot\BCD –set GUID systemroot \windows
Bcdedit –store c:\boot\BCD –set GUID winpe yes
Bcdedit –store c:\boot\BCD –set GUID detecthal yes
Bcdedit –store c:\boot\BCD –displayorder GUID -addlast
Your computer is now ready to boot Windows PE directly from the hard disk.
See Also
Windows PE Walkthroughs
--------------------------------------------------------------------------------
Legal Notices
_____________
Как я могу создать загрузочный вход (boot entry (multi-boot)) в Vist-е? Это еще можно назватьmulti-boot решение...
Процесс создания должен производиться из-под реально бегущей Vist-ы, не с CD/DVD/UFD! И мне нужна загрузка с жесткого диска. Т.е. очевидно надо добавить новый з.вход...
Я тут пришиваю статейку - которая частично дает направление... "Windows AIK (Automated Installation Kit)"
___________________________________________________________________________
Walkthrough: Boot Windows PE from Hard Disk
This walkthrough describes how to boot Windows PE directly from a hard disk but not into RAM disk, which enables you to start a computer for the purposes of deployment or recovery.
Prerequisites
To complete this walkthrough, you need the following:
A technician computer that provides all the tools and source files. For more information, see Building a Technician Computer.
Step 1: Create a Bootable Windows PE RAM Media
Select one of the options below and follow the instructions for building a bootable Windows PE RAM media. Make sure you include ImageX with your image. After you create your bootable media, continue to the next step.
Walkthrough: Create a Bootable Windows PE RAM Disk on CD-ROM
Walkthrough: Create a Bootable Windows PE RAM Disk on UFD
Step 2: Prepare the Hard Drive
In this step, you boot the new computer with your Windows PE media and format the hard drive.
On the new computer, insert your Windows PE media and restart the computer.
Windows PE will start and launch a Command Prompt window.
Note:
If the hard drive contains an active partition, you must override the boot order to boot from the CD/DVD drive. During initial boot, select the appropriate function key to override the boot order. If this is a new computer, the hard drive will be unformatted, so you can skip this step.
At a command prompt, format the hard drive by using DiskPart. Windows PE requires an active partition with a size equal to or greater than the size of your Windows PE image. For example,
diskpart
select disk 0
clean
create partition primary size=<insert size>
select partition 1
active
format fs=ntfs
exit
Step 3: Copy Windows PE Files to the Hard Disk
In this step, you copy Windows PE resource files to the hard drive from your bootable media. You need ImageX to apply the Boot.wim to the hard drive. This example assumes the hard drive is blank.
At a command prompt, use ImageX to apply the Windows PE image (Boot.wim) from your bootable media to the hard drive. For example,
d:\imagex /apply d:\sources\boot.wim 1 c:
Where d: is your bootable Windows PE media that contains ImageX and a Windows PE image.
Copy the \boot folder from your bootable media to the root of your hard drive. For example,
xcopy d:\boot\*.* /e /f c:\boot\
Copy the Bootmgr file (no extension) from your bootable media to the root of your hard drive. For example,
copy d:\bootmgr c:
Delete the boot configuration data (BCD) file that you copied from your bootable media. (You will create a new one in the next step.) For example,
del c:\boot\bcd
Step 4: Configure BCD Store
In this step, you will create a new boot configuration file called BCD by using BCDEdit. BCD replaces Boot.ini. BCDEdit is a command-line tool designed to manage BCD stores. BCDEdit is available in Windows PE and Windows Vista. For example,
Bcdedit –createstore c:\temp\BCD
Bcdedit –store c:\temp\BCD –create {bootmgr} /d “Boot Manager”
Bcdedit –store c:\temp\BCD –set {bootmgr} device boot
Bcdedit –store c:\temp\BCD –create /d “WINPE” –application osloader
Bcdedit –import c:\temp\BCD
The last command returns a GUID value. Substitute GUID with this value in the following examples.
Bcdedit –store c:\boot\BCD –set GUID osdevice partition=c:
Bcdedit –store c:\boot\BCD –set GUID device partition=c:
Bcdedit –store c:\boot\BCD –set GUID path \windows\system32\winload.exe
Bcdedit –store c:\boot\BCD –set GUID systemroot \windows
Bcdedit –store c:\boot\BCD –set GUID winpe yes
Bcdedit –store c:\boot\BCD –set GUID detecthal yes
Bcdedit –store c:\boot\BCD –displayorder GUID -addlast
Your computer is now ready to boot Windows PE directly from the hard disk.
See Also
Windows PE Walkthroughs
--------------------------------------------------------------------------------
Legal Notices