(02-20-2020, 05:35 PM)Jeremiah Cornelius Wrote:(02-20-2020, 04:31 PM)FeMike Wrote: Thank you for sharing this @danielt . I'm new to this but would like to try this out. What would be the basic steps to get this working? Say I want to run this from sdcard, I download the script while booted from stock Debian and run it from terminal, just make sure I select the right device to install to? I saw a few pages back that the installer switches the naming of the devices where sdcard is normally mmcblk0 and pb64 is mmcblk1 it is opposite so I need to pick mmcblk1?
Edit: Disregard, I found the instructions on github. If I have issues I'll try to work it out then post here.
Don't just download the script. There are a number of files - firmware, bootloader, /etc/ configs - that need to be present, relative to your working directory.
Code:$ git clone https://github.com/daniel-thompson/pinebook-pro-debian-installer
This will pull everything you need, into a directory "pinebook-pro-debian-installer" and doesn't take but several seconds on a regular home connection.
cd into the directory and review the README.md for script variables, especially BLKDEV and CRYPT options. Execute as
Code:$ sudo ./install-debian BLKDEV=<var>
Then? Enjoy.
Thank you. So I got the folder and cd'd into it but when I run
sudo ./install-debian CYRPT=n
I get an error, not a git repo. When I downloaded folder I used the clone button on the github website. I'm sure I'm missing something basic, anything stand out? I didn't use the BLKDEV= because in the read me it says it defaults to SD card.
Edit: so I deleted the folder and re downloaded, this time using git clone through terminal and now it's working. Though after all was done, to test I powered down and powered up with sdcard still in place and it booted to the Emmc. I tried one more power cycle to be sure and no go. Though it did write to sdcard as there are multiple partitions that weren't there before. The card's previous state was a working stock Debian from mrfixit so I know it used to work. Should I have prepped the card in any way or does the script handle that?