OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
/usr/mdec/installboot problems

From: abelteya.com (abelteya.com)
Date: Thu Dec 16 2004 - 08:42:09 CST


Hi all,

I have a problem with this command. I'm using a script that
uses this command with this syntax:

/usr/mdec/installboot -h $tracks_cylinder -s $sectors_track \
    $VNODE_MOUNT/$SECOND_BOOT $root_dir/$FIRST_BOOT
$vnode_device

And this syntax is correct until OpenBSD 3.4, but with my
OpenBSD 3.6 stable it isn't.

In OpenBSD 3.6 the correct syntax is:

installboot [-nv] boot biosboot disk

And in OpenBSD 3.4 the correct syntax was:

installboot [-n] [-v] [-s sectors-per-track] [-h tracks-per-cyl]
boot biosboot disk

How could I adapt this line to run the script in my OpenBSD 3.6?

I've thought that maybe sectors-per-track and tracks-per-
cylinder are not needed now to run the command but I'm not
sure.

Please help

Thanks