-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot from USB-SSD only works once #891
Comments
What about if you put in an SD card with just bootcode.bin on it? Also try adding a file TIMEOUT to the SD card as well... Gordon |
I tried that before, it still doesn't work on subsequent reboots. If it helps, I'm using the |
It sounds like the drive is being left in some strange state... Does
plugging it into a Raspberry Pi running Raspbian also 'fix' the problem or
is it only the Mac that can do it?
On Thu, Oct 19, 2017 at 3:23 AM Amos Ng ***@***.***> wrote:
I tried that before, it still doesn't work on subsequent reboots. If it
helps, I'm using the Samsung T5 Portable SSD without any encryption or
whatnot. For now, my temporary workaround this issue is to simply separate
the boot partition onto a SD card that points the root to my SSD drive.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#891 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB9CHL5bws3uwplVmin7x1Khy6DkY0rnks5strK3gaJpZM4P8d68>
.
--
--
Director of Software Engineering, Raspberry Pi (Trading) Limited
t: +44 (0) 1223 322633
m: +44 (0) 7450 946289
e: gordon@raspberrypi.org
w: www.raspberrypi.org
|
No clue, I've mitigated this by having the boot partition stay on a SD card. |
I tried these steps and it worked. I was using a small HDD. |
I experience the same problem. Mounting the SSD to a MAC, Linux or Windows system and unmounting it fixes the problem for just one boot. Any following subsequent boot shows up with the same error again. Putting an SD card into the device will not solve the problem for me. This whole SSD thing was meant to be a replacement for the SD cards! |
And it seems i have found something. I am trying a cable like this one to bridge it: http://amzn.to/2IAO6rV |
I succeeded booting from Samsung T5 SSD (I have the 512GB version) without sdcard after setting program_usb_boot_timeout=1 This increases the USB boot timeout which is per default only 2 seconds - not enough for the T5. After this step I was able to reliable boot and reboot (and restart) the Raspi 3 from SSD without sdcard. BUT: Since the raspi is looking all the time for an sdcard you will end up with a higher cpu load due to a lot of IRQs coming in (kworker process consumes about 8% CPU in idle!). |
Hello,
Recently, I've made the switch from using SD cards to a SSD drive through USB for various reasons and the first thing I noticed that upon data migration from the SD card to the SSD drive, my Raspberry Pi 3 Model B server only manages to boot up once. Any subsequent reboots, shutdowns-and-boot, power-off-and-on fails to bring up the OS after the initial boot.
I tried to find out what was causing the issue and I think I narrowed it down to possibly the unmounting sequence during poweroff using
shutdown
orreboot
. Basically, in order for me to reboot the server, I have to manually connect the SSD drive to my Macbook, mount the two partitions, unmount the two partitions, eject the drive, reconnect the drive to the Pi 3B and plug the power cable back in.The text was updated successfully, but these errors were encountered: