Hi,Philip I install the OpenBSD 4.5 from official CD with the (I)nstall option,
I md5sum the " OpenBSD 4.5 offical ISO file", it is correct. ( I am not sure whether it is broken when burning CD) I try to re-install OpenBSD 4.5 and , run these command before the first reboot: #/mnt/usr/sbin/chroot /mnt/ #cd /mnt #file boot boot: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, stripped #ls -al boot -rw-r--r-- 1 root wheel 43380 May 11 17:10 boot then, boot it, but also " Using drive 0, partition 2. Loading... ERR M " 2009/5/11 Philip Guenther <guent...@gmail.com> > On Sat, May 9, 2009 at 7:35 PM, Feifei (7I7I) <feifei...@gmail.com> wrote: > > Yes, actually I have read this "man biosboot", but the point is I don't > know > > how to resolve this issue :-(. > ... > >> > I installed the OpenBSD 4.5 some days ago, but boot failed after all > >> > installation were completed. I flag the partition of OpenBSD bootable > >> > ,but only get "loading ... ERR M" error code, > > Can you describe _how_ you installed OpenBSD 4.5? From an official CD > and the '(U)pgrade' option? From source? Some other method? > > Next, you say you've read the biosboot manpage, so you've seen this: > ERR M Bad magic. The ELF ``magic number'' \7fELF in boot(8)'s > header > was not found. This indicates that the first block of boot(8) > was not read correctly. This could be due to disk corruption, > failing to run installboot(8), giving an invalid boot(8) > program > as the boot argument to installboot(8), or incorrect geometry > translation. > > There are four error conditions listed there: > 1) disk corruption > 2) installboot wasn't run > 3) bad boot program when installboot was run > 4) incorrect geometry > > I asked above how you did the installation because that might point to > or rule out condition (2). > > To test condition (3), I would start by examining the output of > ls -l /boot > file /boot > > > (I find your partitioning scheme, with extended partitions nested four > deep but only 6 real partitions, to be bizarre, but hey, whatever > floats your boat.) > > > Philip Guenther