Re: i386 bootsect.S & setup.S

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu Jun 22 2000 - 14:18:04 EST


Followup to: <OFEAD142FD.11535184-ON86256906.0061DEDE@imation.com>
By author: jjore@imation.com
In newsgroup: linux.dev.kernel
>
> Since arch/i386/boot/bootsect.S is only used when the kernel is located at
> 0/0/0 and the BIOS is looking for something to transfer control to I'm
> sure that in 97% of the cases that something like LILO is a much better
> solution. The outlying 3% are probably just going to be used for boot
> disks where the kernel is the only data on the disk or boot/root disks
> where the kernel starts the disk and looks for the root filesystem at some
> specified offset from 0. In this case I'll guess that the root finding
> code can be dispensed with since I think that we can expect that the root
> device has already been set at either compile time or later through rdev.
>

Even then, you might be much better off running SYSLINUX. It was
designed to be used on boot floppies.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:24 EST