LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 621|回复: 0

转贴boot的启动选项:

[复制链接]
发表于 2003-9-23 10:20:01 | 显示全部楼层 |阅读模式
Boot time Options - Using the OpenBSD bootloader
When booting your OpenBSD system, you have probably noticed the boot prompt.
boot>
For most people, you won't have to do anything here. It will automatically boot if no commands are given. But sometimes problems arise, or special functions are needed. That's where these options will come in handy. To start off, you should read through the boot(8) man page. Here we will go over the most common used commands for the bootloader.
To start off, if no commands are issued, the bootloader will automatically try to boot /bsd. If that fails it will try /obsd, and if that fails, it will try /bsd.old. You can specify this by hand by typing:
boot> boot wd0a:/bsd
or
boot> b /bsd
This will work if device wd0a is configured as your root device.
Here is a brief list of options you can use with the OpenBSD kernel.
·        -a : This will allow you to specify an alternate root device after booting the kernel.
·        -c : This allows you to enter the boot time configuration. Check the Boot Time Config section of the faq.
·        -s : This is the option to boot into single user mode.
·        -d : This option is used to dump the kernel into ddb. Keep in mind that you must have DDB built into the kernel.
These are entered in the format of: boot [ image [-acds]]
For further reading you can read boot_i386(8) man page
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表