GithubHelp home page GithubHelp logo

lukehaas / ansible-gpdpocket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cawilliamson/ansible-gpdpocket

0.0 2.0 0.0 99.56 MB

Linux Installer for GPD Pocket

Home Page: https://www.reddit.com/r/GPDPocket/comments/6rszbo/project_linux_installer_for_gpd_pocket/

License: GNU General Public License v3.0

Shell 27.34% Python 72.66%

ansible-gpdpocket's Introduction

Goal

The goal of this project is to automatically apply and update all of the various changes needed to make Linux work properly on the GPD Pocket.

Install / Update

Supported Linux Distributions
  • Arch-based distributions (ArchLinux, Manjaro, etc.)
  • Debian-based distributions (Debian, Kali, Mint, Ubuntu, etc.)
  • Fedora-based distributions (broken at this time - working to resolve this)
  • Gentoo-based distributions (Funtoo, Gentoo, etc.)
Bootstrap ISO
  1. Setup a Linux environment (Virtualbox + Ubuntu LiveCD is a quick option.) An existing Linux install using any of the above listed distros will work also. Please make sure /var has at least 20GB available and /root has at least 10GB available.

  2. Download your ISO to this Linux machine – you can do this using: wget http://url.here/file.iso. Please be aware that the ansible script determines the distro by using the filename - this means that if you are using, for example, Ubuntu - your filename should contain this string.

  3. Run the following to build the ISO (replacing ISO_FILENAME with the actual name of the file.)

    git clone https://github.com/lukehaas/ansible-gpdpocket.git
    cd ansible-gpdpocket
    sudo bash bootstrap-iso.sh ISO_FILENAME
    
  4. Write the file to USB by running the following (replacing USB_DEVICE with the actual device path for your USB drive):

    fdisk -l /dev/sd* # find the disk ID of your USB drive and use in command below.
    dd bs=1M if=~/bootstrap.iso of=USB_DEVICE
    
  5. Boot your GPD Pocket using the USB drive and you should have a completely working installer for your distribution of choice.

Bootstrap system

In order to install my Ansible playbooks on an existing install (e.g. one which you've set up with the nomodeset fbcon=rotate:1 kernel parameters) please complete the following steps:

  1. Start by downloading the latest ZIP of my ansible playbooks from:
    https://github.com/lukehaas/ansible-gpdpocket/archive/master.zip

  2. Copy this file to a USB drive and insert that drive in to the GPD Pocket

  3. Mount the USB drive somewhere (mount /dev/sda1 /mnt for example)

  4. Using cd navigate to that new directory (for example: cd /mnt)

  5. Run the following command:

    sudo bash bootstrap-system.sh
    
Update system
  1. Run sudo gpd-update – be aware that this process can take multiple hours if there is a kernel update available since it will be compiled on the GPD Pocket.

  2. Reboot if any changes were made to ensure they get applied properly.

Known Issues

All
Debian
  • Neither netimage nor LiveDVD images can be used to run bootstrap-iso against due to differences in the on-disk file structure (and the fact that netimage installers have no files to patch!)
  • When installing you will be informed modules cannot be loaded. If you select "Yes" to continue anyway this will allow you to continue. (Enhancement: #22)
Fedora
  • Currently the Fedora installer is broken - please do not attempt to use this until I have removed this note. (Bug: #66)
  • When installing Fedora you will need to select the option without the media checking functionality. Performing a media check will result in a checksum failure. (Enhancement: #21)
Solus
  • i2c-tools is not presently on Solus, so the power task can't presently be run.

Contributors

Donate

If this project helped you – feel free to buy me a beer (I could sure use a few!)

paypal

ansible-gpdpocket's People

Contributors

cawilliamson avatar herst avatar icebal avatar kakky0312 avatar kgbvax avatar lukehaas avatar neutralinsomniac avatar nexus511 avatar omgmog avatar rankokohime avatar redsandro avatar stockmind avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.