Trying to install arch with jumpdrive, but jumpdrive isn't booting
#1
I'm getting pine64-pinephone.img.xz from Releases · dreemurrs-embedded/Jumpdrive · GitHub [/url] [url=https://github.com/dreemurrs-embedded/Jumpdrive/releases/download/0.8/pine64-pinephone.img.xz]
After I run "sudo dd if=pine64-pinephone.img of=/dev/sda2 status=progress", I have jumpdrive on my microSD card, but when I insert it into my turned off pinephone, the pinephone boots into Plasma Mobile, not jumpdrive.
What could mitigate this problem so that I can end with an arch linux installation on my pinephone?
  Reply
#2
Code:
of=/dev/sda2
should be
Code:
of=/dev/sda
  Reply
#3
(09-12-2021, 08:03 AM)8bit Wrote:
Code:
of=/dev/sda2
should be
Code:
of=/dev/sda

The correct information was written to the microSD card, that was simply sda # stacking up from previous usb mountings.

Jumpdrive is safely installed on the microSD card, the output(which could've prevented your misunderstanding) is the following:
39522816 bytes (40 MB, 38 MiB) copied, 4 s, 9.9 MB/s
83968+0 records in
83968+0 records out
42991616 bytes (43 MB, 41 MiB) copied, 5.0879 s, 8.4 MB/s

This indicates that it was written to a drive, while the only drive attached to any sda was the microSD card

tl:dr - still looking for suggestions on how to successfully install arch linux on my pinephone
  Reply
#4
(09-12-2021, 08:03 AM)8bit Wrote:
Code:
of=/dev/sda2
should be
Code:
of=/dev/sda

Please don't follow this advice, /dev/sda may well be your main hard drive, rendering your PC unbootable.

But: Depending on your experiences with dd and the terminal in general, it may be better to use GNOME Disks or Etcher to make this easier and make sure that you write to the correct device. Also: Did you put the SD card into the correct (upper) slot?
  Reply
#5
The point being that /dev/sda2 is most likely not your SD card. At best that device doesn't exist, at worst you will irreversebly overwrite an existing partition on your machine without a warning. Your SD card will probably show up as /dev/mmcblkX. Don't blindly copy and run commands and make sure that you are writing to the correct device (check with lsblk for example). You can find installation instructions here (there is also a link to more detailed instructions if needed).
  Reply
#6
(09-12-2021, 08:11 AM)pineuser0 Wrote:
(09-12-2021, 08:03 AM)8bit Wrote:
Code:
of=/dev/sda2
should be
Code:
of=/dev/sda

The correct information was written to the microSD card, that was simply sda # stacking up from previous usb mountings.

Jumpdrive is safely installed on the microSD card, the output(which could've prevented your misunderstanding) is the following:
39522816 bytes (40 MB, 38 MiB) copied, 4 s, 9.9 MB/s
83968+0 records in
83968+0 records out
42991616 bytes (43 MB, 41 MiB) copied, 5.0879 s, 8.4 MB/s

This indicates that it was written to a drive, while the only drive attached to any sda was the microSD card

tl:dr - still looking for suggestions on how to successfully install arch linux on my pinephone

I believe it's you that is misunderstanding. If you wrote to /dev/sda2 you wrote to the second partition on device /dev/sda, not to the raw device, so the data was written to the wrong place on the device and won't be bootable.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Updating Arch Linux _radv_ 8 771 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 2,219 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 755 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 1,905 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 2,833 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 895 07-29-2023, 08:27 AM
Last Post: alpineduck
  unable to install applications dln949 5 1,493 06-08-2023, 08:38 PM
Last Post: Conjada
  Latest update broke my install user641 8 3,648 02-22-2023, 05:54 AM
Last Post: gregb49
  new to pacman. Trying to install VIM, getting a 404 when it tries to download. willyray 1 1,135 12-24-2022, 11:00 PM
Last Post: shulamy
  No keyboard on Arch Plasma when entering password on document Chief 0 837 12-03-2022, 08:35 PM
Last Post: Chief

Forum Jump:


Users browsing this thread: 1 Guest(s)