Emm Vasilakis | 11 Dec 15:45 2002
Picon

booting problem

Hi ppl,

yesterday I got NEtBSD 1.6 on my A3k. Did the install perfectly, but I
opted out when the procedure asked me if I wanted the bootblock on my
root device (somehow I though it would install it into my MBR). 

Anyway, I tried booting with loadbsd through AOS, but no luck.

issuing a loadbsd -b kerner-GENERIC (the one found in my
binary/sets/kernel.tgz), results in a "unkown binary" error.

Anyone knows what's wrong and how can I boot bsd?

Thanks,
Emmanuel

Matthias Scheler | 11 Dec 17:04 2002
Picon

Re: booting problem

In article <1039617941.5684.3.camel <at> sylvester.rd.forthnet.gr>,
	Emm Vasilakis <evas <at> agn.forthnet.gr> writes:
> Anyway, I tried booting with loadbsd through AOS, but no luck.

LoadBSD doesn't support ELF kernel which NetBSD-Amiga 1.6 uses.

> Anyone knows what's wrong and how can I boot bsd?

You'll have to install the bootblocks.

	Kind regards

--

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

Ignatios Souvatzis | 11 Dec 16:24 2002
Picon

Re: booting problem

Geia,

On Wed, Dec 11, 2002 at 04:45:39PM +0200, Emm Vasilakis wrote:

> yesterday I got NEtBSD 1.6 on my A3k. Did the install perfectly, but I
> opted out when the procedure asked me if I wanted the bootblock on my
> root device

Hm. Obviously, we shouldn't ask for this anymore... sorry. See below.

> (somehow I though it would install it into my MBR). 

Err, on the RDB? (MBR is the equivalent, but less powerfull PC structure).
No, it doesn't. Currently, it even doesn't set the necessary bits to really
use the bootblock... to be done.

> issuing a loadbsd -b kerner-GENERIC (the one found in my
> binary/sets/kernel.tgz), results in a "unkown binary" error.
> 
> Anyone knows what's wrong and how can I boot bsd?

Not at all. Loadbsd can't boot ELF binaries and isn't supported anymore.

There is a replacement that can boot bootblocks... but they have to be
already on the target partition, so this doens't help for your situation.

Easy way out:

1. install the miniroot on the swap partition again.
2. boot the miniroot, but adding the "-bs" flag.
(Continue reading)

John Klos | 11 Dec 19:02 2002

Booting from AmigsDOS via bootblocks?

Hi,

> Not at all. Loadbsd can't boot ELF binaries and isn't supported anymore.
>
> There is a replacement that can boot bootblocks... but they have to be
> already on the target partition, so this doens't help for your situation.

There is? Where? What's it called? I suppose this means that I can now
boot into AmigaDOS, have AmigaDOS start up my BridgeBoard, then boot
NetBSD via executing the bootblocks?

If so, then my BridgeBoard would have a life - as an IP NAT router for a
wirless card in an ISA to PCMCIA adapter...

Thanks,
John

Ignatios Souvatzis | 11 Dec 20:35 2002
Picon

Re: Booting from AmigsDOS via bootblocks?

Hi John,

On Wed, Dec 11, 2002 at 01:02:01PM -0500, John Klos wrote:

> There is? Where? What's it called?

distribution:amiga/installation/misc/runbootblock
distribution:amiga/installation/misc/runbootblock.README are the docs.

> I suppose this means that I can now
> boot into AmigaDOS, have AmigaDOS start up my BridgeBoard, then boot
> NetBSD via executing the bootblocks?

Yes, sounds possible.

> If so, then my BridgeBoard would have a life - as an IP NAT router for a
> wirless card in an ISA to PCMCIA adapter...

uhm, is this the 386 bridge board?

Regards,
	-is
John Klos | 11 Dec 21:20 2002

Re: Booting from AmigsDOS via bootblocks?

> > There is? Where? What's it called?
>
> distribution:amiga/installation/misc/runbootblock
> distribution:amiga/installation/misc/runbootblock.README are the docs.

Excellent. I suppose I could write this up into the install documents
after I've become familiar with it.

> > If so, then my BridgeBoard would have a life - as an IP NAT router for a
> > wirless card in an ISA to PCMCIA adapter...
>
> uhm, is this the 386 bridge board?

Yes, running NetBSD, I hope. There are some issues with it right now, but
I hope a custom kernel will fix that. The install kernel works, but the
generic kernel does not.

Thanks,
John

Gunther Nikl | 12 Dec 14:53 2002
Picon

loadfile (Was Re: booting problem)

On Wed, Dec 11, 2002 at 04:24:35PM +0100, Ignatios Souvatzis wrote:
> Loadbsd can't boot ELF binaries and isn't supported anymore.

  I always prefered loadbsd (ok, GoBSD :-). Adding support for ELF kernels
  (without symbol support) should be possible. I am currently exploring the
  loadfile() interface. It doesn't look that complicat at all. I already
  have a simple standalone program that can parse an ELF file (regardless of
  endianess :). However, I have problems to find the defintion of the READ
  macro used in loadfile_elf32.c. I grep the complete sources and
  /usr/include but no luck!? Where is it?

  Gunther

Christos Zoulas | 12 Dec 14:59 2002

Re: loadfile (Was Re: booting problem)

In article <20021212135348.GA70173 <at> lorien.int.gecko.de>,
Gunther Nikl <gni <at> gecko.de> wrote:
>On Wed, Dec 11, 2002 at 04:24:35PM +0100, Ignatios Souvatzis wrote:
>> Loadbsd can't boot ELF binaries and isn't supported anymore.
>
>  I always prefered loadbsd (ok, GoBSD :-). Adding support for ELF kernels
>  (without symbol support) should be possible. I am currently exploring the
>  loadfile() interface. It doesn't look that complicat at all. I already
>  have a simple standalone program that can parse an ELF file (regardless of
>  endianess :). However, I have problems to find the defintion of the READ
>  macro used in loadfile_elf32.c. I grep the complete sources and
>  /usr/include but no luck!? Where is it?

In loadfile_machdep.h in arch/*/include

christos

Gunther Nikl | 12 Dec 15:13 2002
Picon

Re: loadfile (Was Re: booting problem)

On Thu, Dec 12, 2002 at 01:59:32PM +0000, Christos Zoulas wrote:
> In article <20021212135348.GA70173 <at> lorien.int.gecko.de>,
> Gunther Nikl <gni <at> gecko.de> wrote:
> >  [READ macro]
> 
> In loadfile_machdep.h in arch/*/include

  Thanks! I guess my search expression was wrong ;-(

  Gunther

--

-- 
Linux is only free if your time has no value
 - Jamie Zawinsky

Emm Vasilakis | 12 Dec 19:53 2002
Picon

Re: booting problem

> # mount /usr
> # /usr/mdec/installboot /usr/mdec/xxboot /dev/rsd0a
> 

Hmm, I dont seem to find the xxboot file. It only has a bootxx_fd, a
bootxx_fs which when used, Netbsd boots but gives me an error 2.

Any ideas?

Thanks,
Emmanuel


Gmane