Vincent Danen <[EMAIL PROTECTED]> writes:


[...]

> > 
> > i automagically recognize the bootload (blank,windoze,pqmagic,lilo...).
> 
> Do you recognize OS/2, BeOS, DOS, and so on?  Other OS's as well?  I'd
> like to know because if it does, I'll add that info to my review.

Here is what i recognise (and how) :

my @MBR_signatures = (
    [ 'empty', 0, "\0\0\0\0" ],
    [ 'lilo', 0x6,  "LILO" ],
    [ 'osbs', 0x2,  "OSBS" ], #- http://www.prz.tu-berlin.de/~wolf/os-bs.html
    [ 'pqmagic', 0xef, "PQV" ],
    [ 'BootStar', 0x130, "BootStar:" ],
    [ 'DocsBoot', 0x148, 'DocsBoot' ],
    [ 'system_commander', 0x1ad, "SYSCMNDRSYS" ],
    [ 'Be Os', 0x24, 'Boot Manager' ],
    [ 'TimO', 0, 'IBM Thinkpad hibernation partition' ],
    [ 'os2', 0x1c2, "\xA" ],
    [ 'dos', 0xa0, "\x25\x03\x4E\x02\xCD\x13" ],
    [ 'dos', 0x60, "\xBB\x00\x7C\xB8\x01\x02\x57\xCD\x13\x5F\x73\x0C\x33\xC0\xCD\x13" 
], #- nt's
    [ 'freebsd', 0xC0, "\x00\x30\xE4\xCD\x16\xCD\x19\xBB\x07\x00\xB4" ],
    [ 'dummy', 0xAC, "\x0E\xB3\x07\x56\xCD\x10\x5E\xEB" ], #- caldera?
    [ 'ranish', 0x100, "\x6A\x10\xB4\x42\x8B\xF4\xCD\x13\x8B\xE5\x73" ],
);

but all i do is default onMbr to member($type, qw(dos dummy lilo empty))

that way, in Recommended, the MBR is used if it was dos/empty/lilo or dummy
before.

if there is system_commander for example, i install on the boot sector, that's
all. You have to configure your boot loader to tell it to look at that partition
(unless it is smart enough to detect the change)

> 
> > one thing i don't know is wether an existing lilo should overwritten in
> > Recommended. The problem with lilo is that is very hard to take the existing
> > configuration and add new configuration to it.
> 
> Well, as it stands right now, it overwrites the existing lilo.  Would be
> nice to be prompted to do so if it finds an existing lilo, but I can
> understand how "merging" the two would be a little difficult...
> 

little is not the good word, very is :)

cu Pixel.

Reply via email to