All Projects → e-minguez → gpd-pocket-fedora

e-minguez / gpd-pocket-fedora

Licence: GPL-3.0 license
Scripts and instructions to run Fedora 27 in the GPD Pocket

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to gpd-pocket-fedora

Rpi Pxe Server
setup a Raspberry Pi as an PXE-Server
Stars: ✭ 197 (+1307.14%)
Mutual labels:  fedora
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+11592.86%)
Mutual labels:  fedora
fedora-prime
Simple program to switch between intel and nvidia gpu
Stars: ✭ 24 (+71.43%)
Mutual labels:  fedora
Howdy
🛡️ Windows Hello™ style facial authentication for Linux
Stars: ✭ 3,237 (+23021.43%)
Mutual labels:  fedora
valet-linux
A fork of Laravel Valet to work in Linux.
Stars: ✭ 1,227 (+8664.29%)
Mutual labels:  fedora
mbp-fedora-kernel
No description or website provided.
Stars: ✭ 57 (+307.14%)
Mutual labels:  fedora
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Stars: ✭ 14,199 (+101321.43%)
Mutual labels:  fedora
Grub-Nvidia-Entry
Enable Nvidia driver only with the last entry in grub.
Stars: ✭ 40 (+185.71%)
Mutual labels:  fedora
pbec
Polaris Bios Editor for the Console
Stars: ✭ 17 (+21.43%)
Mutual labels:  fedora
argo
The administrative discovery interface for Stanford's Digital Object Registry
Stars: ✭ 19 (+35.71%)
Mutual labels:  fedora
Kvm Install Vm
Bash script to build local virtual machines using KVM/libvirt and cloud-init.
Stars: ✭ 248 (+1671.43%)
Mutual labels:  fedora
FAQ
Unofficial Fedora FAQ in russian
Stars: ✭ 86 (+514.29%)
Mutual labels:  fedora
s2i-ruby-container
Ruby container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running Ruby applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 55 (+292.86%)
Mutual labels:  fedora
Nodejs Rpm
node.js rpm spec
Stars: ✭ 199 (+1321.43%)
Mutual labels:  fedora
copr-rpm-spec
My RPM specs on Copr
Stars: ✭ 17 (+21.43%)
Mutual labels:  fedora
Seamly2d
Open source patternmaking software.
Stars: ✭ 197 (+1307.14%)
Mutual labels:  fedora
nvidia-auto-installer-for-fedora-linux
A CLI tool which lets you install proprietary NVIDIA drivers and much more easily on Fedora Linux (32 or above and Rawhide)
Stars: ✭ 270 (+1828.57%)
Mutual labels:  fedora
ungoogled-chromium-fedora
RPM build for ungoogled-chromium
Stars: ✭ 24 (+71.43%)
Mutual labels:  fedora
Boostnote-packages
Repo containing .rpm, .deb and Boostnote app folder
Stars: ✭ 31 (+121.43%)
Mutual labels:  fedora
Invidious-Updater
Automatic install and update script for Invidious
Stars: ✭ 181 (+1192.86%)
Mutual labels:  fedora

gpd-pocket-fedora

Disclaimer: This repository is no longer updated as I don't have a GPD Pocket anymore.

Prerrequisites

Installation

  • Follow the official instructions to create a bootable Fedora 27 pendrive and plugin it into the GPD pocket.
  • Boot the GPD pocket while pressing "fn+f7" several times until a boot menu appears and select the pendrive you've just connected.
  • Select "Start Fedora-Workstation-Live 27" but don't press enter yet
  • Press "e" to edit the boot options
  • Scroll down to the kernel line
  • Add the following fbcon parameter after the "quiet" parameter to properly rotate the screen:
fbcon=rotate:1
  • Press "Ctrl+x" to boot the installation
  • Let Fedora 27 to start
  • Once in the desktop and in order to rotate the screen in the live system, press the Windows button, type "displays" and press enter. This will open the displays settings.
  • Modify the orientation to be "Portrait left" and apply the configuration NOTE: If the "apply" button doesn't appear, change the resolution as well and then it will appear. Then select the proper resolution again.
  • Install Fedora 27 as you wish

Post installation tasks

  • Clone this repo and copy it to an external pendrive. You can use the same pendrive than the Fedora installation to have all included.
git clone https://github.com/e-minguez/gpd-pocket-fedora.git /run/media/$USER/<pendrive>/
  • Connect the pendrive in the GPD pocket once Fedora 27 has been installed and booted
  • Run the fix_wifi.sh script to enable wifi connectivity.
/run/media/$USER/<pendrive>/fix_wifi.sh
  • Connect to your wifi network using the basic_network.sh script as:
/run/media/$USER/<pendrive>/basic_network.sh <my_ap> <my_password>
  • Then, run all the scripts in the following order and reboot.
cd /run/media/$USER/<pendrive>/
./alsa.sh
./chargerfix.sh
./dracut.sh
./firewalld.sh
./fix_kernel.sh
./grub.sh
./monitor.sh
./kernel.sh
sudo reboot

NOTE: The rescue kernel is removed in the fix_kernel script and prevent to be built again in the dracut script. Review it if you want to have a rescue kernel!!!

  • After the first reboot, ensure you are using your new kernel:
uname -a
  • Profit!!!

Compile the kernel manually

Compile the kernel in your F27 laptop using the following instructions:

sudo dnf groupinstall -y "C Development Tools and Libraries"
sudo dnf install -y zlib-devel libuuid-devel libattr-devel libblkid-devel libselinux-devel libudev-devel openssl-devel elfutils-libelf-devel

mkdir ~/git/
cd git
git clone https://github.com/jwrdegoede/linux-sunxi.git gpd-pocket-kernel
cd gpd-pocket-kernel
make clean
make -j $(getconf _NPROCESSORS_ONLN) binrpm-pkg LOCALVERSION=-gpd-custom

This will create two rpm packages that should be installed in the gpd pocket.

  • Copy the kernel packages from your laptop from ~/rpmbuild/RPMS/x86_64 to the pendrive.
  • Install the kernel using dnf:
sudo dnf install -y /run/media/$USER/<pendrive>/*.rpm

To automate this procedure and make them available here I use the gpd_kernel.sh script

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].