Customised (encrypted) eMMC installation using Anarsoul's ArchLinux
#3
A couple of things:
  • When creating the second partition, you shouldn't accept the defaults as it tries to use the first unused sector which is the 2048 one. Instead, you should use the last used sector+1
Code:
Command (m for help): n
Partition type
  p   primary (1 primary, 0 extended, 3 free)
  e   extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2):
First sector (2048-30535679, default 2048):
  • There is a typo in 'pgcreate' (it should be 'pvcreate' instead)
  • genfstab instead gen-fstab
  • 'resume=/dev...' instead 'resume/dev'
  • It would be nice to have a full /boot/boot.txt example such as:
Code:
part uuid ${devtype} ${devnum}:${distro_bootpart} uuid
setenv bootargs console=${console} console=tty0 cryptdevice=851f5a25-a354-4f0d-bb9c-3556e083c1ab:archcrypt root=/dev/a
rchlvm/root resume=/dev/archlvm/swap rw rootwait quiet
setenv kernel_addr_z 0x44080000

if load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_z} /Image.gz; then
 unzip ${kernel_addr_z} ${kernel_addr_r}
 if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} /dtbs/${fdtfile}; then
   if load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} /initramfs-linux.img; then
     booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
   else
     booti ${kernel_addr_r} - ${fdt_addr_r};
   fi;
 fi;
fi
  • The /etc/X11/xorg.conf.d/modesetting.conf  and /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache cannot be copied as there is no x/gdk stuff installed
Thanks!
  Reply


Messages In This Thread
RE: Customised (encrypted) eMMC installation using Anarsoul's ArchLinux - by e-minguez - 02-22-2019, 11:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Write image to eMMC - Pinebook 11.6" irongarment 4 3,773 01-04-2022, 09:22 PM
Last Post: irongarment
  Kali on SD does not Detect EMMC marianobilli 1 3,268 01-07-2021, 06:56 PM
Last Post: evilbunny
  Archlinux (mainline) for Pinebook anarsoul 51 78,784 08-28-2019, 05:23 PM
Last Post: conlaoch
  Sd to eMMC badgeranduni 0 2,157 07-11-2019, 07:23 AM
Last Post: badgeranduni
  NIxOS installation guide for Pinebook Surehand53 0 2,639 06-23-2019, 03:46 AM
Last Post: Surehand53
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 13,545 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 3,114 03-14-2018, 08:43 AM
Last Post: xalius
  How to test the emmc(usdhc2) diver and pwm backlight driver? vinothkumar 0 1,957 12-29-2017, 11:40 PM
Last Post: vinothkumar
  New pinebook owner, media playback how? (was: larger eMMC, what and how to install?) dahni 14 20,928 09-14-2017, 12:04 AM
Last Post: dahni
  Booting from eMMC with SD inserted? falcon15500 6 8,326 07-11-2017, 05:51 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)