-
H. Peter Anvin authored
This is the "boot sector removal" patch for i386 updated for Linux 2.5.63-bk7. The only change against the 2.5.59 version is that the FDOPTS Makefile variable, which lets one create a floppy image with arbitrary kernel options, has been merged from the x86-64 version, and the comments have been updated. The patch removes the in-kernel boot sector, which these days rarely work correctly (it only supports up to 1 MB kernels, and only work on legacy floppies -- not on IDE or USB devices, nor on any kind of emulated devices like El Torito), replaces it with a placeholder stub, and sets up the Makefile targets to create floppies or floppy images using SYSLINUX. The FDOPTS Makefile variable can be used to set kernel command line options (thanks to a suggestion by Andi Kleen.) Note that the same change has already been applied to the x86-64 architecture. The last hunk of the patch corrects a comment in that architecture.
72574bb3