Skip to contentSkip to conversation

Add boot sector checksums to EDD

RFC PATCH Matt Domsch 1 participant 1 message Nov 10, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 1 line · Carl-Daniel Hailfinger

Michael E Brown schrieb:

(copying lkml again)

Quoted 8 lines
Quoted 3 lines

I'm curious, do you have a tool that uses the boot sector checksum? I
can think of a couple of places it could be useful, but all of my use-cases are adequately covered by simple signature.

The tool is SUSE hwinfo. Currently its author does the checksumming in the bootloader which kills some BIOSes (1st EDD request in the bootloader is ok, second request by kernel EDD startup code hangs the machine).

I'd be curious to understand this better. i.e. failure mode, why it fails, for what systems, etc.

Quoted 4 lines

I have some drives with identical mbr_signature (drives were wiped with dd before I got them). Using a checksum gives me at least some chance to identify them better because one has a bootloader, the other hasn't, they have different partition tables etc.

What wrote the bootloader to the first disk? Can *that* write a unique signature into the disk? Red Hat's build of parted includes a patch I wrote (not yet included in parted upstream IIRC) which has parted write a unique signature to each disk, so that's how we solve it there...

Thanks,
Matt

Signature · 4 lines
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com