openbsd启动时候一些参数
2009-05-13 04:03:34来源:未知 阅读 ()
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
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
下一篇:让人头痛的 Wine
- 急!断电源后不能启动[搞定了] 2009-05-13
- 用amd64版的兄弟么有用X的吗? 2009-05-13
- 启动dbus和hald网卡就不见了?? 2009-05-13
- netbsd启动gnome失败! 2009-05-13
- 声卡好使了,庆贺一下。 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash