Giter Site home page Giter Site logo

joshua-riek / ubuntu-raspberry-pi Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 2.0 113 KB

Ubuntu 20.04 for Raspberry Pi

License: GNU General Public License v3.0

Shell 100.00%
aarch64 arm64 embedded-linux kernel linux qemu raspberry-pi raspberry-pi-3 raspberry-pi-4 rpi

ubuntu-raspberry-pi's Introduction

Overview

This is a collection of scripts that are used to build a Ubuntu 20.04 preinstalled desktop/server image for the Raspberry Pi Zero 2W, 3, 4, and 400.

Raspberry Pi 4

Recommended Hardware

To setup the build environment for the Ubuntu 20.04 image creation, a Linux host with the following configuration is recommended. A host machine with adequate processing power and disk space is ideal as the build process can be severial gigabytes in size and can take alot of time.

  • Intel Core i7 CPU (>= 8 cores)
  • Strong internet connection
  • 30 GB free disk space
  • 16 GB RAM

Requirements

Please install the below packages on your host machine:

sudo apt-get install -y build-essential gcc-aarch64-linux-gnu bison \
qemu-user-static qemu-system-arm qemu-efi u-boot-tools binfmt-support \
debootstrap flex libssl-dev bc rsync kmod cpio xz-utils fakeroot parted \
udev dosfstools uuid-runtime grub-pc

Building

To checkout the source and build:

git clone https://github.com/Joshua-Riek/ubuntu-raspberry-pi.git
cd ubuntu-raspberry-pi
sudo ./build.sh

Virtual Machine

To run the Ubuntu 20.04 preinstalled image in a virtual machine:

sudo ./qemu.sh images/ubuntu-20.04-preinstalled-server-arm64-rpi.img.xz

Login

There are two predefined users on the system: ubuntu and root. The password for each is root.

Ubuntu 20.04.5 TLS raspberry-pi tty1

raspberry-pi login: root
Password: root

Flash Removable Media

To flash the Ubuntu 20.04 preinstalled image to removable media:

xz -dc images/ubuntu-20.04-preinstalled-desktop-arm64-rpi.tar.xz | sudo dd of=/dev/sdX bs=4k

This assumes that the removable media is added as /dev/sdX and all it’s partitions are unmounted.

ubuntu-raspberry-pi's People

Contributors

joshua-riek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ubuntu-raspberry-pi's Issues

I cannot setup wifi.

I tried to setup wifi using different methods, but none seem to work.
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on

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.