PINE64
Being on Mrfixit2001 V1.4: Unable to boot from SD card - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Being on Mrfixit2001 V1.4: Unable to boot from SD card (/showthread.php?tid=8356)



Being on Mrfixit2001 V1.4: Unable to boot from SD card - vfr400racer - 11-17-2019

This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - Der Geist der Maschine - 11-17-2019

(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.

(11-17-2019, 11:25 AM)Der Geist der Maschine Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.


I think, Mrfixit's OS has sshd enabled and a default password. Can you ssh into the failed boot and look around?


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - vfr400racer - 11-17-2019

(11-17-2019, 11:25 AM)Der Geist der Maschine Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.

(11-17-2019, 11:25 AM)Der Geist der Maschine Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.


I think, Mrfixit's OS has sshd enabled and a default password. Can you ssh into the failed boot and look around?



I set "Storage=persistent" on the sd cards's journald.conf. After booting /var/log/messages ends with

Nov 17 15:01:48 Debian-Desktop kernel: [    6.072196] wl_run_escan: LEGACY_SCAN sync ID: 0, bssidx: 0
Nov 17 15:01:49 Debian-Desktop kernel: [    6.820847] EXT4-fs (mmcblk0p2): resizing filesystem from 1280000 to 15559168 blocks
Nov 17 15:01:49 Debian-Desktop kernel: [    7.025774] EXT4-fs (mmcblk0p2): resized filesystem to 15559168

Assuming system time is somehow ok, this entry is from my first boot from the sd card. boot process never started kernel afterwards (that is my interpretation).
When mounting the sd card, I get this in my /var/log/messages:

FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Maybe this is the problem during boot?

ad ssh-ing the pinebook: It can't be pinged while 'booting'. So I think the problem occurs very early in the boot process.


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - Der Geist der Maschine - 11-17-2019

(11-17-2019, 12:45 PM)vfr400racer Wrote:
(11-17-2019, 11:25 AM)Der Geist der Maschine Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.

(11-17-2019, 11:25 AM)Der Geist der Maschine Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?


"I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card". Very good observation!

The journal is unfortunately not persistent. Make it persistent in /etc/systemd/journald.conf of the SD card and boot one more time.


I think, Mrfixit's OS has sshd enabled and a default password. Can you ssh into the failed boot and look around?



I set "Storage=persistent" on the sd cards's journald.conf. After booting /var/log/messages ends with

Nov 17 15:01:48 Debian-Desktop kernel: [    6.072196] wl_run_escan: LEGACY_SCAN sync ID: 0, bssidx: 0
Nov 17 15:01:49 Debian-Desktop kernel: [    6.820847] EXT4-fs (mmcblk0p2): resizing filesystem from 1280000 to 15559168 blocks
Nov 17 15:01:49 Debian-Desktop kernel: [    7.025774] EXT4-fs (mmcblk0p2): resized filesystem to 15559168

Assuming system time is somehow ok, this entry is from my first boot from the sd card. boot process never started kernel afterwards (that is my interpretation).
When mounting the sd card, I get this in my /var/log/messages:

FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Maybe this is the problem during boot?

ad ssh-ing the pinebook: It can't be pinged while 'booting'. So I think the problem occurs very early in the boot process.

I looked at my very first boot messages. I got the same Fat-fs non-recommendation as well as the filesystem resize messages. After that, /var/log/messages continues with the next boot. I assume your problem is in the followup boot.

To see, the boot messages, remove from /boot/extlinux/extlinux.conf the tokens "quiet" and "console=ttyS2,1500000n8" and then disable the systemd service _splash via

# ln -s /dev/null  /etc/systemd/system/_splash.service

I think the earliest boot logs are printed to the serial console only. Big mistake if you don't have one Undecided


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - vfr400racer - 11-17-2019

Thanks for your suggestions, but no luck yet. There is no output on the screen. I guess, I'll have to prepare a serial cable. I'll report back, if I can get some output
from the boot process..


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - kexkey - 11-17-2019

(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?

Hi!  Got the same problem.  Here's what you have to do to make it work:

In the file extlinux/extlinux.conf (in the boot partition of the SD card), for PINEBOOKPRO, change this:


Code:
root=PARTUUID=deedbeef-02

...to the real PARTUUID of the root on the SD card.  If you want to know what the PARTUUID is, just use:


Code:
sudo blkid

...and look for /dev/mmcblk0p2

Let me know if that worked for you like it did for me!

Cheers!


RE: Being on Mrfixit2001 V1.4: Unable to boot from SD card - vfr400racer - 11-18-2019

(11-17-2019, 05:44 PM)kexkey Wrote:
(11-17-2019, 11:10 AM)vfr400racer Wrote: This is a bit different from the other 'cant boot from sd' threads, I think. It seems other people's boot problems have been solved by updating to mrfixit's os version V1.4. But I am on this version. 
So this is what happened:
I dd'd mrfixit's debian image to the SD card. Synced multiple times. When shutting down and trying to boot from SD card, it didn't came up. I waited about 10 minutes, but nothing happened. After booting from eMMC and inserting the SD card, I could see that the root file system has been expanded to 64G. So I guess it started booting from SD card , but got stuck at some point. Any ideas what might be the problem here?

Hi!  Got the same problem.  Here's what you have to do to make it work:

In the file extlinux/extlinux.conf (in the boot partition of the SD card), for PINEBOOKPRO, change this:


Code:
root=PARTUUID=deedbeef-02

...to the real PARTUUID of the root on the SD card.  If you want to know what the PARTUUID is, just use:


Code:
sudo blkid

...and look for /dev/mmcblk0p2

Let me know if that worked for you like it did for me!

Cheers!

That's it!

But it was not straight forward. I started with a fresh image on the sd card. blkid shows a PARTUUID of "deedbeef-02"
When booting the image, the activity led started blinking for some time. Then the splash came on and then the system hang.
After booting from eMMC and doing a blkid, I could see, that the PARTUUID of the root partition has changed to a random string!
After putting this string into the extlinux.conf file, the pinebookpro booted from sd card.

Many thanks for your help!


PS: I tried the Bionic LXD image in the meantime. This one worked out of the box.