Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 1998 11:13:53 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Mike Smith <mike@smith.net.au>
Cc:        Christopher Hall <hsw@acm.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: /boot/loader what to set rootdev to? 
Message-ID:  <Pine.BSF.4.02A.9811271108220.16813-100000@korin.warman.org.pl>
In-Reply-To: <199811260513.VAA00592@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Nov 1998, Mike Smith wrote:

> > On Wed, 25 Nov 1998, Mike Smith wrote:
> > 
> > > > 
> > > > Let me add yet another question to this: is there any way to boot FreeBSD
> > > > from DOS partition, using /boot/loader?
> > > 
> > > It's not generally possible to boot FreeBSD once DOS has started; 
> > > modern DOS versions corrupt the BIOS vectors in a fashion that makes it 
> > > impossible to obtain system information.
> > 
> > I said: "is it possible to start from _DOS_ _partition_". Not "from under
> > running DOS"... see the difference? 
> 
> I didn't, no.  Yes, it's possible; you can load the kernel and then 

You mean: it's possible with current boot1/boot2 to load kernel from
DOS partition? How? Or, are you saying that /boot/loader is able to do
that? Then again, how?

Thus far all my attempts at using something other than FreeBSD partition
for $currdev result in nice System halted message.

BTW. Issuing 'set' with no args should behave as 'show' IMHO, instead of
'System halted'...

> either change $currdev or set $rootdev to the 'real' root filesystem.
> 
> ($rootdev was being bogusly ignored until recently, so you will want to 
>  be up to date)

I am (sources as of yesterday).

While I'm at it: I think the built-in commands of /boot/loader should
leave their result on Forth stack. Otherwise it's really hard to test if
they were successfull.

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


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?Pine.BSF.4.02A.9811271108220.16813-100000>