openbsd启动时候一些参数

2009-05-13 04:03:34来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Delaying the Boot
  boot> set timeout 60
   boot>
This tells OpenBSD to boot after being idle for 60 seconds, which is not an unreasonable delay when you're poking around the boot loader trying to figure out what you want to do! Now, let's look at some more useful functions than slowing your system down

Booting Single-User
   boot> boot -s

如果系统崩溃在mount前需要fsck
# fsck -p
# mount -a


Starting the Network in Single-User Mode
# /bin/sh /etc/netstart

Other Useful Boot Commands
If you forget which kernels you have on a system, the "ls" command lists all the files in the root directory. You can list other directories on the root partition by giving a full path, i.e., "ls /etc."
The "boot" command by itself will boot the system immediately, without waiting for the five-second timeout. Similarly, the "reboot" command tells the system to do a warm boot.
The "help" command lists all available boot loader commands, including the less frequently used ones that we don't discuss here. If you want truly detailed help with the boot loader, however, you should go read the boot(8) man page.
Finally, you can combine the boot flags to achieve exactly the effects you want. To boot an old kernel in single-user mode, you would do this:
boot> boot -s /bsd.old


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21125/showart_146346.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:实现整网(N个Vlan)透明代理上网

下一篇:让人头痛的 Wine