Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't boot into Jumpdrive on PinePhone #56

Open
dave-kennedy opened this issue Aug 13, 2021 · 3 comments
Open

Can't boot into Jumpdrive on PinePhone #56

dave-kennedy opened this issue Aug 13, 2021 · 3 comments

Comments

@dave-kennedy
Copy link

I'm not sure what I'm doing wrong here:

$ lsblk
sda           8:0    0 223.6G  0 disk 
├─sda1        8:1    0    16M  0 part 
├─sda2        8:2    0   223G  0 part 
└─sda3        8:3    0   517M  0 part 
sdd           8:48   1   1.9G  0 disk 
nvme0n1     259:0    0 238.5G  0 disk 
├─nvme0n1p1 259:1    0   487M  0 part /boot/efi
└─nvme0n1p2 259:2    0   238G  0 part /

$ ls -l pine64-pinephone.img.xz 
-rw-rw-r-- 1 dave dave 5541868 Aug 12 18:10 pine64-pinephone.img.xz

$ sudo dd if=pine64-pinephone.img.xz of=/dev/sdd bs=1M status=progress conv=fsync
5+1 records in
5+1 records out
5541868 bytes (5.5 MB, 5.3 MiB) copied, 3.39768 s, 1.6 MB/s

When I put the card in the phone and turn it on, it boots to Plasma Mobile desktop. I've tried two different SD cards. Am I missing something?

@dave-kennedy
Copy link
Author

Okay, maybe it's obvious, but I didn't realize I needed to unxz the file:

$ unxz -c pine64-pinephone.img.xz > pine64-pinephone.img

$ ls -l pine64-pinephone.img
-rw-rw-r-- 1 dave dave 41M Aug 12 20:30 pine64-pinephone.img

$ sudo dd if=pine64-pinephone.img of=/dev/sdd bs=1M status=progress conv=fsync   
41+0 records in
41+0 records out
42991616 bytes (43 MB, 41 MiB) copied, 17.7171 s, 2.4 MB/s

Same result, unfortunately, when booting the phone.

@dave-kennedy
Copy link
Author

I got it to boot, finally. This time I made sure to eject /dev/sdd before removing the drive. It might help others if the readme mentioned any of this.

@warrenc5
Copy link

warrenc5 commented Sep 5, 2021

xzcat pine64-pinephone-charging.img.xz | dd of=/dev/sdf bs=1M status=progress conv=fsync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants