Debian/unstable SD card rescue image
#1
As already mentioned elsewhere thanks to Daniel Thompson's excellent pinebook-pro-debian-installer as intermediate stepping stone i was able to get a full Debian/unstable running, including Debian kernels 5.10 and latest 5.14.0-2 (as of today). 

The system has been installed on a 512GB Sabrent Rock Nano NVME drive and in a second step also on the internal eMMC storage. The latter is mainly used to host the /boot partition components needed to start up the system on the NVME drive. With the exception of the /boot partition, both systems have the root partition, swap and everything else running on a LUKS encrypted LVM. This works well enough for me to use as a daily driver on the road.

In addtion to all the above described i also created a full minimal Debian/unstable system with almost the same features on an 8GB SD card. The installation is fairly basic but with lots of excellent CLI utilities that might be handy as a rescue system to fix broken installations. So if you are an experienced Linux user accustomed to mainly work on the command line, then this might be the right tool for you.

The folder /root/mrfixit_u-boot/ contains Mr.Fixit's u-boot update files which might be useful to restore a broken u-boot with sdcard boot capabilities on the eMMC. It has LVM and cryptsetup installed to be able to externally manage encrypted LVM volumes. The system is using 50% of the supplied RAM as zram based swap.

The default GUI is using Window Maker and is largely based on components formerly provided by the now dormant Window Maker Live project (by yours truly). Don't be surprised about the two terminal windows running a screen session when you login. Here is a first visual impression of what to expect: i.imgur.com/59s2a1e.png.

For people preferring a more traditional desktop there is the option to switch to XFCE4 instead, which provides it's components also in the Window Maker desktop.

The graphical login manager is wmlive-gdm, a fork of the old GTK2 based gdm version 2.20.11, which was the last release still providing usable XDMCP capabilities. The XDMCP capabilities are the main reason why i still favour it over lighdm. Since the gdm is probably subject to bitrot,  for security reasons it might not be advisable to use it outside of closed local networks. 

In case you'd like to switch login managers, lightdm is also installed on the system and can be activated instead of wmlive-gdm by using the following commands:

# dpkg-reconfigure lightdm
# systemctl enable lightm

As the very name of the xz compressed SD card image already suggests, the login can be done with user id 'rock' and password 'changeme'. You might want to change the password to something more to your liking. The root password is currently locked, so please use sudo to switch to root for any sysadmin related tasks.

You will require an SD card of at least 8GB capacity for this image. To put it on an SD card, first unpack it with unxz and then use dd to actually write it:

# dd if=pbp-debian-sid_arm64-sdcard_uid:rock_pw:changeme.img of=/dev/mmcblkx bs=1M status=progress

Or simply do a:

# xzcat pbp-debian-sid_arm64-sdcard_uid:rock_pw:changeme.img.xz > /dev/mmcblkx

Please replace the trailing 'x' of the device name with the proper digit representing the actual SD card device after verifying its name with lsblk.

It might be possible to write it the same way to the internal eMMC, but you'd surely need to restore u-boot afterwards.
I haven't tried this myself so please be aware that you are on your own should you try this.

And last no least, here is the download link: 1fichier.com/?spb5mf92cspc0clhdvlf
Here is the MD5 checksum of the image: affde27f458890bff1f258b531e5ea6b  pbp-debian-sid_arm64-sdcard_uid:rock_pw:changeme.img.xz

EDIT: As chance had it, i found a few glitches in the above linked download and thus produced a refreshed image with a few changes:

* The secondary 5.10 kernel has been removed, leaving only the 5.14 kernel.
* Added btrfs related packages and fixed some minor menu issues of the Window Maker desktop.
* On the plus side, this xz compressed SD card image is now 50MB smaller than the first one.

New download link: 1fichier.com/?1xbzqoe5h0f48ux0bgmp
MD5 checksum of the new image: d2a1e88a559ae156551b54b903ef9302 pbp-debian-sid_arm64-sdcard_uid_rock_pw_changeme.img.xz

If you already downloaded the first SD card image, don't waste your precious bandwith to replace it with the new one.

Please don't expect a perfect system and be prepared to deal with the unexpected.

This is free software, so you are entitled to use and reuse it as such.

Hope it helps!
Devices: Pinebook Pro & Pinephone (Braveheart)
  Reply


Messages In This Thread
Debian/unstable SD card rescue image - by vajak - 10-04-2021, 05:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Official Debian support moonwalkers 64 64,238 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 2,864 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,107 02-22-2024, 04:02 PM
Last Post: tllim
  install debian on pbp jsch 7 5,394 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,823 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,487 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 5,364 07-15-2023, 02:58 PM
Last Post: u974615
  2TB SD Card Write Errors jiacovelli 3 1,633 06-02-2023, 06:13 PM
Last Post: KC9UDX
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,649 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,935 12-09-2022, 05:04 AM
Last Post: ndp

Forum Jump:


Users browsing this thread: 1 Guest(s)