Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 1999 12:43:40 +0100 (MET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        zzhang@cs.binghamton.edu
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: easyboot far into disk
Message-ID:  <199911061143.MAA35365@saturn.kn-bremen.de>
In-Reply-To: <Pine.GSO.3.96.991105105730.28840B-100000@sol.cs.binghamton.edu>
References:  <199911051534.HAA02236@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.GSO.3.96.991105105730.28840B-100000@sol.cs.binghamton.edu> you write:

>Also, Linux can boot from a floppy.  Can FreeBSD does similar things (boot
>from a floppy and then use data on the hard drive)? 

Seems so, use a modified kern.flp with your kernel and change its
loader.rc: remove the loading of the mfsroot image and add a line
that sets currdev to point to your root fs (you can use lsdev in
the loader to find it), and you should be ready to go.  (I first
tried setting rootdev instead but that seems to be getting ignored
completely at least when booting from a floppy.)

 Btw i remember reading in a commitlog that the concept of a `current
device' in loader is about to go, so maybe now this no longer works in
-current...

 (Maybe this should be added to the FAQ as a method of last resort when
the BIOS boot code can't see above cyl 1024?)

 Regards,
-- 
Juergen Lock <nox.foo@jelal.kn-bremen.de>
(remove dot foo from address to reply)


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




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