FreeBSD Tips: Difference between revisions

no edit summary
No edit summary
No edit summary
<syntaxhighlight lang="bash" enclose="div">
# enter single user mode
tunefs -j disable /dev/{デバイス}
fsck -y /dev/{デバイス}
mount -o rw {デバイス} {マウントポイント}
mount / ; rm /.sujournal
chflags noschg,nosunlnk {マウントポイント}/.sujournal
rm {マウントポイント}/.sujournal
mount -o ro {デバイス} {マウントポイント}
fsck {デバイス}
mount -o rw {デバイス} {マウントポイント}
reboot
</syntaxhighlight>