Can't install arch-phosh with dd, only with etcher.
#1
When I run
Code:
dd if=archlinux-pinephone-phosh-20211022.img of=/dev/sda2 status=progress
the phone, when the uSD card containing jumpdrive is taken out, takes a forever loading screen with the arch penguin.

when I run ./balenaEtcher-1.5.115-x64.AppImage, I write archlinux-pinephone-phosh-20212022.img to /dev/sda2. Once I take jumpdrive out and restart the phone, the boot process begins with regular text moving through the screen. I now have the phone set up as I had before with everything being accessible and working after I go through the lock screen.

What could be the problem here? Could this be a sign of future problems with the phone's installation with balena etcher as well as other installation methods on my pinephone?
  Reply
#2
sda2 is a partition within your drive/sd card, you need to write it to the whole device (sda) instead.
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
#3
(11-20-2021, 02:42 AM)pineuser0 Wrote: ...
Code:
dd if=archlinux-pinephone-phosh-20211022.img of=/dev/sda2 status=progress
...

I'ld add a bs=4M to that command to speed it up a bit as well.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.19 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
  Reply
#4
As Danct12 points out, you need to use the base partition of your target drive, which according to you is /dev/sda.
As in:
dd if=archlinux-pinephone-phosh-20211022.img of=/dev/sda bs=1M status=progress conv=fsync

Then, before rebooting don't forget to resize the resulting 2nd partition:
(with jumpdrive still operating, and issuing command from host linux computer):
parted /dev/sda
(parted) resizepart 2 100%
(parted) quit
Otherwise you won't have access to the full available disk space on the emmc drive. Strange, the Mobian system takes care of this by automatically resizing on first boot, but Arch and Manjaro seem to leave it up to the user.
  Reply
#5
(11-23-2021, 01:36 AM)cabbie001 Wrote: the Mobian system takes care of this by automatically resizing on first boot, but Arch and Manjaro seem to leave it up to the user.

No? The file system gets resized automatically on boot.
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
#6
(11-23-2021, 04:28 AM)Danct12 Wrote:
(11-23-2021, 01:36 AM)cabbie001 Wrote: the Mobian system takes care of this by automatically resizing on first boot, but Arch and Manjaro seem to leave it up to the user.

No? The file system gets resized automatically on boot.

Well if that's true then I'm happy to learn it.
My comment was based on the experience that only Mobian seemed to send out a notification alert during first boot that the partition re-sizing was happening.
If Arch also does then then I stand corrected. Thank you.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  No keyboard on Arch Plasma when entering password on document Chief 0 38 12-03-2022, 08:35 PM
Last Post: Chief
  Latest update broke my install user641 5 342 11-17-2022, 05:44 AM
Last Post: cone99
  Curious About Arch Ferriah 2 682 11-07-2022, 04:38 PM
Last Post: Ferriah
  Latest version Arch Plasma looks good. Chief 5 381 10-23-2022, 01:53 PM
Last Post: Chief
  Evolution no longer runs on Arch Phosh. Chief 2 247 10-17-2022, 07:22 AM
Last Post: Chief
  Reticulum's Nomadnet (mesh net) on Arch ARM PineFone 0 172 10-16-2022, 08:28 AM
Last Post: PineFone
  Waydroid on Arch Linux ARM install guide? tk1107 3 2,807 10-08-2022, 07:46 AM
Last Post: PineFone
  Scaling problem Arch Linux Phosh Chief 7 664 09-27-2022, 12:31 PM
Last Post: Chief
  How to upgrade Phosh on Pinephone? ibid 1 445 08-18-2022, 09:02 PM
Last Post: mikehenson
  error updating arch pohosh shulamy 3 806 08-03-2022, 02:30 AM
Last Post: shulamy

Forum Jump:


Users browsing this thread: 1 Guest(s)