PINE64
How to install Ubuntu to eMMC and to install KDE (Neon) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117)
+--- Thread: How to install Ubuntu to eMMC and to install KDE (Neon) (/showthread.php?tid=8119)

Pages: 1 2 3 4 5 6 7


RE: How to install Ubuntu to eMMC and to install KDE - Wizzard - 10-31-2019

(10-31-2019, 10:11 AM)Meatbal Wrote: I just downloaded and installed the version i wanted from ayufans git (https://github.com/ayufan-rock64/linux-mainline-kernel/releases)!
In my case i went with 5.3.0-1119 and it installed without a hitch and runs smoothly so far!
Did you just install the linux-image and linux-headers package? I installed that and after reboot I just see a blank screen Dodgy


RE: How to install Ubuntu to eMMC and to install KDE - Meatball - 10-31-2019

(10-31-2019, 11:15 AM)Wizzard Wrote:
(10-31-2019, 10:11 AM)Meatbal Wrote: I just downloaded and installed the version i wanted from ayufans git (https://github.com/ayufan-rock64/linux-mainline-kernel/releases)!
In my case i went with 5.3.0-1119 and it installed without a hitch and runs smoothly so far!
Did you just install the linux-image and linux-headers package? I installed that and after reboot I just see a blank screen Dodgy

Uh, was pretty sure I had rebooted but apparently I hadn't... Sorry about the trouble, now facing the same problem myself ?


RE: How to install Ubuntu to eMMC and to install KDE - Wizzard - 10-31-2019

(10-31-2019, 01:35 PM)Meatball Wrote: Uh, was pretty sure I had rebooted but apparently I hadn't... Sorry about the trouble, now facing the same problem myself ?

Well, no problem, I just booted Ubuntu from SD card and edited /boot/extlinux/extlinux.conf and removed the first 2 entries. After boot just uninstalled those kernel packages.


RE: How to install Ubuntu to eMMC and to install KDE - Meatball - 10-31-2019

(10-31-2019, 01:59 PM)Wizzard Wrote:
(10-31-2019, 01:35 PM)Meatball Wrote: Uh, was pretty sure I had rebooted but apparently I hadn't... Sorry about the trouble, now facing the same problem myself ?

Well, no problem, I just booted Ubuntu from SD card and edited /boot/extlinux/extlinux.conf and removed the first 2 entries. After boot just uninstalled those kernel packages.

I have this same kernel installed on my rockpro64 NAS without any trouble but that is a 64bit systern! Could the problem be solved by compiling the kernel myself?


RE: How to install Ubuntu to eMMC and to install KDE - Wizzard - 10-31-2019

(10-31-2019, 02:13 PM)Meatball Wrote: I have this same kernel installed on my rockpro64 NAS without any trouble but that is a 64bit systern! Could the problem be solved by compiling the kernel myself?

It should work on original rockpro, but seems that Pinebook Pro is a little different. Dont know, I try to avoid compilling, it always caused me just the problems Smile


RE: How to install Ubuntu to eMMC and to install KDE - cristobalhdez - 11-01-2019

I'm getting the next messages every time that I want to update

W: http://ppa.launchpad.net/ayufan/rock64-0.8-ppa/ubuntu/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ppa.launchpad.net/ayufan/rock64-0.9-ppa/ubuntu/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://deb.ayufan.eu/orgs/ayufan-rock64/releases/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports/dists/bionic-proposed/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.


RE: How to install Ubuntu to eMMC and to install KDE - CampGareth - 11-02-2019

(11-01-2019, 09:44 AM)cristobalhdez Wrote: I'm getting the next messages every time that I want to update

W: http://ppa.launchpad.net/ayufan/rock64-0.8-ppa/ubuntu/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ayufan.key.chroot.gpg are ignored as the file has an unsupported filetype.                                                                   

Same story here. Looking at that key file it appears to be a plain text PGP public key whereas ayufan-ppa.gpg is... something else, less says it's a binary file but it has some strings in it. Googling further PGP and GPG are different things and we've been supplied a PGP key when it should be a GPG key.


RE: How to install Ubuntu to eMMC and to install KDE - richfm - 11-04-2019

(10-24-2019, 03:08 AM)Wizzard Wrote: Hi, I will share my experiences with installing Ubuntu to eMMC, cause I want a fast and up to date system Smile

1. Write Ubuntu image to SD card. I used Mate build: https://github.com/ayufan-rock64/linux-build/releases/download/0.9.14/bionic-mate-pinebookpro-0.9.14-1159-armhf.img.xz and decompress it using unxz and write to SD.

I RECOMMEND TO CHECK LSBLK OR GPARTED WHICH DEVICE IS YOUR SDCARD BEFORE RUNNING "DD" COMMAND!

Code:
sudo apt install gparted

Code:
unxz bionic-mate-pinebookpro-0.9.14-1159-armhf.img.xz
sudo dd if=bionic-mate-pinebookpro-0.9.14-1159-armhf.img of=/dev/mmcblk0 bs=4M status=progress

2. Boot Ubuntu from SD card.
3. Download Ubuntu image again when booted from SD or copy the downloaded file from eMMC.
4. Write Ubuntu image to emmc.

I RECOMMEND TO CHECK LSBLK OR GPARTED WHICH DEVICE IS YOUR EMMC BEFORE RUNNING "DD" COMMAND!

Code:
unxz bionic-mate-pinebookpro-0.9.14-1159-armhf.img.xz
sudo dd if=bionic-mate-pinebookpro-0.9.14-1159-armhf.img of=/dev/mmcblk1 bs=4M status=progress

5. Turn off PBP, remove SD card and turn PBP on. It should boot with Ubuntu installed.

When it does not boot, boot from SD card again and check the partitions on the eMMC in Gparted. I had the problem that boot partition was written in different fs (fat32 instead of fat16) so I needed to delete that boot partition from eMMC and to copy the boot partition from SD to eMMC in Gparted. Then it worked. I also resized the rootfs on eMMC to fill whole available space.

6. Now you have Ubuntu installed on eMMC and you can also boot from SD card, but only the same operating system. If we need also to boot other operating systems, we need to apply uboot fix. So download all the files from here https://github.com/mrfixit2001/updates_repo/tree/v1.1/pinebook/filesystem and run the mrfixit_update.sh script while running from eMMC. From now on you should be able to boot also other OS from SD like before.

7. For installing KDE I suggest to install the following packages. I also suggest to enable ubuntu-backports and ubuntu-proposed repos in sources.list to get more recent packages.

My sources.list:
Code:
deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

Installing KDE:
Code:
sudo apt install plasma-desktop kde-full kubuntu-full kubuntu-desktop krusader konsole plasma-nm muon kwin sddm kinfocenter systemsettings powerdevil kde-config-sddm kde-config-screenlocker kde-config-gtk-style partitionmanager libkdesu5 kubuntu-notification-helper libkf5su-bin

Optionally install Calligra Office Suite, what is KDE alternative for LibreOffice.

Code:
sudo apt install calligra

After installing you may just restart the computer and select Plasma in SDDM login screen.

I also recommend to enable Kubuntu PPA Backports to get a little newer packages:

Code:
sudo add-apt-repository ppa:kubuntu-ppa/backports

To enable Netflix and Spotify in Chromium, run:

Code:
sudo install_widevine_drm.shremely helpl o me.

Credits: @ayufan for Ubuntu builds and @Mrfixit2001 for uboot fix.
Thank you, Wizzard. Your tutorial on flashing bionic-mate-pinebookpro-0.9.14-1159-armhf.img to MMC was extremely helpful to me. I had to flash Ubuntu+Mate becuause the default OS wouldn't load firefox and Chrome was very slow. After I flashed the img file, it wouldn't boot so I followed your directions to expand user space with gparted and then it booted. I suggest that your instructions be included in the wiki.


RE: How to install Ubuntu to eMMC and to install KDE - i4g0 - 11-04-2019

Hello! I tried to follow this tutorial, but after step 4, I rebooted and now the PBP is stuck in a reboot loop, and never boots. This applied for with and without the microSD card in the PBP. I ran pretty much the exact dd command, with the img from MrFixit2001's github (Debian Desktop Community Build Image [microSD to eMMC] by mrfixit2001 from https://wiki.pine64.org/index.php/Pinebook_Pro_Software_Release#Debian_Desktop)

Has anyone else experienced this? Note: The OpenSesame screen never shows, just power on -> green light -> no green light -> power off, then repeats until I turn off the power. From my few hours experiencing the PBP I love it, and I'd like it back Smile


RE: How to install Ubuntu to eMMC and to install KDE - cristobalhdez - 11-04-2019

(11-04-2019, 05:06 PM)i4g0 Wrote: Hello! I tried to follow this tutorial, but after step 4, I rebooted and now the PBP is stuck in a reboot loop, and never boots. This applied for with and without the microSD card in the PBP. I ran pretty much the exact dd command, with the img from MrFixit2001's github (Debian Desktop Community Build Image [microSD to eMMC] by mrfixit2001 from https://wiki.pine64.org/index.php/Pinebook_Pro_Software_Release#Debian_Desktop)

Has anyone else experienced this? Note: The OpenSesame screen never shows, just power on -> green light -> no green light -> power off, then repeats until I turn off the power. From my few hours experiencing the PBP I love it, and I'd like it back Smile

Can you try to write the image again with the next command?
sudo dd if=nameOfTheImageFile.img of=/dev/mmcblk1 status=progress