-
Notifications
You must be signed in to change notification settings - Fork 153
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
Stuck booting when installed to USB #47
Comments
My first guess would be a power issue. I've seen/had issues similar to yours and it got 'fixed' by using the charger from my phone, which apparently does give enough power not to produce the issues. The only thing that could contradict this guess, is that it appears to work with OpenELEC. But it could be that they made modifications to the system so that it uses less power and therefor less likely to suffer from power issues. AFAIK they do have optimized the filesystem, so this idea is not as far fetch as it may seen at first. Do you have another power source you could use/try it with? |
@diederikdehaas |
Looks like you found a genuine bug Limpster 👍 and it is quite likely that your power source isn't the problem. |
I just updated exiting script to package into initramfs and load during setup the existing modules (from linux-image-3.10-3-rpi package) needed to access the USB during installation. From your description look like installation finish successfully on the USB stick but your are stuck when you try to boot from the USB stick. Usually is is caused by missing kernel modules. After install (but before booting into USB stick) check that "sd_mod" and "usb-storage" modules are in /lib/modules/ or that are build in the kernel. I used raspberrypi-bootloader kernel package because it is the first one that have working SPI support. This one has the USB support compiled directly in the kernel. |
Thanks for your response. On Wednesday 23 April 2014 17:41:01 Jake wrote:
Correct.
After the failed bootup, I had to pull the power of my RPi, cause I couldn't (I'm not really familiar with this part of Raspbian (or Debian)) But I'll modify the installer script (for testing purposes), so it'll pause at
Also thanks for this pointer! Cheers |
Ok, this is weird. |
My previous comment was incorrect: |
@Limpster Can you test something out for me? I think I've found the problem (and solution).
Don't worry if you don't (really) want to use btrfs, this is just to test something out. |
@diederikdehaas I did install with the modifications and it went a little better. |
Did you add the 'btrfs-tools' package to the packages config option? |
…em on USB. This was mainly the cause when the root fstype was ext4, the default. Hopefully this fixes issue debian-pi#47. This was caused by an too old kernel and/or the absense of /lib/modules in the resulting image. By setting 'kernel_module' to true, the kernel package will be installed and the various modules will be build. This is not a complete fix, since the other filesystems don't automatically work. If the fstype is btrfs, then adding btrfs-tools to the packages option makes it work. With f2fs things are a bit trickier, since there is a f2fs-tools package, but only for jessie, not wheezy. But this will fix the default case (ext4) and in the meantime I'll work on a better fix for the other filesystem types.
Yes, I did as u told me, my installer-config.txt looks like this (no jessie install, since this was only for experimenting, I am aware of the issue :)
I'd like to test it again but my raspberry refuses to copy the bootfiles and I just dont have the patience to keep fighting with my pi over and over again. If it works for you I guess you can concider it as fixed. Thank you for your help 👍 |
On Saturday 03 May 2014 01:42:57 Limpster wrote:
I'll test again with this exact configuration to see whether that will show
I understand. Thanks for all the testing and reporting you have done, it's
If you want the latest changes, you would have to build it yourself. I will be making a new release not too long from now, which should iron out Cheers! |
I've just released version v1.0.1 of the raspbian-ua-netinst project and that should fix this issue. |
Primary reason for this is the following comment on Debian bug #757941: "More, I don't think reassigning it to glibc will do any good either, because static linking has been discoraged there for ages." (comment debian-pi#47). Besides that, having to use a workaround because busybox-static version 1.22.0-8 is getting annoying.
Primary reason for this is the following comment on Debian bug #757941: "More, I don't think reassigning it to glibc will do any good either, because static linking has been discoraged there for ages." (comment debian-pi#47). Besides that, having to use a workaround because busybox-static version 1.22.0-8 is getting annoying.
Installation to USB finishes, the pi reboots (normal) and is stuck after a few seconds; please see screenshot for details.
Happens with 4 different Sticks (from 2GB to 8GB, all I got).
The underscore ("command prompt" dont know the name, sry) keeps on blinking, I can attach a Keyboard to the Pi, it gets recognized and I am able to type but no command will be executed. Can remove and add Hardware, pi shows me the message but nothing happens :(
raspbian ua net installation to SD Card works fine, boots and I can work with the Pi.
(OpenELEC recognizes SD Card and Stick without problems, just wanted to mention it in case its a hardware issue)
Do you need more information? Be patient, I am new to this :D Couln't find a solution in the "solved" category, maybe I am blind...
The text was updated successfully, but these errors were encountered: