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
  Command lines to remove the Phosh UI dorkydev 1 362 02-12-2024, 11:56 AM
Last Post: nekonosuke
  A Btrfs Image for Arch SXMO on the Pinephone Pro mburns 2 910 11-23-2023, 08:44 AM
Last Post: mburns
  The Mobian Phosh Experience mburns 1 946 11-18-2023, 08:21 AM
Last Post: crocspot
  Arch SXMO Stopped Booting After A Megi Linux Update. mburns 0 494 11-07-2023, 09:52 AM
Last Post: mburns
  Mobian Phosh Gnome Software Is Recommending A Broken Update. mburns 0 634 10-14-2023, 11:57 AM
Last Post: mburns
  The Phosh Web app vs Angelfish mburns 0 676 06-19-2023, 11:57 AM
Last Post: mburns
  Manjaro Phosh - Tiny Blue Indicator Light - Blinking ArchiMark 2 984 06-11-2023, 04:12 PM
Last Post: ArchiMark
  How do I tell Phosh that my app is mobile friendly? Barugon 5 1,743 06-05-2023, 09:24 PM
Last Post: Barugon
  Phosh Updating - Battery Charge Indicator - Jittery Settings - Display Usability ArchiMark 4 1,481 05-28-2023, 07:00 AM
Last Post: ArchiMark
  Arch Linux Arm DanctNIX complete setup mikehenson 2 2,537 05-07-2023, 10:00 PM
Last Post: mikehenson

Forum Jump:


Users browsing this thread: 1 Guest(s)