Jump to content











Photo
- - - - -

Boot from Hard Drive

boot hard drive

  • Please log in to reply
3 replies to this topic

#1 alebcay

alebcay
  • Members
  • 3 posts
  •  
    United States

Posted 20 August 2012 - 07:19 PM

Hello,

I've decided to move my PE files that I made with WinBuilder (Win7PE_SE project) to a hard drive, so that I'll have more file storage space. Anyway, I got the BCD written, but on boot to hard drive, it keeps returning error 0xc0000428, which says that it can't verify the digital signature of a file (ntkrnlpa.exe, which if I'm right, is the NT kernel). Is there a way to get around this, or am I just screwed (I know you can do this with a Vanilla WAIK PE image)?

#2 vigipirate

vigipirate

    Member

  • Members
  • 99 posts
  •  
    France

Posted 21 August 2012 - 12:28 AM

easybcd v2.1.2 free

#3 alebcay

alebcay
  • Members
  • 3 posts
  •  
    United States

Posted 21 August 2012 - 01:01 AM

I repeat, I can make it into the BCD. The BCD then attempts to load the kernel, ntkrnlpa.exe, which is where the error occurs. So no, EasyBCD will not solve my problems.

#4 koolkarnt

koolkarnt
  • Members
  • 3 posts
  •  
    Australia

Posted 14 September 2012 - 09:28 PM

Get hard drive - must be expendable as its about to be winpe.

boot into winpe basic (command line)
prep your hard drive with diskprep <- look around. there heaps of examples
deploy the boot.wim file with imagex
copy the usb:boot*.* + bootmgr to the hdd
del c:bootbcd
now make bcdedit script (borrowed from that dude making winpe4.. Nice work. )

@echo off
SET BCDEDIT
=bcdedit.exe
SET BCDSTORE
=C:BootBCD
SET USB=e:
SET LABEL="Win 7 PE"
echo.
echo Fixing the BCD on "%BCDSTORE%"
echo.
echo.
%BCDEDIT% /createstore %BCDSTORE%
%BCDEDIT% /
store %BCDSTORE% /create {bootmgr} /d "Boot Manager"
%BCDEDIT% /store %BCDSTORE% /set {bootmgr} osdevice boot
%BCDEDIT% /store %BCDSTORE% /set {bootmgr} device boot
echo getting GUID and injecting that into the next pesky 4 lines..
rem this next line is gold... gold i say - once again thanks to the real coder.. its a credit to good thinking.
for /f "Tokens=3" %%i in ('%BCDEDIT% /store %BCDSTORE% /create /d %LABEL% /application osloader') do set GUID=%%i
echo
.
echo guid=%guid%
echo.
%BCDEDIT% /store %BCDSTORE% /set %GUID% systemroot Windows
%BCDEDIT% /store %BCDSTORE% /set %GUID% detecthal Yes
%BCDEDIT% /store %BCDSTORE% /set %GUID% winpe Yes
%BCDEDIT% /store %BCDSTORE% /displayorder %guid% /addlast
echo
.
echo.
echo Press any key to exit
pause
exit

then its all good. you will now either get a working system or a whol new problem.





Also tagged with one or more of these keywords: boot, hard drive

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users