Giter VIP home page Giter VIP logo

ubuntu-asahi's Introduction

Ubuntu Apple Silicon Image

This is repository contains scripts for compiling native Ubuntu images for Apple silicon hardware such as the Apple M1 and M2.

Hosted Installer

To install a prebuilt image run:

curl -sL https://tobhe.de/ubuntu/install > install.sh	# Download
less install.sh						# Review
sh install.sh						# Run

or if you like to live dangerously:

curl -sL https://tobhe.de/ubuntu/install | bash

The installer offers a choice of different Ubuntu releases and build configurations.

Currently supported are:

  • Ubuntu Desktop 23.04
  • Ubuntu Desktop 22.04 LTS
  • Ubuntu Server 22.04 LTS

The default username and password are both ubuntu. Root access can be achieved via sudo.

Can I dual-boot macOS and Linux?

Yes! The installer can automatically resize your macos partition according to your liking and install Ubuntu in the freed up space. Removing macos is not even supported at the moment since it is required to update the system firmware.

Building

If you do not want to use the prebuilt disk image, you can build one yourself with the instructions below.

Install dependencies

# Install dependencies
sudo apt-get install arch-install-scripts debootstrap mtools parted gnupg eatmydata rsync git squashfs-tools zip
# Install dependencies, if your builder system is NOT arm64
sudo apt-get install binfmt-support qemu qemu-user-static

Build everything

cd ubuntu-asahi
# Build the entire live image
sudo ./build-generic.sh

The live GPT image file will be output to build/ubuntu.live.img, the zip archive for the Asahi Linux installer will be output to build/ubuntu.live.img.zip.

Clean

The clean.sh script will do exactly what it says - it will clean up the build folder, except for the cache folder, which is used by debootstrap to cache debs.

cd ubuntu-asahi
# Clean the build folder
./clean.sh

Related Projects

ubuntu-asahi's People

Contributors

tobhe avatar absolucy avatar thefossguy avatar

Stargazers

 avatar

Watchers

 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.