系统当前为 FreeBSD 7.3-RELEASE-p1 ,升级前需要做 label ,重启系统进入单用户模式执行
glabel label rootfs /dev/mfid0s4a
glabel label swap /dev/mfid0s4b
glabel label var /dev/mfid0s4d
glabel label tmp /dev/mfid0s4e
glabel label usr /dev/mfid0s4f
glabel label cache /dev/mfid0s4g
glabel label data /dev/mfid0s4h
修改 /etc/fstab 为
# Device Mountpoint FStype Options Dump Pass#
/dev/label/swap none swap sw 0 0
/dev/label/rootfs / ufs rw 1 1
/dev/label/cache /cache ufs rw,noatime 2 2
/dev/label/data /data ufs rw,noatime 2 2
/dev/label/tmp /tmp ufs rw 2 2
/dev/label/usr /usr ufs rw 2 2
/dev/label/var /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
之后make buildworld;make kernel,升级OK
阅读(957) | 评论(0) | 转发(0) |