搜索
热搜: 源码 插件 模板

小喇叭+ 发布

弥漫的烟只许一生浮世清欢
02-04 17:47
02-04 17:46

[技术] 我家云最新arm'bian固件安装CasaOS

[复制链接]

[技术] 我家云最新arm'bian固件安装CasaOS

[复制链接]

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
UID: 1 | 查看: 108|回复: 2 |
弥漫的烟官方认证

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
2024-12-20 12:24:58 | 显示全部楼层 |阅读模式
我家云最新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

  1. armbian:/:# blkid /dev/sda
  2. /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
  1. GNU nano 7.2                           /etc/fstab                                    
  2. UUID=2f1d2384-1a88-4c28-9c3d-58b452892353  /      ext4  defaults,noatime,nodiratime,com>
  3. UUID=6a56399c-e1e1-481c-a305-bf7c00bfc511  /boot  ext4  defaults  0 2
  4. tmpfs           /tmp     tmpfs    defaults,nosuid                                      >
  5. UUID=e84afda2-67df-4550-9b56-8bb17c130621   /disk      ntfs    defaults        0 0
复制代码

3.最后保存并应用, 则成功自定挂载,开机也会自动挂载(注意:这里只对只一个硬盘有效)

mount -a                                        //应用并启动
修改网络ip
  1. root@armbian:~# nmcli con show
  2. NAME                UUID                                  TYPE      DEVICE  
  3. Wired connection 1  82e9251a-e441-3306-a97e-48e39e9eacd2  ethernet  end0   
  4. docker0             a552f617-e115-4ec6-a9e2-633f9c09c860  bridge    docker0
  5. 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

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
UID: 1
弥漫的烟官方认证 楼主

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
2024-12-20 12:25:44 | 显示全部楼层
Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub 安装日志:
  1. [c:\~]$
  2. Connecting to 192.168.1.169:22...
  3. Connection established.
  4. To escape to local shell, press 'Ctrl+Alt+]'.
  5. ____  _  __  ____ _           _                _ _               
  6. |  _ \| |/ / / ___| |__   __ _(_)_ __   ___  __| | |__   _____  __
  7. | |_) | ' / | |   | '_ \ / _` | | '_ \ / _ \/ _` | '_ \ / _ \ \/ /
  8. |  _ <| . \ | |___| | | | (_| | | | | |  __/ (_| | |_) | (_) >  <
  9. |_| \_\_|\_(_)____|_| |_|\__,_|_|_| |_|\___|\__,_|_.__/ \___/_/\_\
  10.                                                                   
  11. Welcome to Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub
  12. System load:   8%            Up time:       4 min   Local users:   3               
  13. Memory usage:  15% of 965M      IP:        192.168.1.169
  14. CPU temp:      46°C               Usage of /:    23% of 6.6G      
  15. RX today:      39.7 KiB  
  16. Waiting for system to finish booting ...
  17. /usr/lib/armbian/armbian-firstlogin: line 471: /sys/class/graphics/fb0/virtual_size: No such file or directory
  18. Welcome to Armbian OS!
  19. Documentation: https://docs.armbian.com/ | Community support: https://community.armbian.com/
  20. IP address: 192.168.1.169
  21. Create root password: ******
  22. Repeat root password: ******
  23. Warning: Weak password, it is too simplistic/systematic!
  24. Support status: community support (looking for a dedicated maintainer)
  25. Choose default system command shell:
  26. 1) bash
  27. 2) zsh
  28. 2
  29. Shell: ZSH
  30. Creating a new user account. Press <Ctrl-C> to abort
  31. Please provide a username (eg. your first name): admin
  32. Create user (admin) password: ******
  33. Repeat user (admin) password: ******
  34. Warning: Weak password, it is too simplistic/systematic!
  35. Please provide your real name: Admin
  36. Dear Admin, your account admin has been created and is sudo enabled.
  37. Please use this account for your daily work from now on.
  38. Detected timezone: Asia/Shanghai
  39. Set user language based on your location? [Y/n] y
  40. y
  41. At your location, more locales are possible:
  42. 1) bo_CN           3) ug_CN@latin     5) zh_CN.UTF-8
  43. 2) ug_CN           4) ug_CN@latin     6) Skip generating locales
  44. Please enter your choice:5
  45. Generating locales: zh_CN.UTF-8
  46. You selected ZSH as your default shell. If you want to use it right away, please logout and login!
  47. root@armbian:~#
  48. root@armbian:~#
  49. root@armbian:~#
  50. Connection closed.
  51. Disconnected from remote host(3328会话) at 23:06:00.
  52. Type `help' to learn how to use Xshell prompt.
  53. [c:\~]$
  54. Connecting to 192.168.1.169:22...
  55. Connection established.
  56. To escape to local shell, press 'Ctrl+Alt+]'.
  57. ____  _  __  ____ _           _                _ _               
  58. |  _ \| |/ / / ___| |__   __ _(_)_ __   ___  __| | |__   _____  __
  59. | |_) | ' / | |   | '_ \ / _` | | '_ \ / _ \/ _` | '_ \ / _ \ \/ /
  60. |  _ <| . \ | |___| | | | (_| | | | | |  __/ (_| | |_) | (_) >  <
  61. |_| \_\_|\_(_)____|_| |_|\__,_|_|_| |_|\___|\__,_|_.__/ \___/_/\_\
  62.                                                                   
  63. Welcome to Armbian OS 24.5.0 Noble with Linux 6.1.83-ophub
  64. System load:   8%            Up time:       8 min  
  65. Memory usage:  15% of 965M      IP:        192.168.1.169
  66. CPU temp:      47°C               Usage of /:    23% of 6.6G      
  67. RX today:      173.0 KiB     
  68. Last login: Thu Apr  4 23:06:15 2024 from 192.168.1.164
  69. armbian:~:#
  70. armbian:~:#
复制代码
回复

使用道具 举报

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
UID: 1
弥漫的烟官方认证 楼主

52

主题

3

回帖

431

积分

管理员

邀请
0 人
在线时间
48 小时
2024-12-20 12:26:20 | 显示全部楼层
格式化硬盘,并挂载
  1. armbian:~:#
  2. armbian:~:# lsblk
  3. NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
  4. sda            8:0    0 465.8G  0 disk
  5. mmcblk0      179:0    0   7.3G  0 disk
  6. ├─mmcblk0p1  179:1    0   511M  0 part /boot
  7. └─mmcblk0p2  179:2    0   6.8G  0 part /var/log.hdd
  8.                                        /
  9. mmcblk0boot0 179:32   0     4M  1 disk
  10. mmcblk0boot1 179:64   0     4M  1 disk
  11. zram0        253:0    0   483M  0 disk [SWAP]
  12. zram1        253:1    0    50M  0 disk /var/log
  13. zram2        253:2    0     0B  0 disk

  14. armbian:/:# mkfs -t ext4 /dev/sda
  15. mke2fs 1.47.0 (5-Feb-2023)
  16. /dev/sda contains a ext4 file system
  17.     last mounted on Thu Apr  4 21:29:32 2024
  18. Proceed anyway? (y,N) y
  19. Creating filesystem with 122096644 4k blocks and 30531584 inodes
  20. Filesystem UUID: e84afda2-67df-4550-9b56-8bb17c130621
  21. Superblock backups stored on blocks:
  22.     32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
  23.     4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
  24.     102400000
  25. Allocating group tables: done                           
  26. Writing inode tables: done                           
  27. Creating journal (262144 blocks):
  28. done
  29. Writing superblocks and filesystem accounting information: done     
  30. armbian:~:# cd /.
  31. armbian:/:# ls
  32. bin                etc    lib.usr-is-merged  opt   sbin                sys
  33. bin.usr-is-merged  home   lost+found         proc  sbin.usr-is-merged  tmp
  34. boot               lib    media              root  selinux             usr
  35. dev                lib64  mnt                run   srv                 var
  36. armbian:/:# mkdir DATA
  37. armbian:/:#
  38. armbian:/:# mount /dev/sda /DATA/

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

  46. armbian:/:# nano /etc/fstab
  47. armbian:/:# mount -a
  48. Mount is denied because the NTFS volume is already exclusively opened.
  49. The volume may be already mounted, or another software may use it which
  50. could be identified for example by the help of the 'fuser' command.
  51. mount: (hint) your fstab has been modified, but systemd still uses
  52.        the old version; use 'systemctl daemon-reload' to reload.
  53. armbian:/:#
  54. armbian:/:# poweroff
  55. armbian:/:#
  56. Connection closed by foreign host.
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|壳壳微站 ( 皖ICP备16020843号-4 )

GMT+8, 2025-2-5 21:56

Powered by 壳壳微站

快速回复 返回顶部 返回列表