弥漫的烟 发表于 2024-12-20 12:24:58

我家云最新arm'bian固件安装CasaOS

我家云最新arm'bian固件可以正常引导使用了,无需硬改不掉盘,刷机后需手动挂载硬盘

小白可以参考下面网站
https://blog.csdn.net/muzihuaner/article/details/128796331
注:UUID=(此处用blkid /dev/sda1查看到的数值替换)   /mnts(硬盘挂载的目录,也可以/mnt)      ntfs(硬盘挂载的分区类型,也可以ext4)    defaults      0 0
不会命令操作的小白也可以安装CasaOS后,在网页里操作挂载。安装完直接输我家云的IP地址就可以访问了,再在Files里设置一下共享目录,
在应用商店里安装你想要的应用或手动安装docker容器

固件下载地址:https://github.com/ophub/amlogic-s9xxx-armbian/releases(看好选中间是rockchip_chainedbox的固件)

Armbian_24.5.0_rockchip_chainedbox_noble_6.1.83_server_2024.04.01.img.gz

实测6.1.83_server可以正常引导网络查找的到

而Armbian_24.5.0_rockchip_chainedbox_noble_6.6.23_server_2024.04.01.img.gz网络无**连接 失联状态



刷好机后推荐终端运行 curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh
在面板工具里安装1Panel新一代管理面板

或在终端安装CasaOS(curl -fsSL https://get.casaos.io | sudo bash)

开源地址:https://github.com/IceWhaleTech/CasaOS
快速安装设置 CasaOS

从上面的列表中全新安装系统并运行以下命令:

wget -qO- https://get.casaos.io | sudo bash

或者

curl -fsSL https://get.casaos.io | sudo bash




卸载CasaOS

v0.3.3 或更高版本

casaos-uninstall

v0.3.3之前

curl -fsSL https://get.icewhale.io/casaos-uninstall.sh | sudo bash






感谢ophub、F大等我不知道的大佬们的无私奉献让吃灰的我家云如此完美


chainedbox

lsblk                                                        //查看硬盘信息

cd /.                                //进入根目录

mkdir disk                        //新建目录名为‘disk’ 可用'ls'查看

mount /dev/sda /disk/                //挂载到 disk

开机自动挂载:

1.这条命令可以显示硬盘信息,并记下UUID,为下一步做准备,这里以sda为例

blkid /dev/sda

armbian:/:# blkid /dev/sda
/dev/sda: UUID="e84afda2-67df-4550-9b56-8bb17c130621" BLOCK_SIZE="4096" TYPE="ext4"
2、修改nano /etc/fstab 即可。例如我就是在 fstab 最后添加这行:

UUID=e84afda2-67df-4550-9b56-8bb17c130621   /disk      ntfs    defaults      0 0

vi或nano /etc/fstab                                //修改fstab
GNU nano 7.2                           /etc/fstab                                    
UUID=2f1d2384-1a88-4c28-9c3d-58b452892353/      ext4defaults,noatime,nodiratime,com>
UUID=6a56399c-e1e1-481c-a305-bf7c00bfc511/bootext4defaults0 2
tmpfs         /tmp   tmpfs    defaults,nosuid                                    >
UUID=e84afda2-67df-4550-9b56-8bb17c130621   /disk      ntfs    defaults      0 0
3.最后保存并应用, 则成功自定挂载,开机也会自动挂载(注意:这里只对只一个硬盘有效)

mount -a                                        //应用并启动
修改网络ip
root@armbian:~# nmcli con show
NAME                UUID                                  TYPE      DEVICE
Wired connection 182e9251a-e441-3306-a97e-48e39e9eacd2ethernetend0   
docker0             a552f617-e115-4ec6-a9e2-633f9c09c860bridge    docker0
root@armbian:~# nmtui

address 192.168.1.169/24       我家云手动ip

gateway 192.168.1.253   魔**上网 **

dns         192.168.1.3      mosdns 清洁dns

nmcli con up 'Wired connection 1'

ip r

弥漫的烟 发表于 2024-12-20 12:25:44

Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub 安装日志:
$
Connecting to 192.168.1.169:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
___________ _         _                _ _               
|_ \| |/ / / ___| |__   __ _(_)_ __   _____| | |__   _______
| |_) | ' / | |   | '_ \ / _` | | '_ \ / _ \/ _` | '_ \ / _ \ \/ /
|_ <| . \ | |___| | | | (_| | | | | |__/ (_| | |_) | (_) ><
|_| \_\_|\_(_)____|_| |_|\__,_|_|_| |_|\___|\__,_|_.__/ \___/_/\_\
                                                                  
Welcome to Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub
System load:   8%            Up time:       4 min   Local users:   3               
Memory usage:15% of 965M      IP:      192.168.1.169
CPU temp:      46°C               Usage of /:    23% of 6.6G      
RX today:      39.7 KiB
Waiting for system to finish booting ...
/usr/lib/armbian/armbian-firstlogin: line 471: /sys/class/graphics/fb0/virtual_size: No such file or directory
Welcome to Armbian OS!
Documentation: https://docs.armbian.com/ | Community support: https://community.armbian.com/
IP address: 192.168.1.169
Create root password: ******
Repeat root password: ******
Warning: Weak password, it is too simplistic/systematic!
Support status: community support (looking for a dedicated maintainer)
Choose default system command shell:
1) bash
2) zsh
2
Shell: ZSH
Creating a new user account. Press <Ctrl-C> to abort
Please provide a username (eg. your first name): admin
Create user (admin) password: ******
Repeat user (admin) password: ******
Warning: Weak password, it is too simplistic/systematic!
Please provide your real name: Admin
Dear Admin, your account admin has been created and is sudo enabled.
Please use this account for your daily work from now on.
Detected timezone: Asia/Shanghai
Set user language based on your location? y
y
At your location, more locales are possible:
1) bo_CN         3) ug_CN@latin   5) zh_CN.UTF-8
2) ug_CN         4) ug_CN@latin   6) Skip generating locales
Please enter your choice:5
Generating locales: zh_CN.UTF-8
You selected ZSH as your default shell. If you want to use it right away, please logout and login!
root@armbian:~#
root@armbian:~#
root@armbian:~#
Connection closed.
Disconnected from remote host(3328会话) at 23:06:00.
Type `help' to learn how to use Xshell prompt.
$
Connecting to 192.168.1.169:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
___________ _         _                _ _               
|_ \| |/ / / ___| |__   __ _(_)_ __   _____| | |__   _______
| |_) | ' / | |   | '_ \ / _` | | '_ \ / _ \/ _` | '_ \ / _ \ \/ /
|_ <| . \ | |___| | | | (_| | | | | |__/ (_| | |_) | (_) ><
|_| \_\_|\_(_)____|_| |_|\__,_|_|_| |_|\___|\__,_|_.__/ \___/_/\_\
                                                                  
Welcome to Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub
System load:   8%            Up time:       8 min
Memory usage:15% of 965M      IP:      192.168.1.169
CPU temp:      47°C               Usage of /:    23% of 6.6G      
RX today:      173.0 KiB   
Last login: Thu Apr4 23:06:15 2024 from 192.168.1.164
armbian:~:#
armbian:~:#

弥漫的烟 发表于 2024-12-20 12:26:20

格式化硬盘,并挂载
armbian:~:#
armbian:~:# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda            8:0    0 465.8G0 disk
mmcblk0      179:0    0   7.3G0 disk
├─mmcblk0p1179:1    0   511M0 part /boot
└─mmcblk0p2179:2    0   6.8G0 part /var/log.hdd
                                       /
mmcblk0boot0 179:32   0   4M1 disk
mmcblk0boot1 179:64   0   4M1 disk
zram0      253:0    0   483M0 disk
zram1      253:1    0    50M0 disk /var/log
zram2      253:2    0   0B0 disk

armbian:/:# mkfs -t ext4 /dev/sda
mke2fs 1.47.0 (5-Feb-2023)
/dev/sda contains a ext4 file system
    last mounted on Thu Apr4 21:29:32 2024
Proceed anyway? (y,N) y
Creating filesystem with 122096644 4k blocks and 30531584 inodes
Filesystem UUID: e84afda2-67df-4550-9b56-8bb17c130621
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
    102400000
Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (262144 blocks):
done
Writing superblocks and filesystem accounting information: done   
armbian:~:# cd /.
armbian:/:# ls
bin                etc    lib.usr-is-mergedopt   sbin                sys
bin.usr-is-mergedhome   lost+found         procsbin.usr-is-mergedtmp
boot               lib    media            rootselinux             usr
dev                lib64mnt                run   srv               var
armbian:/:# mkdir DATA
armbian:/:#
armbian:/:# mount /dev/sda /DATA/

armbian:/:# ls DATA
lost+found
armbian:/:# mount /dev/sda /DATA/
mount: /DATA: /dev/sda already mounted on /DATA.
       dmesg(1) may have more information after failed mount system call.
armbian:/:# blkid /dev/sda
/dev/sda: UUID="e84afda2-67df-4550-9b56-8bb17c130621" BLOCK_SIZE="4096" TYPE="ext4"

armbian:/:# nano /etc/fstab
armbian:/:# mount -a
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
armbian:/:#
armbian:/:# poweroff
armbian:/:#
Connection closed by foreign host.
页: [1]
查看完整版本: 我家云最新arm'bian固件安装CasaOS