Skip site navigation (1)Skip section navigation (2)
Date:      10 Aug 2002 23:18:01 +0200
From:      Ketanu <ketanu@wanadoo.fr>
To:        questions@freebsd.org
Subject:   Re: Setting a drive bootable
Message-ID:  <87ofca76ra.fsf@ketanu.dyndns.org>
In-Reply-To: <200208091004.28182.bts@babbleon.org>
References:  <Pine.LNX.4.44.0208090958120.10214-100000@janeway.vonbek.dhs.org> <200208091004.28182.bts@babbleon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Brian T. Schellenberger" <bts@babbleon.org> writes:

> On Friday 09 August 2002 09:58 am, John Bleichert wrote:
> | On Fri, 9 Aug 2002, Brian T. Schellenberger wrote:
> | > Did you have Linux install LILO to its own partition?
> |
> | No, I didn't install LILO. I couldm but I want to use the BSD bootloader.
> 
> No, that's not right.  To get Linux to work properly, you must intall LILO, 
> but if you want to use the BSD bootloader, you have to install LILO to the 
> Linux boot *partition* (or "slice" as BSD would say) rather than to the boot 
> *sector* of the *drive*.  If you don't install LILO at *all*, then the boot 
> will fail when press the F-key for Linux.  Which is because Linux can't load 
> without the Linux loader.

Some others bootloaders exists and are able to boot linux, i heard about
OSBS and another that uses windows, and i currently use GRUB (i386 only, i
guess) for one or two years. It is good, easy to install, easy to configure,
and can boot Linux as well as FreeBSD, OpenBSD, NetBSD, Hurd, Windows or DOS
and `SCO Unixware'.

Here is my config (menu) file, the first paragraph is decorative, and the
cues given to GRUB in other sections are rather straightforward, aren't they
? You may notice that GRUB uses the BSD bootloader instead of loading
directly the kernel into memory (this is the way the manual recommands to do
it, but alternatives do exist). 

---- CONFIG FILE ----
default 0
timeout 30
color cyan/black light-blue/black

title FreeBSD (4.6 STABLE)
root (hd0,1,a)
kernel /boot/loader

title Debian GNU/Linux Woody(r3) (Kernel 2.4.18+ketanu)
root (hd0,0)
kernel /vmlinuz-2.4.18+ketanu root=/dev/hda10 hdd=scsi

title Debian GNU/Linux Woody(r3) (Kernel 2.4.18-k6)
root (hd0,0)
kernel vmlinuz-2.4.18-k6 root=/dev/hda10 hdd=scsi
initrd initrd.img-2.4.18-k6
---- CONFIG FILE ----
 
Furthermore, GRUB has a shell-like interface, from which you can issue most
of the commands above, and many more, that can load modules into memory
before booting (i know it works with Hurd, but i do not know anything about
other kernels), take a look into some files or search against their names,
it has TAB-auto-complete feature, it can load a kernel through TFTP, and
wahwahwah. 

LILO can leave your system in a noon-bootable state, what will not happen
with GRUB because of the shell-like interface. 

LILO configuration file is disgushing, when GRUB one is as simple it could
be, just tell where is the kernel and go ahead.

LILO can be deinstalled from Debian 

LILO menu is ugly.

> Which is exactly the behavior you are seeing, of course.

[...]

-- 
Ketanu <ketanu@wanadoo.fr>  - RSA PGP Key ID: 0x20D90C12

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




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