Can we boot from a USB HDD?

I’ve installed everything on an USB drive and plugged in an empty SD card for the paging file.
This should work out-of-the-box on the Pi 3 B+ model. On the B model you’ll have to set the OTP bit responsible for USB boot.

OK, Mario, that’s my case I think. I’m using B (non plus) I understand that I need have to set the “OTP bit”. It’s the first time I heard about it. How can we set it? Inside the UEFI?

Thanks

Add “program_usb_boot_mode=1” to your config.txt file and boot up the Pi (from a SD card). You can remove that line afterwards.

2 Likes

It’s booting! Thank you very much!

1 Like

I’m glad someone knew that! I had no idea. It’s weird how it works on some and not on others without that line.

1 Like

Ok so here is whats up.You have turn the usb current to max in the config txt.You can do this in the windows while running.Next changing the INFs is fine for usb only.If you put it on the card,it can possibly boot loop.Boot directly from usb,now after everything is loaded,put your windows sdcard back in.Now shrink the windows on the sd card.Now you should end up with 3 partitions.Go to paged filing and fix it up.I know this works.Any questions just ask!

Hi, I am using pie 3B the same as yours , the bit is already enabled, i installed windows 10 suceesfully on usb flash drive several times but unable to boot when using kingston ssd or 2.5 hdd,tried several methods, the installers and manual mbr and gpt method,they all end up with the rainbow blue screen. Appreciate any help. Thanks.

What type of writing program are you using?WoA,or WoR,or something else.Have you changed the INF files.You go into dev folder and right click open then edit the boot to hd.Its a 0 for hd,3 for sdcard.Its at the very bottom,I can’t see mine or remember what the name they use for it.But I promise this is what your missing.Go look up my buddy NovaSpirt’s video on youtube.He goes into detail if you dont get it.It’s called How to win10 from ssd rpi3+

Thanks for your suggestions, I made all the changes,watched all relavent youtube videos,used woa,wor,manual gpt googulator method and manual mbr method, also tried many insider versions, still I get the rainbow,system try to boot for few minutes then get the blue screen.I am using usb3 to sata converter enclosure with 5v 1A ps with seperate power supply for raspberry 5V. 2amp.

Your set up is fine.What you can do is if you have a sd card,Put windows on it first.Wait,you changed the 2 INF files?I’m sure you did,try this.Can you tell me your window bios settings?Did you change from arsn to broadcam chip?There is two things I know that might help.First go into boot menu,go to the boot maintence manager.Open it up and boot from file.Find your hd and press enter.Make sure there is a blank sd in it before rebooting so it can install the boot swap to it.You might have to reboot twice for the swap file to take…You must use the sd card slot for the first setup.You don’t need windows on it.But If you have windows on the sd card already,its also fine to use as is because it should already have the swapfile on it.Now after all that,while install the for the first time over usb,you must wait until windows says getting devices ready.When the screen turns black.turn the pi off then back on,it will not restart itself If you wait too long the screen will just turn blue and try to restart after crashing.This can ruin your install.Not always but its happen to me b4…After off on has been done,complete the install.After that you can go to file explorer on the pi and reformat your sdcard ntfs or fat32 so you can use it for page filing.You can also go to the config.txt inside the pi for adjusting overclock and basically the same as strechs’ or linux on pi.When your done with that you can go ahead and change the virtual memory.AKA paged file.Reboot go to boot order and make sure your hd is first,then sd,then shell.HypeDxe needs to be set like this,{Ordered from top to bottom}system boot mode EL1,debug log mask4 don’t hook and 0.Did you increase the usb current?If not you think you have stable power from a powered usbhd.Thats wrong,windows will only boot correctly from usb with the {max_current_usb=1}.Put this in the config.txt.Let me know how it goes.If it still gives you problems,I can help you set it up from here.Ask if you have questions problems,or issues installing.I can walk you though it. .It should take but 1hour the most.There’s something,what are using to install with?WoR,or WoA, There are alot more ways.If none of this works,I will help you take the correct path and get it up and running.

V[quote=“tmm, post:5, topic:89”]
removability.
[/quote]
Thank you very much for your help,all your suggestions been followed but still does not boot. As i mentioned before, I tried almostly all different guides and suggestions given in this forum and others by okey12,anthony,mario,Daniel912,lamosca01,gillius and others,also using WOA ,WOR and cmd methods,all give the same result,boot does not go through,I also tried another pi3B and another kingston ssd 60gb. I have no problem when installing usb fast flash drive like sandisk ,so i know that both my pi3B boots into usb but not ssd or hdd,always put fat 32 empty sd for swap file. I also ran rasbian and ubunto using that ssd and hdd disks using the same usb3 to hdd converter. It seems more work needed to make pi3B not B+ boot reliably. Blue screen comes before I reach the stage ‘getting devices ready’ . Thanks for your help.

Its the kingston.I looked it up.Something doesn’t jive with the ssd.A blue scorpion or western digital is what you need.I am using a hd out of on of my ps3 and ps4.You could also use one from a 360xbox.Most of them are all the same.Hitachi also works.If you don’t have one,or the money for one.I will give you a way to get a hold of me and I will mail you one.I got plenty.Thats not file sharing right?

Thank you , I am getting msata 60 gb soon and also have western digital 2.5’ 320 gb hdd. I much appreciate your help.

1 Like

can this tool replace the USB boot?

Edit: nevermind. that’s still use usb for connect to raspberry pi

It can. I have one sitting on my desk. I use that and the Geekworm X850. I prefer the Geekworm so I’m actually selling the desktop one that you posted for 35 if you’re interested. Either one is good. You plug in an mSATA drive to it and it allows you to have a clean looking case. I also have the fan kit with it included in the sale. The one thing I can say though is that one doesn’t cool as well as the X850.

I’ve just tried the HDD thing and it works fine even without any SD in, but you get a pagefile error. Used a 128GB SD card and formatted it for it. Works great!

in my case. UEFI doesn’t work on my HDD. so I need an SD card to run UEFI to boot into my HDD. maybe this is a bug from UEFI. I will try to report it to Andrei (the person who made this UEFI)

It isn’t a bug in the UEFI as far as I can tell. Using a 1TB HDD and it works fine, SD card’s empty formatted NTFS for my gigantic pagefile.sys.
Here’s what I recommend:
Next time you try to install it, use DISKPART:

  1. Open DiskPart (open cmd, type DISKPART, you get it)
  2. Type list disk
  3. Remember the number of your disk. To determine it, see what disappears and reappears when you unplug/replug your USB disk.
  4. Type select disk # (# being the number of disk you are using)
  5. Type clean
  6. Type convert mbr (this will report back with success if it was converted or was already MBR, do it anyways)
  7. Type create PARTITION PRIMARY
  8. Type exit
  9. Type diskmgmt.msc to open the Disk Management MSC
  10. Find your drive, you should see a new partition formatted as RAW on your disk
  11. Format it as NTFS
  12. Done! Use WoA Deployer and you should be working.

If this doesn’t work, or the CREATE PARTITION fails, try typing recover as that fixed my issue.

WOA formats the disk to gpt. and that resulted in a conflict with the disk on my PC.
note: my pc’s disk is formatted to gpt. and Windows only allows 1 disk with GPT format

Boot your pc with a linux distro then use gparted from there.It will give you UN-permmisioned ability to format.Should solve your issue.If not hit me up and we can work it out together.