Rework sections on booting FreeBSD from LILO and Linux from BootEasy.
PR: 5247 Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
This commit is contained in:
parent
4887e43d25
commit
c334ebd9e4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2857
1 changed files with 50 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $Id: admin.sgml,v 1.4 1998-05-19 01:42:13 jkh Exp $ -->
|
||||
<!-- $Id: admin.sgml,v 1.5 1998-05-27 05:29:25 jkoshy Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
|
||||
<sect>
|
||||
|
@ -246,11 +246,55 @@
|
|||
How do I boot FreeBSD and Linux from LILO?
|
||||
</heading>
|
||||
|
||||
<p>Theoretically you should be able to boot FreeBSD from LILO by
|
||||
treating it as a DOS-style operating system, but I haven't been
|
||||
able to get it to work. If you put LILO at the start of your Linux
|
||||
boot partition instead of in the MBR, you can boot LILO from the
|
||||
FreeBSD boot manager. This is what I do.
|
||||
<p>If you have FreeBSD and Linux on the same disk, just follow
|
||||
LILO's installation instructions for booting a non-Linux operating
|
||||
system. Very briefly, these are:
|
||||
|
||||
<p>Boot Linux, and add the following lines to
|
||||
<tt>/etc/lilo.conf</tt>:
|
||||
<verb>
|
||||
other=/dev/hda2
|
||||
table=/dev/hda
|
||||
label=FreeBSD
|
||||
</verb>
|
||||
(the above assumes that your FreeBSD slice is known to Linux as
|
||||
<tt>/dev/hda2</tt>; tailor to suit your setup). Then,
|
||||
run <tt>lilo</tt> as root and you should be done.
|
||||
|
||||
<p>If FreeBSD resides on another disk, you need to add
|
||||
``<tt>loader=/boot/chain.b</tt>'' to the LILO entry.
|
||||
For example:
|
||||
<verb>
|
||||
other=/dev/sdb4
|
||||
table=/dev/sdb
|
||||
loader=/boot/chain.b
|
||||
label=FreeBSD
|
||||
</verb>
|
||||
|
||||
<p>In some cases you may need to specify the BIOS drive number
|
||||
to the FreeBSD boot loader to successfully boot off the second disk.
|
||||
For example, if your FreeBSD SCSI disk is probed by BIOS as BIOS
|
||||
disk 1, at the FreeBSD boot loader prompt you need to specify:
|
||||
<verb>
|
||||
Boot: 1:sd(0,a)/kernel
|
||||
</verb>
|
||||
|
||||
<p>On FreeBSD 2.2.5 and later, you can configure <htmlurl
|
||||
url="http://www.freebsd.org/cgi/man.cgi?boot(8)" name="boot(8)">
|
||||
to automatically do this for you at boot time.
|
||||
|
||||
<p>The <htmlurl
|
||||
url="http://sunsite.unc.edu/LDP/HOWTO/mini/Linux+FreeBSD.html"
|
||||
name="Linux+FreeBSD mini-HOWTO"> is a good reference for
|
||||
FreeBSD and Linux interoperability issues.
|
||||
|
||||
<sect1>
|
||||
<heading>
|
||||
How do I boot FreeBSD and Linux using BootEasy?
|
||||
</heading>
|
||||
|
||||
<p>Install LILO at the start of your Linux boot partition instead of
|
||||
in the Master Boot Record. You can then boot LILO from BootEasy.
|
||||
|
||||
<p>If you're running Windows-95 and Linux this is recommended anyway,
|
||||
to make it simpler to get Linux booting again if you should need
|
||||
|
|
Loading…
Reference in a new issue