Add some additional info about dual-booting FreeBSD and Linux.
PR: 34391 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
This commit is contained in:
parent
562363f168
commit
823f09c4cf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11982
1 changed files with 28 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/boot/chapter.sgml,v 1.29 2001/09/10 11:52:02 dd Exp $
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
<chapter id="boot">
|
||||
|
@ -155,6 +155,33 @@ Default: F2</screen>
|
|||
disk, <devicename>ad2</devicename> for the first IDE disk on a second
|
||||
IDE controller, <devicename>da0</devicename> for the first SCSI disk,
|
||||
and so on.</para>
|
||||
|
||||
<para>If you are a Linux user, however, and prefer that
|
||||
<application>LILO</application> control the boot process, you can
|
||||
edit the <filename>/etc/lilo.conf</filename> file for FreeBSD, or
|
||||
select <option>Leave The Master Boot Record Untouched</option>
|
||||
during the FreeBSD installation process. If you have installed the
|
||||
the FreeBSD boot manager, you can boot back into Linux and modify the
|
||||
<application>LILO</application> configuration file
|
||||
<filename>/etc/lilo.conf</filename> and add the following
|
||||
option:</para>
|
||||
|
||||
<programlisting>other=/dev/hdXY
|
||||
table=/dev/hdb
|
||||
loader=/boot/chain.b
|
||||
label=FreeBSD</programlisting>
|
||||
|
||||
<para>which will permit the booting of FreeBSD and Linux via
|
||||
<application>LILO</application>. In our example, we use
|
||||
<replaceable>XY</replaceable> to determine drive number and
|
||||
partition. If you are using a <acronym>SCSI</acronym> drive, you
|
||||
will want to change <replaceable>/dev/hdXY</replaceable> to read
|
||||
something similar to <replaceable>/dev/sdXY</replaceable>, which
|
||||
again uses the <replaceable>XY</replaceable> syntax. The
|
||||
<option>loader=/boot/chain.b</option> can be omitted if you have
|
||||
both operating systems on the same drive. You can now run
|
||||
<command>/sbin/lilo -v</command> to commit your new changes to the
|
||||
system, this should be verified with screen messages.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="boot-boot1">
|
||||
|
|
Loading…
Reference in a new issue