Giter Club home page Giter Club logo

Ubuntu 24.04 on BPI-F3 from SD-Card and running from NVME

Updated Aug 12th 2024

Ubuntu 24.04 is now running on my BPI-F3. Will be working on a video for YouTube soon.

This should work for any version of Linux, this has only been tested with Ubuntu 24.04

Getting Started

Download the Bianbu Image and use your favorite tool to image it to micro SD card.

Download the Ubuntu Image Ubuntu 24.04 to the NVME (NOTE: you will lose all your data)

Imaging to the NVME can be performed a couple differnet ways. You copy copy the image from another system to your risc machine's SD Card, or use an image program like raspberry pi Imager or Balena Etcher. You can buy a USB to m.2 adapter which you can purchase on Amazon for about $20 dollars.

This boot has only been verified on this version of Ubuntu. It should work for all versions of Linux you just need to know which partition is root(/). After you've imaged Bianbu to the SD card. Re-insert it to your PC and mount partition. Run this command next.

sudo mkdir /mnt/sd

sudo mount /dev/sdd5 /mnt/sd
(or which ever drive letter yours shows up as. Mine shows up as sdd. if yours shows up as SDA then mount /dev/sda5). You can determine which drive it is by running the command (lsblk) Once mounted run the command to change directory.

cd /mnt/sd

Make a working directory in your home directory.

mkdir ~/work

Now copy the initrd-6.1.15 with the command below.
cp initrd.img-6-1-15 ~/work/

Download Copy the cpionew.sh Link below. Download the File here and copy it to your work directory. type this command to go there

cd ~/work

you should already have the initrd.img-6.1.15 in this directory along with the cpionew.sh type this command:

mkdir initrd-tree

type this command

cp initrd.img-6.1.15 initrd.gz

now uncompress the initrd with this command:

./cpionew.sh -u

this should extract the initrd to the initrd-tree directory Change to that directory with this command

cd initrd-tree

Download the init file located in the files directory. Replace the init in initrd-tree with the one you Downloaded. Go back one directory by typing:

cd ..

Now re-compress the initrd with this command

./cpionew.sh -r

Now run this command

cp initrd.gz initrd.img-6.1.15

with the SD card still mounted as above run this command

sudo cp initrd.img-6.1.15 /mnt/sd/

type this command

sync

and then type cd to change back to your home directory now unmount the sd card with this command

sudo umount /mnt/sd

remove the sd card and put it in the BPI-F3 machine and turn it on. It should boot to Ubuntu located on the NVME

If you need help let me know. Thanks Franco BPI-F3 Running Ubuntu 24.04

Project 2 Fixing the kernel


https://github.com/TroyMitchell911/bpi-f3-linux-6.6
The link below is to show the modules and network drivers needed to boot.
https://github.com/jellyterra/bpi-f3-archlinux

Fixing the boot so it will always boot
https://gitlab.com/rkraevskiy/ubootpubkey/-/blob/master/README?ref_type=heads

RCMAN's Projects

allegro5 icon allegro5

Using Linux to compile Allegro 5 using SCONS

bpi-f3 icon bpi-f3

Working with my banana-pi F3 board and figuring it out

cmm2 icon cmm2

This is my CMM2 code Color Maximite 2 Basic

dosvm icon dosvm

This is an Oracle DOS Virtual Machine which has BorlandC installed with my Draw Source. It will let you compile the source

draw7.1converter icon draw7.1converter

This is a converter which takes the raw file from my draw program and makes them in to BMP files

sdl2 icon sdl2

Building Allegro 5 on Linux using SCONS

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.