Rock64 stuck in boot, please help!
#1
Brick 
Hi.
Tonight my Rock64 was unexpectedly shut down (UPS ran out of battery) and after that it doesn't seem to boot and I don't know how to get in to it. It answers on SSH port, but when trying to log in I get:

Code:
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
Connection closed by 192.168.168.8

So it's obviously stuck somewhere in the boot process, but I don't know where and why. Anyone can think of any other way to access it? It's booted from eMMC and unfortunately I have got no other way to read eMMC.

It's running Debian Buster, if it's of any help.

edit: Ok, you might call me stupid, but I just realized that I've got a hdmi port that I've never used. Plugged in my tv and a keyboard and thought I'd find the solution. Still stuck though. I can see the kernel booting and the network getting up, but then nothing more happens. No errors, no nothing. I can switch TTY with the keyboard (ctrl+alt+F2 etc) but that's about it (the other tty's are black). Wtf?
  Reply
#2
Assuming you are booting from SD I'd try and burn a fresh image to a different SD card. Sounds like the power out may have corrupted the file system. I always keep a spare imaged SD card close to my Rock64 to cover disasters like that.
  Reply
#3
(10-29-2019, 11:31 AM)Rocklobster Wrote: Assuming you are booting from SD I'd try and burn a fresh image to a different SD card. Sounds like the power out may have corrupted the file system. I always keep a spare imaged SD card close to my Rock64 to cover disasters like that.

Nope. Booting from eMMC. I did however find an old USB-eMMC adapter in a box here, so I have now analyzed the contents of the eMMC. Didn't get me much though. Seems the root is never getting remounted rw so there's absolutely nothing written to any log files upon a try to boot. I don't really know where to continue digging?

One alternative right now would be to simply back up everything important using the USB-eMMC adapter and simply starting from scratch. Would be happy if I don't have to do that though...

Oh, also I did some fsck:ing on the eMMC. No errors there. However this MIGHT just be the first time I actually got to boot the Rock64 after upgrading from Stretch to Buster so maybe the power outage wasn't the problem at all but rather the reboot.
  Reply
#4
A reboot after a Distro upgrade might be the cause.

I never do a Distro upgrade. It never seems to end well. A fresh install might be the way forward to rule out any other underling cause. I use Armbian Linux booting from SD and have never experienced a problem like this. I recently installed Buster and all went well.
  Reply
#5
how about connecting it through UART?
  Reply
#6
Ok. A clean reinstall it is. Can anyone point me to instructions on how to put an image (from ayufans release) on the eMMC card using the USB-eMMC adapter? I have done it before but the documentation of this platform really is a mess, can't seem to find the correct instructions...

Sorry, found it now. https://www.balena.io/etcher/ it is. :-P
  Reply
#7
If you have the emmc usb adapter you can just use Etcher to write an image to it, like a normal sdcard.
Come have a chat in the Pine A64 IRC channel >>
  Reply
#8
(11-05-2019, 06:53 AM)xalius Wrote: If you have the emmc usb adapter you can just use Etcher to write an image to it, like a normal sdcard.

Yep, that's what I ended up doing. First rescuing all important stuff (using that same adapter) and then burning a new Buster image. So I'm now back on track Cool 

/Daniel
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question /dev/spidev0,0 on the Rock64 - Does anyone know how to enable it? Kappuchino 14 2,747 12-05-2019, 09:42 PM
Last Post: phuzy
  Remote desktop access Rock64 over Internet hg6806 1 41 12-05-2019, 08:01 AM
Last Post: martinayotte
  CentOS 7 for Rock64 pineadmin 1 491 11-25-2019, 05:11 AM
Last Post: bazooka07
  Did my Rock64 die? ab1jx 7 170 11-19-2019, 12:58 PM
Last Post: ab1jx
  Headless installation of Real VNC server on Rock64 possible? hg6806 3 60 11-18-2019, 04:32 AM
Last Post: evilbunny
  Rock64 lost connection after high I/O traffic Rock68 3 105 11-13-2019, 05:14 AM
Last Post: Rocklobster
  Help me understand the boot up process olivercfc 0 58 11-10-2019, 08:30 AM
Last Post: olivercfc
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 61 13,863 11-03-2019, 09:08 AM
Last Post: mara
Question [SOLVED] Alpine Linux won't boot rock7 1 180 10-22-2019, 04:30 PM
Last Post: rock7
  Help with OMV on Rock64 Lindzaur 1 127 10-21-2019, 02:55 AM
Last Post: gigagames

Forum Jump:


Users browsing this thread: 1 Guest(s)