Installed Arch Phosh On Btrfs Root
#6
Well... I got stuck fairly hard after the last steps. I disabled the splash screen in boot.txt and was able to see the error message, "filesystem btrfs unknown". I had to chroot into the system by booting from an sdcard, mounting the btrfs filesystem
Code:
#!/bin/bash BOOTUUID=$(blkid -o value -s UUID /dev/mmcblk) # your boot partition ROOTUUID=$(blkid -o value -s UUID /dev/mmcblk) # your root partition mount UUID=${ROOTUUID} -o compress=zstd /mnt mkdir /mnt/.snapshots mkdir /mnt/opt mkdir /mnt/root mkdir /mnt/srv mkdir /mnt/tmp mkdir -p /mnt/usr/local mkdir -p /mnt/var/cache mkdir /mnt/var/log mkdir /mnt/var/spool mkdir /mnt/var/tmp mkdir /mnt/boot mkdir /mnt/home mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/.snapshots /mnt/.snapshots mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/opt /mnt/opt mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/root /mnt/root mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/srv /mnt/srv mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/tmp /mnt/tmp mount UUID=${ROOTUUID} -o noatime,compress=zstd,ssd,commit=120,subvol=@/usr/local /mnt/usr/local mount UUID=${ROOTUUID} -o noatime,ssd,commit=120,subvol=@/var/cache /mnt/var/cache mount UUID=${ROOTUUID} -o noatime,ssd,commit=120,subvol=@/var/log,nodatacow /mnt/var/log mount UUID=${ROOTUUID} -o noatime,ssd,commit=120,subvol=@/var/spool,nodatacow /mnt/var/spool mount UUID=${ROOTUUID} -o noatime,ssd,commit=120,subvol=@/var/tmp,nodatacow /mnt/var/tmp mount UUID=${BOOTUUID} /mnt/boot

and then a simple
Code:
mkinitcpio -p linux-megi
did the trick. You should really mention this in your guide though, people who are not familiar with arch might screw up their install and not know what to do.
  Reply


Messages In This Thread
Installed Arch Phosh On Btrfs Root - by kaida - 02-08-2022, 09:25 PM
RE: Installed Arch Phosh On Btrfs Root - by kaida - 02-12-2022, 05:53 PM
RE: Installed Arch Phosh On Btrfs Root - by kaida - 02-16-2022, 05:18 PM
RE: Installed Arch Phosh On Btrfs Root - by xnopasaranx - 02-22-2022, 07:38 PM
RE: Installed Arch Phosh On Btrfs Root - by kaida - 02-22-2022, 10:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  the camera apps does not work on arch linux sxmo moriartyo 0 2,472 04-21-2025, 03:08 AM
Last Post: moriartyo
  Arch Linux Arm DanctNIX complete setup mikehenson 3 10,970 08-06-2024, 07:45 PM
Last Post: kbm
  Command lines to remove the Phosh UI dorkydev 1 3,109 02-12-2024, 11:56 AM
Last Post: nekonosuke
  A Btrfs Image for Arch SXMO on the Pinephone Pro mburns 2 4,010 11-23-2023, 08:44 AM
Last Post: mburns
  The Mobian Phosh Experience mburns 1 3,978 11-18-2023, 08:21 AM
Last Post: crocspot
  Arch SXMO Stopped Booting After A Megi Linux Update. mburns 0 2,077 11-07-2023, 09:52 AM
Last Post: mburns
  Mobian Phosh Gnome Software Is Recommending A Broken Update. mburns 0 2,174 10-14-2023, 11:57 AM
Last Post: mburns
  The Phosh Web app vs Angelfish mburns 0 2,061 06-19-2023, 11:57 AM
Last Post: mburns
  Manjaro Phosh - Tiny Blue Indicator Light - Blinking ArchiMark 2 3,670 06-11-2023, 04:12 PM
Last Post: ArchiMark
  How do I tell Phosh that my app is mobile friendly? Barugon 5 7,247 06-05-2023, 09:24 PM
Last Post: Barugon

Forum Jump:


Users browsing this thread: 1 Guest(s)