Live booting an SD card

The uncompressed image is under 8 GB. I vaguely recall it being 6.7 GB.

1 Like

How would find my uboot version?
Edit: Never mind. I found it.

1 Like

So I updated uboot but cat /proc/cmdline still shows the old uboot version

1 Like

Did you reboot the Librem 5?

1 Like

multiple times

1 Like

Okay, to confirm, this is the process to update uboot:

  1. Download the .deb
  2. Install it
  3. Then execute this command:
sudo u-boot-install-librem5 /dev/mmcblk0
  1. Reboot the Librem 5
1 Like

This comes up as un-supported file

1 Like

This is what I used

1 Like

How about this one?

1 Like

Yeah I used that

1 Like

Alright, what happens when you execute the code as root?

How would I do that?

1 Like

PureOS on the Librem 5 does not support the account by default, so use a root shell instead:

sudo -s

For every command that uses sudo, omit it:

u-boot-install-librem5 /dev/mmcblk0

When you want to exit the root shell:

exit
1 Like
sudo: account validation failure, is your account locked?
sudo: a password is required
root@pureos:/home/purism#
1 Like

The # means you are now using the root shell, so try using the command I provided in my earlier post:

u-boot-install-librem5 /dev/mmcblk0

If it works, remember to exit the root shell after:

exit
1 Like

This is incorrect.

I assume that you have done a Live Boot of Ubuntu on some computer that does not normally run Linux.

The correct value for of will be /dev/something where something has to be chosen very carefully - because you don’t want to overwrite the wrong disk! (and it is impossible to predict in advance, given the great diversity in people’s hardware configurations, what device name is the right disk).

Also, it is important that the empty or otherwise µSD card not be mounted when you do the dd - so usually you will want umount /media/ubuntu/something before doing the dd

If in doubt, do sudo fdisk -l /dev/something before doing the dd in order to confirm that the disk model and size are what you expect.

The disk image (uncompressed) is about 4.5 GB. So probably an 8 GB µSD card would be adequate for a Live Boot.

2 Likes

True (I got that part figured out.)

Also true.

Now I have the .img on my SD card (with following all your intructions) but my phone still will not boot from it. The green light merely turns on and does not turn off, and the phone just stays in a black phase.

1 Like

You have copied the IMG to the SD card or written with dd ?

2 Likes

dd I followed all the instructions on the second post.

1 Like

I figured it out. I wasn’t updating uboot right.

1 Like