在FreeBSD15.1系统安装Ubuntu24.04 noble Linux兼容系统
安装非常简单方便,
先安装debootstrap
在FreeBSD系统,用超级账户或者sudu执行
sudo pkg install debootstrap再安装noble
在FreeBSD系统,用超级账户或者sudu执行
sudo debootstrap noble /compat/ubuntu24 http://mirrors.ustc.edu.cn/ubuntu/这个速度较快!
如果只安装Ubuntu一个版本,目录就用ubuntu即可。我是因为有多个版本共存,所以给它的目录是ubuntu24
挂载系统
在FreeBSD系统,用超级账户或者sudu执行
# sysctl compat.linux.emul_path=/compat/ubuntu24好吧,好像机器有点问题,最终没搞定。不过整个过程就是这样的。
安装好后,进入Ubuntu noble系统
sudo chroot /compat/ubuntu24/ /bin/bash在里面用uname -a,可以看到是Ubuntu系统!
