Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 14:03:50 +0200
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-hackers@freebsd.org
Subject:   Re: How to auto-boot from an alternate disk
Message-ID:  <3B03BE26.2729D481@stack.nl>

next in thread | raw e-mail | index | archive | help
Brian Somers wrote:
>
> Hi,
>
> I have a machine with 3 IDE disks and 2 SCSI disks and I want to boot
> from the first SCSI disk.... *but* my BIOS won't boot it.
>
> How are you supposed to do this ?
>
> I've currently done
>
> # boot0cfg -v -t 10 -B -s 5 ad0
> # boot0cfg -v -t 1 -B -s 5 -m 0 ad1
> # boot0cfg -v -t 1 -B -s 5 -m 0 ad2
>
> Which causes things to merrily skip across my IDE disks 'till it
> finds the first SCSI disk, loads /boot/loader from there, finds my
> kernel and then drops into a dumb ``manual mount'' prompt that makes
> me say ``ufs:/dev/da0s1a''.
>
> What I'd *REALLY* like is some way to just say ``default to
> 3:da(0,a)/boot/loader''.
>
> Any suggestions ?
I'm not completely sure, but when you would create a file boot.loader
on da0s1a containing:
  3:da(0,a)/boot/loader
the bootloader should be loaded from da3s1a.
(for more info see man 8 boot)

- Willem

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B03BE26.2729D481>