Skip to contentSkip to conversation

Killing off the boot sector (was: [STATUS 2.5] January 8, 2002)

DISCUSSION Mikael Pettersson 2 participants 2 messages Jan 11, 2003 – Jan 22, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · H. Peter Anvin

Can we *please* kill off the stupid in-kernel boot sector? The probing method it uses to determine geometry is unreliable (doesn't work on anything but true legacy floppies, not IDE, not USB, not firewire); it generates these kinds of requests; doesn't handle large-size kernels; hard-codes the use of address 0x90000 which isn't available on all machines; and overall promotes what's fundamentally bad practice.

People keep asking what's the harm in keeping it, and the answer is, quite simply: "because people continue to try to use it."

While I have no particular affection for the in-kernel boot loader, I do care about being able to test new kernels with 'make bzdisk' as a regular user, using raw (no file system) floppies.

Last time I checked, LILO required both a file system and root privs (for FIBMAP). Would syslinux work better?

/Mikael

#1 lore raw
Quoted 8 lines · Mikael Pettersson

While I have no particular affection for the in-kernel boot loader, I do care about being able to test new kernels with 'make bzdisk' as a regular user, using raw (no file system) floppies.

Last time I checked, LILO required both a file system and root privs (for FIBMAP). Would syslinux work better?

SYSLINUX will work if (a) you have write permission to the device and (b) the device is included in /etc/fstab with "user" permissions.

-hpa