|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Evgeny Makarenko 2:463/367.18 17 Apr 2002 19:58:03 To : Dmitry Suhodoev Subject : single user mode --------------------------------------------------------------------------------
Tue, 16 Apr 2002 / 23:21, Dmitry Suhodoev wrote to all:
DS> пpедположим уpонил я свой сеpвак невеpными настpойками в startup файлах
DS> (тьфу, тьфу, тьфу чеpез левое плечо). ткните носом, где пpочитать, как
DS> загpузится в сабже, что монтиpовать и тому подобное.
выбоpка из
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
19.4.4 Drop to Single User Mode
You may want to compile the system in single user mode. Apart from the obvious
benefit of making things go slightly faster, reinstalling the system will touch
a lot of important system files, all the standard system binaries, libraries,
include files and so on. Changing these on a running system (particularly if you
have active users on the system at the time) is asking for trouble.
Another method is to compile the system in multi-user mode, and then drop into
single user mode for the installation. If you would like to do it this way,
simply hold off on the following steps until the build has completed.
As the superuser, you can execute
# shutdown now
from a running system, which will drop it to single user mode.
Alternatively, reboot the system, and at the boot prompt, enter the -s flag. The
system will then boot single user. At the shell prompt you should then run:
# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a
This checks the filesystems, remounts / read/write, mounts all the other UFS
filesystems referenced in /etc/fstab and then turns swapping on.
Note: If your CMOS clock is set to local time and not to GMT, you may also need
to run the following command:
# adjkerntz -i
This will make sure that your local timezone settings get set up correctly -
without this, you may later run into some problems.
With best regards, Evgeny. Wed, 17 Apr 2002 / 19:58
--- dъaъtъaъfъoъrъcъe
* Origin: What can change a nature of a man? (2:463/367.18)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/34073cbdaa77.html, оценка из 5, голосов 10
|