[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dualboot linux/openbsd Bad magic



Christoffer Walther wrote
>
> > Hello, I think this might have been discussed before -- however I could
not find any
> > definitive explanation/solution by searching the web. I got a spare
machine that needs
> > to be spare for two machines, in case of a hardware breakdown. I got
linux on the
> > first 9gb of the disk, and openbsd on the last 9gb. I got lilo in the
mbr, it boots linux
> > fine but when try boot openbsd, I get the error "Bad magic". The disk is
scsi.
> >
> > I heard something about openbsd must be located within the first 1023
sectors on the disk
> > to be able to boot. Is this correct, or is there a workaround -- or some
way to be able to
> > boot linux and openbsd, without having to install third-party commercial
boot managers?

Dries Schellekens responed
>
> Yes. OpenBSD must be within the first 8 Gb. This is explained in
> http://www.openbsd.org/faq/faq14.html#LargeDrive
> http://www.holland-consulting.net/tech/ocep/disks.html#bigdisk
> http://www.holland-consulting.net/tech/ocep/disks.html#partition

And I thought I'd ask, can Linux and openBSD alternate partitions on a disk,
such that you could put the boot partitions for both way down under the
cylinder limit:

    OBSD boot
    Linux boot
    OBSD
    OBSD
    ...
    Linux
    Linux
    ...

It seems like it should work.

(Of course, this should be over on misc, I think, and in fact I think it
is.)

Joel Rees
Alps Giken Kansai Systems Develoment
Suita, Osaka