--On 08 June 2005 21:22 -0300, Luciano ES wrote:

Now, the bad thing. Contrasting with the very good experience I had
in my tests, I have already installed it three times because of a
problem that beats the heck out of me. You certainly have heard about
it before:

disk: fd0 hd0+
OpenBSD/i386 BOOT 2.02
open(hd0a:/etc/boot.conf: Invalid argument
boot>
booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
 failed(22). will try /obsd
 boot>
 booting hd0a:/obsd: open hd0a:/obsd: Invalid argument
 failed(22). will try /bsd.old

My first line is different from "disk: fd0 hd0+" because I have three
hard disks. And I guess it's not BOOT 2.02 anymore. I have OpenBSD
3.7. Actually, I copied the block above from the archives:

Well, you want help with your problem, not someone else's problem from 2003, with a very different bootloader...

Copy the exact message from your system. Either type it from the screen, being very careful that you don't miss any punctuation characters etc., or use a serial console as described on <http://www.openbsd.org/faq/faq4.html#getdmesg>

Output from disklabel might be useful, and you should include dmesg too.

But I couldn't find out how to fix the system and boot without the CD.
Reinstalling didn't work either. Neither did deleting and recreating
the disk labels. Actually, even if I format the slice with another
file system, the disk labels are still there when I try to reinstall.
The only method that worked for me was the following:

You can usually clear a disklabel by overwriting the start of the partition by dd'ing /dev/zero over it.

Reply via email to