truenas scale 24.04 开启apt 开发者模式(Developer Mode)

truenas scale 从24.04 beta1开始,/usr/bin下的东西变成了只读的了。不再是 chmod +x /usr/bin/*来解开apt了。

这里需要手动开启开发者模式:

install-dev-tools

用root用户,在shell下输入上面的命令开启

Encountered Read-only file system problem, unable to create anything

如果你执行什么命令,出现了系统只读问题。执行下面命令:

zfs get readonly

查看哪些路径是只读的。需要把 on改成off

zfs set readonly=off [dataset]

例如 zfs set readonly=off boot-pool/ROOT/24.04-BETA.1

打赏
Bookmark the permalink.
0 0 投票数
文章评分
订阅评论
提醒
guest

3 评论
内联反馈
查看所有评论
hanxi
hanxi
1 年 前

感谢大佬分享,很实用

慕容修
慕容修
1 月 前

使用 zfs get readonly
后报故障:Ign:1 https://apt.sys.truenas.net/dragonfish/nightlies/debian bookworm InRelease
Ign:2 https://apt.sys.truenas.net/dragonfish/nightlies/libnvidia bookworm InRelease
Ign:3 https://apt.sys.truenas.net/dragonfish/nightlies/helm all InRelease
Ign:4 https://apt.sys.truenas.net/dragonfish/nightlies/debian-security bookworm-security InRelease
Ign:5 https://apt.sys.truenas.net/dragonfish/nightlies/debian-backports bookworm-backports InRelease
Ign:6 https://apt.sys.truenas.net/dragonfish/nightlies/debian-debug bookworm-debug InRelease
Ign:7 https://apt.sys.truenas.net/dragonfish/nightlies/yarn stable InRelease
Ign:8 https://apt.sys.truenas.net/dragonfish/nightlies/nvidia bookworm InRelease
Ign:9 https://apt.sys.truenas.net/dragonfish/nightlies/pcm bookworm InRelease
Err:10 https://apt.sys.truenas.net/dragonfish/nightlies/debian bookworm Release
 404 Not Found [IP: 169.150.225.83 443]
Err:11 https://apt.sys.truenas.net/dragonfish/nightlies/libnvidia bookworm Release
 404 Not Found [IP: 169.150.225.83 443]
Err:12 https://apt.sys.truenas.net/dragonfish/nightlies/helm all Release
 404 Not Found [IP: 169.150.225.83 443]
Err:13 https://apt.sys.truenas.net/dragonfish/nightlies/debian-security bookworm-security Release
 404 Not Found [IP: 169.150.225.83 443]
Err:14 https://apt.sys.truenas.net/dragonfish/nightlies/debian-backports bookworm-backports Release
 404 Not Found [IP: 169.150.225.83 443]
Err:15 https://apt.sys.truenas.net/dragonfish/nightlies/debian-debug bookworm-debug Release
但实际ping的通