Difference between revisions of "ORCA-TN-001 — Running Armbian Bullseye (Debian 11)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{InfoBoxTop}} {{AppliesTo ORCA TN}} {{AppliesTo ORCA SBC TN}} {{InfoBoxBottom}} __FORCETOC__ == History == {| class="wikitable" border="1" !Version !Date !Notes |- |1.0.0 |Ja...")
 
Line 20: Line 20:
 
==Testbed==
 
==Testbed==
  
==Building and deploying the root file system onto the target==
+
==Deploying the root file system onto the target==
 
https://armbian.site-meganet.com/dl/uefi-arm64/archive/Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz
 
https://armbian.site-meganet.com/dl/uefi-arm64/archive/Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz
  
Line 45: Line 45:
 
'boot' -> '/media/amarson/debian/boot'
 
'boot' -> '/media/amarson/debian/boot'
 
...
 
...
 +
 +
[  OK  ] Finished Update UTMP about System Runlevel Changes.
 +
You are in emergency mode. After logging in, type "journalctl -xb" to view
 +
system logs, "systemctl reboot" to reboot, "systemGive root password for maintenance
 +
(or press Control-D to continue):
 +
 +
 +
root@uefi-arm64:~# sudo mount -o remount,rw /dev/mmcblk1p3 /
 +
[  558.839904] EXT4-fs (mmcblk1p3): re-mounted. Opts: (null)
 +
root@uefi-arm64:~# sudo systemctl stop NetworkManager.service
 +
root@uefi-arm64:~# sudo systemctl disable NetworkManager.service
 +
Removed /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
 +
Removed /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
 +
 +
 +
root@uefi-arm64:~# cat /etc/network/interfaces
 +
source /etc/network/interfaces.d/*
 +
# Network is managed by Network manager
 +
# auto lo
 +
# iface lo inet loopback
 +
 +
auto eth0
 +
iface eth0 inet static
 +
    address 192.168.0.81
 +
    netmask 255.255.255.0
 +
    gateway 192.168.0.254
 +
root@uefi-arm64:~# cat /etc/resolv.conf
 +
#nameserver 1.0.0.1
 +
 +
domain localdomain
 +
search localdomain
 +
nameserver 8.8.8.8
  
 
==Bootstrap process==
 
==Bootstrap process==

Revision as of 12:08, 11 January 2023

Info Box

History[edit | edit source]

Version Date Notes
1.0.0 January 2023 First public release

Introduction[edit | edit source]

Testbed[edit | edit source]

Deploying the root file system onto the target[edit | edit source]

https://armbian.site-meganet.com/dl/uefi-arm64/archive/Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz

unzx Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz

$ fdisk -l ./Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img Disk ./Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img: 3,45 GiB, 3690987520 bytes, 7208960 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: DA7CB2A5-40D2-374F-998C-5C601A83CF12

Device Start End Sectors Size Type ./Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img1 8192 532479 524288 256M EFI ./Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img2 532480 7208926 6676447 3,2G Linu


$ sudo mount -o loop,offset=272629760 Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img /mnt/tmp/

$ sudo cp -aRv * /media/amarson/debian/ 'armbian.key' -> '/media/amarson/debian/armbian.key' 'bin' -> '/media/amarson/debian/bin' 'boot' -> '/media/amarson/debian/boot' ...

[ OK ] Finished Update UTMP about System Runlevel Changes. You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemGive root password for maintenance (or press Control-D to continue):


root@uefi-arm64:~# sudo mount -o remount,rw /dev/mmcblk1p3 / [ 558.839904] EXT4-fs (mmcblk1p3): re-mounted. Opts: (null) root@uefi-arm64:~# sudo systemctl stop NetworkManager.service root@uefi-arm64:~# sudo systemctl disable NetworkManager.service Removed /etc/systemd/system/multi-user.target.wants/NetworkManager.service. Removed /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.


root@uefi-arm64:~# cat /etc/network/interfaces source /etc/network/interfaces.d/*

  1. Network is managed by Network manager
  2. auto lo
  3. iface lo inet loopback

auto eth0 iface eth0 inet static

    address 192.168.0.81
    netmask 255.255.255.0
    gateway 192.168.0.254

root@uefi-arm64:~# cat /etc/resolv.conf

  1. nameserver 1.0.0.1

domain localdomain search localdomain nameserver 8.8.8.8

Bootstrap process[edit | edit source]