Problems setting up dual-boot
oremanj at webserver.get-linux.org
Sat Apr 26 10:19:52 PDT 2003
On Sat, Apr 26, 2003 at 11:33:03AM -0400 or thereabouts, Adam seemed to write:
> On Sat, 2003-04-26 at 11:18, dick hoogendijk wrote:
> > I have Win-XP on the first and FreeBSD on the second harddisk.
> > What I did was "boot0cfg -b boot0 hd0" PLUS the same for hd1.
> Just tried this:
> # boot0cfg -b boot0 ad0
> boot0cfg: /dev/ad0: unknown or incompatible boot code
> I think I know why it's confused. My fstab makes no mention of any other
> drives besides my ad3, which is dedicated to FreeBSD. Do I have to
> somehow mount hd0 before I can modify its MBR with boot0cfg?
No, that's not it.
To *install* boot0 (if it's not installed already) you have to have the -B
option. For example:
# boot0cfg -B ad0
(You don't need -b boot0)
To adjust the settings, you use it with flags and *no* -B option (see man
> Adam <blueeskimo at gmx.net>
More information about the freebsd-questions