freebsd-update upgrade -r 9.1-RELEASE
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[ZFS mountpoint]]
blackcube2# freebsd-update fetch
したら、
WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-L...
It is strongly recommended that you upgrade to a newer
release within the next 4 weeks.
と、言われたんで、念のために
freebsd-update fetch
freebsd-update install
してから、
* freebsd-update upgrade -r 9.1-RELEASE [#ud7d1f9e]
blackcube2# freebsd-update upgrade -r 9.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.0-RELEASE from update4...
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/games ...
The following components of FreeBSD do not seem to be in...
Does this look reasonable (y/n)? y
Fetching metadata signature for 9.1-RELEASE from update4...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 9.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 13997 patches.....10....20....30....40....50...
13960....13970....13980....13990... done.
Applying patches... done.
Fetching 23383 files... done.
Attempting to automatically merge changes in files... do...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
し・・・しゅどうでマージしる (゚◇゚)ガーン
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
ゲットしたら、インストール。
# freebsd-update install
この段階では、kernelだけが新しくなるので、再起動して新し...
# shutdown -r now
次に残りの更新をインストールして再起動する。
# freebsd-update install
# shutdown -r now
root@blackcube2:/root # uname -a
FreeBSD blackcube2 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r2...
root@blackcube2:/root #
**9_0 > 9_1 [#h083fd48]
一応、ソースも追っかけとく
30 1 * * * root /root/CVSUP/9_1/cvsup-releng_9_1.sh
RELENG_9_0なマシンは、結構あるにゃ
----
*(15) ZFSで起動する設定を加えます。 [#y85923e5]
# echo 'zfs_load="YES"' >> /mnt/boot/loader.conf
# echo 'vfs.root.mountfrom="zfs:zroot"' >> /mnt/boot/loa...
# cat << EOF > /mnt/etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/swap0 none swap sw 0 0
EOF
# echo 'zfs_enable="YES"' >> /mnt/etc/rc.conf
*(16) すべての領域をアンマウントします。 [#s75147fa]
# zfs set readonly=on zroot/var/empty
# zfs umount -a
アンマウントが失敗した場合は強制アンマウントします
# umount -f /mnt
*(17) マウントポイントをセットします。 [#eb958f87]
# zfs set mountpoint=legacy zroot
# zfs set mountpoint=/tmp zroot/tmp
# zfs set mountpoint=/usr zroot/usr
# zfs set mountpoint=/var zroot/var
終了行:
[[ZFS mountpoint]]
blackcube2# freebsd-update fetch
したら、
WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-L...
It is strongly recommended that you upgrade to a newer
release within the next 4 weeks.
と、言われたんで、念のために
freebsd-update fetch
freebsd-update install
してから、
* freebsd-update upgrade -r 9.1-RELEASE [#ud7d1f9e]
blackcube2# freebsd-update upgrade -r 9.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.0-RELEASE from update4...
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/games ...
The following components of FreeBSD do not seem to be in...
Does this look reasonable (y/n)? y
Fetching metadata signature for 9.1-RELEASE from update4...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 9.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 13997 patches.....10....20....30....40....50...
13960....13970....13980....13990... done.
Applying patches... done.
Fetching 23383 files... done.
Attempting to automatically merge changes in files... do...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
し・・・しゅどうでマージしる (゚◇゚)ガーン
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
The following file could not be merged automatically: /e...
Press Enter to edit this file in vi and resolve the conf...
manually...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
The following file could not be merged automatically: /e...
ゲットしたら、インストール。
# freebsd-update install
この段階では、kernelだけが新しくなるので、再起動して新し...
# shutdown -r now
次に残りの更新をインストールして再起動する。
# freebsd-update install
# shutdown -r now
root@blackcube2:/root # uname -a
FreeBSD blackcube2 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r2...
root@blackcube2:/root #
**9_0 > 9_1 [#h083fd48]
一応、ソースも追っかけとく
30 1 * * * root /root/CVSUP/9_1/cvsup-releng_9_1.sh
RELENG_9_0なマシンは、結構あるにゃ
----
*(15) ZFSで起動する設定を加えます。 [#y85923e5]
# echo 'zfs_load="YES"' >> /mnt/boot/loader.conf
# echo 'vfs.root.mountfrom="zfs:zroot"' >> /mnt/boot/loa...
# cat << EOF > /mnt/etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/swap0 none swap sw 0 0
EOF
# echo 'zfs_enable="YES"' >> /mnt/etc/rc.conf
*(16) すべての領域をアンマウントします。 [#s75147fa]
# zfs set readonly=on zroot/var/empty
# zfs umount -a
アンマウントが失敗した場合は強制アンマウントします
# umount -f /mnt
*(17) マウントポイントをセットします。 [#eb958f87]
# zfs set mountpoint=legacy zroot
# zfs set mountpoint=/tmp zroot/tmp
# zfs set mountpoint=/usr zroot/usr
# zfs set mountpoint=/var zroot/var
ページ名: