PINE64
Need to install 64-bit Ubuntu - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Need to install 64-bit Ubuntu (/showthread.php?tid=10325)



Need to install 64-bit Ubuntu - rhyde - 06-18-2020

Anyone successfully install a 64-bit Ubuntu distro on a Pinebook Pro?
I've got it running on my RockPro 64, but can't find any distribution that works on the PineBook Pro. Has to be 64-bit Ubuntu because I need to run the Swift 5.x development suite on it (which is working fine on my RockPro).


RE: Need to install 64-bit Ubuntu - Jeremiah Cornelius - 06-18-2020

(06-18-2020, 02:59 PM)rhyde Wrote: Anyone successfully install a 64-bit Ubuntu distro on a Pinebook Pro?
I've got it running on my RockPro 64, but can't find any distribution that works on the PineBook Pro. Has to be 64-bit Ubuntu because I need to run the Swift 5.x development suite on it (which is working fine on my RockPro).
Jump to danielt's unofficial Debian Installer thread with an installer for correctly debootstrap of 64-bit. His installer - on git - works for 64/32, Buster/Bullseye/Sid - depending on tweaks to the script files, and even allows for encrypted LUKS rootfs.
https://forum.pine64.org/showthread.php?tid=8487

Also, xmixahlx has a number of post-install enhancements/updates/etc for the danielT unofficial Debian Installer on his scripts page: pinebook pro tools. He's done work to make almost trivial, the compilation of latest kernels and MESA/GL updates, various HW acceleration, etc.
https://forum.pine64.org/showthread.php?tid=10190


RE: Need to install 64-bit Ubuntu - rhyde - 06-18-2020

(06-18-2020, 06:06 PM)Jeremiah Cornelius Wrote: Jump to danielt's unofficial Debian Installer thread with an installer for correctly debootstrap of 64-bit. His installer - on git - works for 64/32, Buster/Bullseye/Sid - depending on tweaks to the script files, and even allows for encrypted LUKS rootfs.
https://forum.pine64.org/showthread.php?tid=8487

Also, xmixahlx has a number of post-install enhancements/updates/etc for the danielT unofficial Debian Installer on his scripts page: pinebook pro tools. He's done work to make almost trivial, the compilation of latest kernels and MESA/GL updates, various HW acceleration, etc.
https://forum.pine64.org/showthread.php?tid=10190

Thanks, that helps.
Though, for what it's worth, I was able to install Swift 5 for AARCH under Manjaro (was designed for Ubuntu 18.xx). Had to locate some static libraries (copied them over from my RockPro64 machines), but Swift has managed to compile "Hello, World!" so I'm happy for the time being.
I'm working on a book ("An Introduction to Programming Using Swift") and I was making sure all the samples compiled on macOS, Windows, Linux (x86), Raspberry Pi, and RockPro64. Just wanted to add the PineBook Pro to the list (might actually go back and see if I can get Swift running on my old PineBook at this point--I'd given up on that a while back).
Cheers,
Randy Hyde


RE: Need to install 64-bit Ubuntu - Syonyk - 06-20-2020

I wrote up a mostly step by step tutorial for the Ubuntu Focal (20.04) install process with 5.7 kernel and such.

http://forum.pine64.org/showthread.php?tid=10279

It's a pure 64-bit install, but you can easily create a 32-bit chroot to test 32-bit software in there as well. I've got a 32-bit Ubuntu install for media browsers (Spotify and crew - the DRM modules for ARM are 32-bit only).

For testing, though, there's really no reason to put the install on the eMMC. Just use the install on the SD card - update the kernel if you want, but you should be ~fine once you boot from the SD card with the image on it (I think it's a 5.6 kernel without all the hardware acceleration, but that's fine for testing builds).


RE: Need to install 64-bit Ubuntu - rhyde - 06-20-2020

(06-20-2020, 05:05 PM)Syonyk Wrote: I wrote up a mostly step by step tutorial for the Ubuntu Focal (20.04) install process with 5.7 kernel and such.

http://forum.pine64.org/showthread.php?tid=10279

It's a pure 64-bit install, but you can easily create a 32-bit chroot to test 32-bit software in there as well.  I've got a 32-bit Ubuntu install for media browsers (Spotify and crew - the DRM modules for ARM are 32-bit only).

For testing, though, there's really no reason to put the install on the eMMC.  Just use the install on the SD card - update the kernel if you want, but you should be ~fine once you boot from the SD card with the image on it (I think it's a 5.6 kernel without all the hardware acceleration, but that's fine for testing builds).
Yeah, I tried installing that version already (on SD Card). I created the SD Card using Etcher on macOS. When I attempt to boot off the card the screen goes black and nothing ever happens (even after several minutes). Power LED switched from orange to green and the screen flashed for a brief moment. But that was it.

Oh well, as I said I got Swift working on Manjaro, which is what I needed Ubuntu for; so I'm good.
Perhaps at some point in the future I'll revisit this. I really prefer Ubuntu and Debian distributions (and the apt-style updates and package management).


RE: Need to install 64-bit Ubuntu - Syonyk - 06-20-2020

I've never been able to get Etcher to write out a PBP uSD image. I just dd to the proper rdisk device. You might try that and see if it makes a difference, though if you've got it working for what you need, no point in messing around.

I agree about Debian package styles, though.


RE: Need to install 64-bit Ubuntu - rhyde - 06-20-2020

(06-20-2020, 06:25 PM)Syonyk Wrote: I've never been able to get Etcher to write out a PBP uSD image.  I just dd to the proper rdisk device.  You might try that and see if it makes a difference, though if you've got it working for what you need, no point in messing around.

I agree about Debian package styles, though.
Good thing to know.
I dd'd the card and now I can boot.
Thanks for the info.

(06-20-2020, 07:44 PM)rhyde Wrote: I dd'd the card and now I can boot.
Thanks for the info.
Installed Swift5.
Wrote, compiled, and ran Hello World
Smile on my face.

Thanks for all the help, everyone.