An unofficial Debian Installer for Pinebook Pro
(05-03-2020, 05:29 AM)nohandlebars Wrote: I am having some trouble cloning mrfixit's repository:


Code:
Cloning into '/home/user/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/user/pinebook-pro-debian-installer/bootloader' failed

I have tried various remedies online even going as far as recompiling git from source with OpenSSL support but all fail. I tried cloning his repository directly but this also fails at about 26%. Does anyone have any tips or is there a workaround?

Apologies if this is a silly question but can the official Debian packages be used in debootstrap scripts? If not what all is needed within the repos for this to be possible in the future? I much prefer automating and building my own installations to downloading precompiled images and I am trying to wrap my head around all the different pieces involved so any guidance is appreciated.

1. please show the exact git command line you tried

2. not sure what you mean, since debootstrap is a tool to build a Debian installation from packages, and you linked to pre-built Debian Installer images (that one uses to install Debian from scratch). The Debian Installer itself is using debootstrap internally.
(05-05-2020, 03:32 AM)amp Wrote:
(05-03-2020, 05:29 AM)nohandlebars Wrote: I am having some trouble cloning mrfixit's repository:


Code:
Cloning into '/home/user/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/user/pinebook-pro-debian-installer/bootloader' failed

I have tried various remedies online even going as far as recompiling git from source with OpenSSL support but all fail. I tried cloning his repository directly but this also fails at about 26%. Does anyone have any tips or is there a workaround?

Apologies if this is a silly question but can the official Debian packages be used in debootstrap scripts? If not what all is needed within the repos for this to be possible in the future? I much prefer automating and building my own installations to downloading precompiled images and I am trying to wrap my head around all the different pieces involved so any guidance is appreciated.

1. please show the exact git command line you tried

2. not sure what you mean, since debootstrap is a tool to build a Debian installation from packages, and you linked to pre-built Debian Installer images (that one uses to install Debian from scratch). The Debian Installer itself is using debootstrap internally.

Thank you for your reply. When running the the install-debian script after cloning Daniel's repository I get the following:

Code:
rock@Debian-Desktop:~/pinebook-pro-debian-installer$ ./install-debian BLKDEV=/dev/mmcblk0


>>>> Preparing to install

Submodule 'ap6256-firmware' (https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware) registered for path 'ap6256-firmware'
Submodule 'bootloader' (https://github.com/mrfixit2001/updates_repo) registered for path 'bootloader'
Submodule 'firmware' (https://gitlab.manjaro.org/tsys/pinebook-firmware.git) registered for path 'pinebook-firmware'
Cloning into '/home/rock/pinebook-pro-debian-installer/ap6256-firmware'...
Cloning into '/home/rock/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/rock/pinebook-pro-debian-installer/bootloader' failed
Failed to clone 'bootloader'. Retry scheduled
Cloning into '/home/rock/pinebook-pro-debian-installer/pinebook-firmware'...
Cloning into '/home/rock/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/rock/pinebook-pro-debian-installer/bootloader' failed
Failed to clone 'bootloader' a second time, aborting

And when trying to clone https://github.com/mrfixit2001/updates_repo.git directly I get the following:

Code:
rock@Debian-Desktop:~/pinebook-pro-debian-installer$ git clone https://github.com/mrfixit2001/updates_repo.git
Cloning into 'updates_repo'...
remote: Enumerating objects: 5554, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


I have tried this on both different versions of Manjaro and a fresh copy of the official Debian image both with a variety of different versions of git from the repos and self compiled, all fail in the same way.

With regards to my question about the official Debian packages, could you explain how these can be used in a debootstrap script? For example could these be incorporated into Daniel's script? Apologies if I am misunderstanding their purpose.
(05-06-2020, 01:52 PM)nohandlebars Wrote: And when trying to clone https://github.com/mrfixit2001/updates_repo.git directly I get the following:

Code:
rock@Debian-Desktop:~/pinebook-pro-debian-installer$ git clone https://github.com/mrfixit2001/updates_repo.git
Cloning into 'updates_repo'...
remote: Enumerating objects: 5554, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


I have tried this on both different versions of Manjaro and a fresh copy of the official Debian image both with a variety of different versions of git from the repos and self compiled, all fail in the same way.

With regards to my question about the official Debian packages, could you explain how these can be used in a debootstrap script? For example could these be incorporated into Daniel's script? Apologies if I am misunderstanding their purpose.

The same git clone works fine here (Debian Buster on PINE A64+). Is the Debian image fully up to date? (apt update && apt upgrade)

From your previous post it seemed like you were confusing packages and images (though I might be wrong). Just to make sure we are talking about the same thing:

package: a piece of software (Firefox, Kodi, etc.)

image: something that you can write directly to a storage device (SD card, USB stick, HDD, etc.). Can contain just about everything, though in this context it's typically a pre-installed OS.
The Debian images you linked above are for the official Debian Installer, which can be used to install Debian from scratch. Depending on the image it may or may not contain some software packages, e.g. to be able install the system without a network connection.

debootstrap: a tool (and itself a package) that can be used to install Debian on some local storage, by downloading packages and installing them. This is the low-level tool used by the official Debian Installer, but it can be used to install Debian directly. (a similar tool is mmdebstrap)

For automating installs you can use either the official Debian Installer (preseeding), FAI, or some script based on debootstrap. Do note that after using debootstrap there is still much work to do, which the Debian Installer will do for you instead.

As far as I understand danielt's unofficial installer is "just" a script using debootstrap that is optimized for the PinebookPro (it installs some additional firmware, custom kernel, etc.). It can probably be adapted to your needs.

Have fun  Wink
you dont even need the whole repo. just grab the image files directly via git https.
I've been on Debian sid for a while now with this. Has anyone else experienced the sound going through both the headphone jack (to headphones or speakers or whatever) and also going through the built in speakers at the same time?

I did the usual check for separate devices in alsamixer, but there's literally only the one device which outputs to both.

I am sure I had this working at some point, so I don't know what would have changed, any thoughts?

*EDIT* If you haven't seen this, mind posting your /var/lib/alsa/asound.state ?
(05-15-2020, 05:56 PM)ThatGeoGuy Wrote: I've been on Debian sid for a while now with this. Has anyone else experienced the sound going through both the headphone jack (to headphones or speakers or whatever) and also going through the built in speakers at the same time?

Yup, switching back and forth between headphones and speakers has been a bit of a hassle here.
This message was created with 100% recycled electrons
Has anyone else tried running 5.6.0 kernel from main Debian repos? I was under impression that 5.6 should already have at least the minimum set of patches for the machine to boot and show the image on the screen, but that doesn't appear to be the case, unless I'm doing something wrong...
This message was created with 100% recycled electrons
Hello everyone, I'm trying to use the script to install debian on a SD card but I'm getting this error:

W: Failure trying to run: chroot "/home/rick/repos/pinebook-pro-debian-installer/sysimage" /bin/true
W: See /home/rick/repos/pinebook-pro-debian-installer/sysimage/debootstrap/debootstrap.log for details (this log gets deleted so im not able to see it)

Is this because I'm using a x86 thinkpad to run it? 20.04 Pop OS. Should I run this script from a arm debian image?

Thanks!
(05-16-2020, 09:51 AM)ric Wrote: Hello everyone, I'm trying to use the script to install debian on a SD card but I'm getting this error:

W: Failure trying to run: chroot "/home/rick/repos/pinebook-pro-debian-installer/sysimage" /bin/true
W: See /home/rick/repos/pinebook-pro-debian-installer/sysimage/debootstrap/debootstrap.log for details (this log gets deleted so im not able to see it)

Is this because I'm using a x86 thinkpad to run it? 20.04 Pop OS. Should I run this script from a arm debian image?

Thanks!

The readme says:

The installer runs on the Pinebook Pro itself using an already installed operating system. It should work from most Debian or Ubuntu images (including the default vendor image).

So, yes, you should run it directly on your pinebook pro Smile
I'm having an issue getting the graphical boot to start.  I can log into the console (ALT-F1) just fine, but the graphical boot just cycles over and over.  Anyone else run into this?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 172 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 1,062 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 65,603 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 432 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 3,023 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,457 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,339 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,620 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 104,956 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,862 11-23-2023, 07:37 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 24 Guest(s)