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 (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO 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
  LibreOffice usable with Arch Linux on the Pinephone? Peter Gamma 2 591 07-28-2024, 05:12 AM
Last Post: Peter Gamma
  stuck between phosh and plasma aular 0 597 02-27-2024, 05:55 PM
Last Post: aular
  Updating Arch Linux _radv_ 8 2,293 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 3,601 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 1,526 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 2,956 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 3,487 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 1,330 07-29-2023, 08:27 AM
Last Post: alpineduck
  unable to install applications dln949 5 2,425 06-08-2023, 08:38 PM
Last Post: Conjada
  Latest update broke my install user641 8 4,993 02-22-2023, 05:54 AM
Last Post: gregb49

Forum Jump:


Users browsing this thread: 1 Guest(s)