Hello,
On Wed, 30 Jan 2008, Raimo Niskanen wrote:
On Tue, Jan 29, 2008 at 10:31:28PM -0500, Richard Daemon wrote:
...
But of course you have "boot -a" at the boot prompt for selecting the root
device. And I want to try the same the next days :-)
Regards
Stefan Kell
That brings up another question, hopefully there's an answer... rather than
having to do boot -a (even from boot.conf) and be present to hit <enter>
during root device selection, is there an easy way to tell it, yes, choose
the default it sees after this?
Not that I am certain it would solve your problem completely,
but I would love having a boot(8) prompt command
boot [image [root] [-acds]]
and
set root [value]
It would then also be possible to set it in /etc/boot.conf.
But as far as I know it is a missing feature. And I
do not think the kernel is able to get root device
as an argument (yet).
Another not as good and still missing feature would be
to be able to set root device from boot_config(8).
ie: if I do a full install on a USB flash, boot up normal, it panics into
ddb> mode because of root device as wd0 when it should be sd0. If I do boot
-a, it asks for default of sd0 rather than wd0 but expects manual
intervention, such as pressing <enter>. Is there a way to bypass this other
than recompile a new, custom kernel?
The Generic kernel on i386 tries hard to find the correct boot device and
assumes the the rootfilesystem is on partition "a" on this device. So if
your kernel and boot files are on the USB-stick, the kernel should not
panic but use sd0a as rootfilesystem.
Regards
Stefan Kell