Created
May 10, 2023 18:44
-
-
Save omac777/e74424707aec112a0e707af24a323aaf to your computer and use it in GitHub Desktop.
First time logging into Ubuntu Server on Starfive Visionfive 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh [email protected] | |
You are required to change your password immediately (administrator enforced). | |
Welcome to Ubuntu Lunar Lobster (development branch) (GNU/Linux 6.2.0-19-generic riscv64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
System information as of Wed May 10 18:21:27 UTC 2023 | |
System load: 1.92 Processes: 129 | |
Usage of /: 2.5% of 112.73GB Users logged in: 0 | |
Memory usage: 2% IPv4 address for end0: 192.168.2.79 | |
Swap usage: 0% | |
0 updates can be applied immediately. | |
The list of available updates is more than a week old. | |
To check for new updates run: sudo apt update | |
The programs included with the Ubuntu system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by | |
applicable law. | |
WARNING: Your password has expired. | |
You must change your password now and login again! | |
Changing password for ubuntu. | |
Current password: | |
New password: | |
Retype new password: | |
passwd: password updated successfully | |
Connection to 192.168.2.79 closed. | |
ssh [email protected] | |
[email protected]'s password: | |
Welcome to Ubuntu Lunar Lobster (development branch) (GNU/Linux 6.2.0-19-generic riscv64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
System information as of Wed May 10 18:21:27 UTC 2023 | |
System load: 1.92 Processes: 129 | |
Usage of /: 2.5% of 112.73GB Users logged in: 0 | |
Memory usage: 2% IPv4 address for end0: 192.168.2.79 | |
Swap usage: 0% | |
0 updates can be applied immediately. | |
The list of available updates is more than a week old. | |
To check for new updates run: sudo apt update | |
Last login: Wed May 10 18:21:31 2023 from 192.168.2.16 | |
To run a command as administrator (user "root"), use "sudo <command>". | |
See "man sudo_root" for details. | |
ubuntu@ubuntu:~$ sudo bash | |
root@ubuntu:/etc/apt/sources.list.d# cd /etc/apt/trusted.gpg.d/ | |
root@ubuntu:/etc/apt/trusted.gpg.d# wget https://raw.githubusercontent.com/agreenbhm/linux/apt/repo/agreenbhm-linux-repo-key.asc | |
--2023-05-10 18:22:50-- https://raw.githubusercontent.com/agreenbhm/linux/apt/repo/agreenbhm-linux-repo-key.asc | |
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ... | |
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 2452 (2.4K) [text/plain] | |
Saving to: ‘agreenbhm-linux-repo-key.asc’ | |
agreenbhm-linux-repo-key.asc 100%[=========================================================================================================================================>] 2.39K --.-KB/s in 0s | |
2023-05-10 18:22:51 (4.82 MB/s) - ‘agreenbhm-linux-repo-key.asc’ saved [2452/2452] | |
root@ubuntu:/etc/apt/trusted.gpg.d# cd /etc/apt/sources.list.d/ | |
root@ubuntu:/etc/apt/sources.list.d# vi custom_kernel.list | |
deb https://agreenbhm.github.io/linux/repo/riscv64 / | |
root@ubuntu:/etc/apt/sources.list.d# apt update | |
Get:1 https://agreenbhm.github.io/linux/repo/riscv64 InRelease [1524 B] | |
Get:2 http://ports.ubuntu.com/ubuntu-ports lunar InRelease [267 kB] | |
Get:3 http://ports.ubuntu.com/ubuntu-ports lunar-updates InRelease [99.4 kB] | |
Get:4 https://agreenbhm.github.io/linux/repo/riscv64 Packages [1978 B] | |
Get:5 http://ports.ubuntu.com/ubuntu-ports lunar-backports InRelease [90.7 kB] | |
Get:6 http://ports.ubuntu.com/ubuntu-ports lunar-security InRelease [90.7 kB] | |
Get:7 http://ports.ubuntu.com/ubuntu-ports lunar/main riscv64 Packages [1317 kB] | |
Get:8 http://ports.ubuntu.com/ubuntu-ports lunar/main Translation-en [513 kB] | |
Get:9 http://ports.ubuntu.com/ubuntu-ports lunar/main riscv64 c-n-f Metadata [28.2 kB] | |
Get:10 http://ports.ubuntu.com/ubuntu-ports lunar/restricted Translation-en [21.9 kB] | |
Get:11 http://ports.ubuntu.com/ubuntu-ports lunar/universe riscv64 Packages [14.3 MB] | |
Get:12 http://ports.ubuntu.com/ubuntu-ports lunar/universe Translation-en [5906 kB] | |
Get:13 http://ports.ubuntu.com/ubuntu-ports lunar/universe riscv64 c-n-f Metadata [276 kB] | |
Get:14 http://ports.ubuntu.com/ubuntu-ports lunar/multiverse riscv64 Packages [164 kB] | |
Get:15 http://ports.ubuntu.com/ubuntu-ports lunar/multiverse Translation-en [112 kB] | |
Get:16 http://ports.ubuntu.com/ubuntu-ports lunar/multiverse riscv64 c-n-f Metadata [6212 B] | |
Get:17 http://ports.ubuntu.com/ubuntu-ports lunar-updates/main riscv64 Packages [14.8 kB] | |
Get:18 http://ports.ubuntu.com/ubuntu-ports lunar-updates/main Translation-en [5828 B] | |
Get:19 http://ports.ubuntu.com/ubuntu-ports lunar-updates/main riscv64 c-n-f Metadata [724 B] | |
Get:20 http://ports.ubuntu.com/ubuntu-ports lunar-updates/universe riscv64 Packages [8032 B] | |
Get:21 http://ports.ubuntu.com/ubuntu-ports lunar-updates/universe Translation-en [5040 B] | |
Get:22 http://ports.ubuntu.com/ubuntu-ports lunar-updates/universe riscv64 c-n-f Metadata [732 B] | |
Get:23 http://ports.ubuntu.com/ubuntu-ports lunar-updates/multiverse riscv64 c-n-f Metadata [116 B] | |
Get:24 http://ports.ubuntu.com/ubuntu-ports lunar-backports/main riscv64 c-n-f Metadata [112 B] | |
Get:25 http://ports.ubuntu.com/ubuntu-ports lunar-backports/restricted riscv64 c-n-f Metadata [120 B] | |
Get:26 http://ports.ubuntu.com/ubuntu-ports lunar-backports/universe riscv64 c-n-f Metadata [116 B] | |
Get:27 http://ports.ubuntu.com/ubuntu-ports lunar-backports/multiverse riscv64 c-n-f Metadata [120 B] | |
Get:28 http://ports.ubuntu.com/ubuntu-ports lunar-security/main riscv64 Packages [13.3 kB] | |
Get:29 http://ports.ubuntu.com/ubuntu-ports lunar-security/main Translation-en [5460 B] | |
Get:30 http://ports.ubuntu.com/ubuntu-ports lunar-security/main riscv64 c-n-f Metadata [676 B] | |
Get:31 http://ports.ubuntu.com/ubuntu-ports lunar-security/universe riscv64 Packages [6408 B] | |
Get:32 http://ports.ubuntu.com/ubuntu-ports lunar-security/universe Translation-en [3692 B] | |
Get:33 http://ports.ubuntu.com/ubuntu-ports lunar-security/universe riscv64 c-n-f Metadata [412 B] | |
Get:34 http://ports.ubuntu.com/ubuntu-ports lunar-security/multiverse riscv64 c-n-f Metadata [116 B] | |
Fetched 23.2 MB in 19s (1234 kB/s) | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
26 packages can be upgraded. Run 'apt list --upgradable' to see them. | |
root@ubuntu:/etc/apt/sources.list.d# apt install linux-image-rolling linux-headers-rolling | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
The following NEW packages will be installed: | |
linux-headers-rolling linux-image-rolling | |
0 upgraded, 2 newly installed, 0 to remove and 26 not upgraded. | |
Need to get 19.6 MB of archives. | |
After this operation, 71.2 MB of additional disk space will be used. | |
Get:1 https://agreenbhm.github.io/linux/repo/riscv64 linux-headers-rolling 6.4.0-rc1+-56 [8121 kB] | |
Get:2 https://agreenbhm.github.io/linux/repo/riscv64 linux-image-rolling 6.4.0-rc1+-56 [11.5 MB] | |
Fetched 19.6 MB in 4s (4779 kB/s) | |
Selecting previously unselected package linux-headers-rolling. | |
(Reading database ... 73736 files and directories currently installed.) | |
Preparing to unpack .../linux-headers-rolling_6.4.0-rc1+-56_riscv64.deb ... | |
Unpacking linux-headers-rolling (6.4.0-rc1+-56) ... | |
Selecting previously unselected package linux-image-rolling. | |
Preparing to unpack .../linux-image-rolling_6.4.0-rc1+-56_riscv64.deb ... | |
Unpacking linux-image-rolling (6.4.0-rc1+-56) ... | |
Setting up linux-headers-rolling (6.4.0-rc1+-56) ... | |
Setting up linux-image-rolling (6.4.0-rc1+-56) ... | |
update-initramfs: Generating /boot/initrd.img-6.4.0-rc1+ | |
Using DTB: starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Installing /usr/lib/linux-image-6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb into /boot/dtbs/6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Installing new jh7110-starfive-visionfive-2-v1.3b.dtb. | |
flash-kernel: deferring update (trigger activated) | |
Using DTB: starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Installing /usr/lib/linux-image-6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb into /boot/dtbs/6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Taking backup of jh7110-starfive-visionfive-2-v1.3b.dtb. | |
Installing new jh7110-starfive-visionfive-2-v1.3b.dtb. | |
flash-kernel: deferring update (trigger activated) | |
Sourcing file `/etc/default/grub' | |
Sourcing file `/etc/default/grub.d/10_cmdline.cfg' | |
Sourcing file `/etc/default/grub.d/90_watchdog-thresh.cfg' | |
Sourcing file `/etc/default/grub.d/init-select.cfg' | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-6.4.0-rc1+ | |
Found initrd image: /boot/initrd.img-6.4.0-rc1+ | |
Found linux image: /boot/vmlinuz-6.2.0-19-generic | |
Found initrd image: /boot/initrd.img-6.2.0-19-generic | |
Warning: os-prober will not be executed to detect other bootable partitions. | |
Systems on them will not be added to the GRUB boot configuration. | |
Check GRUB_DISABLE_OS_PROBER documentation entry. | |
Adding boot menu entry for UEFI Firmware Settings ... | |
done | |
Processing triggers for flash-kernel (3.106ubuntu14) ... | |
Using DTB: starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Installing /usr/lib/linux-image-6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb into /boot/dtbs/6.4.0-rc1+/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb | |
Taking backup of jh7110-starfive-visionfive-2-v1.3b.dtb. | |
Installing new jh7110-starfive-visionfive-2-v1.3b.dtb. | |
System running in EFI mode, skipping. | |
Scanning processes... | |
Scanning processor microcode... | |
Scanning linux images... | |
Failed to check for processor microcode upgrades. | |
No services need to be restarted. | |
No containers need to be restarted. | |
No user sessions are running outdated binaries. | |
No VM guests are running outdated hypervisor (qemu) binaries on this host. | |
root@ubuntu:/etc/apt/sources.list.d# | |
root@ubuntu:/etc/apt/sources.list.d# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment