Guest User

WoA on Pi

a guest
Feb 9th, 2020
7,797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Open second cmd window administrator.
  2. diskpart
  3. list disk -This will display all of the disks connected to windows remember the number of the usb drive you are using. (look at storage size)
  4. select disk ? - replace ? with a number of your usb disk
  5. select partition 1
  6. set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 (normal) if you need to edit edit bcd.
  7. assign letter T
  8.  
  9. switch to first cmd window where dism was used.
  10.  
  11. bcdedit /store T:\EFI\Microsoft\Boot\bcd /set {default} recoveryenabled no
  12. bcdedit /store T:\EFI\Microsoft\Boot\bcd /set {default} truncatememory 0x40000000 //only needed on a 2gb or 4gb rpi4 boards and may not be needed if on uefi above 1.0.
  13.  
  14. switch to second cmd window where Diskpart was used.
  15.  
  16. remove letter=T
  17. set id=C12A7328-F81F-11D2-BA4B-00A0C93EC93B (efi-esp) to make it bootable again.
  18.  
  19. Close all cmd windows.
  20. Safely remove microsd card and usb drive from your pc.
  21. insert microsd card into Raspberry pi 4 and usb drive into Raspberry pi 3.
  22.  
  23. change UEFI settings to it will always use USB as 1st boot device instead of UEFI shell. Check if CPU is set to max in Raspberry pi Configuration under Device Manager.
  24.  
  25. Finish OOBE on raspberry pi 3. Once done shutdown rpi3 then connect USB drive back to your pc.
  26.  
  27. Then remove drivers for lan7800, lan9500, SerPL011 and bcmauxspi devices. I used dism++ (https://chuyu.me)for this because having using gui was better than any other method.
  28.  
  29. Safely remove microsd card and usb drive from your pc.
  30.  
  31. Finally usb can be inserted into the type-c on raspberry pi 4. This port also provides power so good luck.
  32.  
  33. change UEFI settings to it will always use USB as 1st boot device instead of UEFI shell. Check if CPU is set to max in Raspberry pi Configuration under Device Manager.
  34.  
  35. Remember that only type-c port works correctly so you will have to connect usb drive to it somehow.
Add Comment
Please, Sign In to add comment