Am Donnerstag, den 29.12.2005, 14:32 +0000 schrieb Craig McLean:
You can read master boot record and search on it. dd if=/dev/hda of=~/mbr.bak bs=512 count=1 then: cat ~/mbr.bak the result is not very nice, but there can be read sometinh like "GRUB GeomHard DiskRead Error" for grub, I have't lilo, but think there must be something else in result of cat :)
You might be better off using 'strings ~/mbr.bak', rather than a pure 'cat'.
fwiw
# file ~/mbr.bak mbr.bak: x86 boot sector, GRand Unified Bootloader (0.94), code offset 0x48
Thomas