unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Pinebook Pro boot from NVME
@ 2023-10-07  9:42 paul via
  2023-10-12  4:41 ` Vagrant Cascadian
  0 siblings, 1 reply; 9+ messages in thread
From: paul via @ 2023-10-07  9:42 UTC (permalink / raw)
  To: help-guix

Hello Guixers,

I'm interested in using the best distro in the world on my Pinebook Pro 
(currently the bootloader is broken on master, see [0], but guix 
time-machine allows me to still be able to proceed). I'm able to do so 
and Guix boots perfectly from choosing the SD card from the Tow Boot 
menu but I'm unable to make the default image boot from a NVME disk.

This is the workflow I'm using:

image=$(guix time-machine --commit=d6a53849935f8584e1df57faa79c18c23fbb2aa1 --system image -e '(@ (gnu system images pinebook-pro) pinebook-pro-barebones-raw-image)' --system=aarch64-linux)

and

sudo dd if=$image of=/dev/mmblk1 bs=4M status=progress oflag=sync

for flashing the sd card and

sudo dd if=$image of=/dev/nvme0n1 bs=4M status=progress oflag=sync

for flashing the nvme disk.


I'm using tow boot and i have armbian on emmc, guix system on sd card 
and guix system on nvme. One really strange behavior happens:

 1. I choose the nvme option in tow boot
 2. I'm instantaneously presented the U-Boot menu (as opposed to when I
    choose the sd card, where I'm also presented u-boot but quite a lot
    slower) so I'm pretty sure that the bootloader is correctly read
    from the disk
 3. a Guix System loads but when I log in as root and run mount the /
    filesystem is mounted on /dev/mmblk1


My understanding of this situation is that the u-boot Pinebook Pro 
package somewhere has the sd card device hardcoded. I'm not really sure 
where, and I'm doing my best by studying the Guix source code, but if 
anyone of you with more knowledge than me can help it would be a lot easier.


Thank you for your time,


giacomo


[0]: https://issues.guix.gnu.org/65982

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-28 21:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-07  9:42 Pinebook Pro boot from NVME paul via
2023-10-12  4:41 ` Vagrant Cascadian
2023-10-12 21:27   ` paul
2023-10-15  6:22     ` Efraim Flashner
2023-10-15 17:21       ` Vagrant Cascadian
2023-10-17 22:02       ` paul via
2023-10-18 10:22         ` Efraim Flashner
2023-10-19 12:30           ` paul via
2023-10-28 21:19     ` Vagrant Cascadian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).