Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 12:46:17 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, mike@smith.net.au
Cc:        current@FreeBSD.ORG, dcs@newsguy.com
Subject:   Re: How to add a new bootdevice to the new boot code ???
Message-ID:  <199903220146.MAA23082@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >> I pass "foo" from 1:foo(2s1a)kernel in my version of the old boot blocks.
>> >
>> >And you determine "foo" how?
>> 
>> I type it into the config file or the command line.
>
>And you submit that this is an acceptable solution?

Of course.  The FreeBSD device name won't change (modulo implementation
bugs), and even when it does, changing the config file is easier than
changing /etc/fstab.

Note that there is, or should be, no problem here with the BIOS drive
number.  My example has "1:" in it to switch from the default BIOS
drive of hard disk 0.  The boot blocks should read the config file on
the new drive[,slice,partition] to determine the FreeBSD device name
(drive and unit number, but not slice or partition).  Leave out "1:"
from my example.  Then booting will not be affected by changes in the
BIOS drive number.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903220146.MAA23082>