Subject: Re: NetBSD + LINUX
To: <>
From: David Laight <david@spam.l8s.co.uk>
List: netbsd-users
Date: 01/13/2002 17:40:00
Charles Shannon Hendrix wrote:
>
> On Wed, Jan 09, 2002 at 10:14:09PM -0000, David Laight wrote:
>
> > lilo can't possibly fit into the mbr, not ever, not never, not in a month
> > of sundays....
>
> It does on my machine... :)
>
> LILO is rather small, which is one reason it lacks some of the features of
> grub, for example.
No, the netbsd mbr_bootsel code is small! It only just fits in the
mbr. There is no way you can squeeze all of what LILO does into 446
bytes - which is all that is available in the mbr. The fact that is has
this long list of options (usually for ways of booting Linux is a
general give away that is it loading additiona; code and data from
somewhere else.
If you dump out a LILO mbr (hexdump -C -n512 </dev/rdsk/wd0d) I'll
decode it by hand and tell you what the LILO mbr code actually does.
David