Udo Möller | 22 Feb 2010 13:53
Picon

Update of NetBSD bring-up

Hi,

Matthias was right with his suggestion to create a more complete emulation of the DUART. After adding the second
channel the install kernel started and showed the prompt "#" !

The next step was to learn more about installing. Simple execution of the "install" script does not work.
The script
wanted to write something on the ram-disk but this device is read-only. Again Matthias helped me and suggested
to do the work of the script by hand.

I did the following :

disklabel -i -I sd0 :            created 2 partitions , one 4.2BSD and the other boot
bim :                                  "add /usr/mdec/boot boot"
newfs /dec/rsd0a hallo
mount -v /dev/sd0a /mnt

And the sd0a is alive ! I could copy, do ls and it is fascinating to watch in the emulation where it is reading
and writing.

Then I prepared the disk for booting :

cp /tmp/.hdprofile to /mnt/.profile
put the netbsd.GENERIC kernel of the web on it
cp instbin to /mnt/instbin

This instbin is a container with a lot of usefull programs in it. Therefore I think it is necessary for
further work until the
rest is installed. The install.html document does not tell any details about it . In the install script I
found a command
(Continue reading)

Phil Nelson | 22 Feb 2010 16:00
Picon

Re: Update of NetBSD bring-up

On Monday 22 February 2010 4:53:50 am you wrote:
> What is missing ? Do I have to extract the etc-package before I reboot ?

It sounded good until you couldn't use pax.   tar is the program on the
ram disk that you should use.  You need to extract on sd0 at least
base.tgz and etc.tgz to get your sd0 ready for booting.

Reboot the install image, mount sd0 and extract using tar those sets.
If you don't change the sd0's version of /etc/rc.conf, the boot should
stay in single user mode until you edit that file.  Read more about it
in the INSTALL.* documents with the distribution.  I'm presuming you
are using 1.5.3 distribution to get your disk set up.

--Phil

--

-- 
Phil Nelson (phil at cs.wwu.edu) http://www.cs.wwu.edu/nelson
NetBSD: http://www.NetBSD.org  Coda: http://www.coda.cs.cmu.edu

Jon Buller | 23 Feb 2010 00:42
Favicon

Re: Update of NetBSD bring-up

And don't forget to create a few devices in /dev also.  IIRC, you will need
to do something like "cd /dev; ./MAKEDEV std" which will create 
/dev/console,
/dev/null, and a few other commonly used devices.  You probably will want to
create some tty devices and a few ptys as well, and you might as well do it
all at once.

I have vague memories of forgetting to do that, and needing to download the
install image again to get to the point where I could do that.  I think the
images were a meg or so at the time, and took about forever to download over
the serial line when you wanted to play with your new (or upgraded) toy
*right now*.

Jon

Phil Nelson wrote:
> On Monday 22 February 2010 4:53:50 am you wrote:
>> What is missing ? Do I have to extract the etc-package before I reboot ?
> 
> It sounded good until you couldn't use pax.   tar is the program on the
> ram disk that you should use.  You need to extract on sd0 at least
> base.tgz and etc.tgz to get your sd0 ready for booting.
> 
> Reboot the install image, mount sd0 and extract using tar those sets.
> If you don't change the sd0's version of /etc/rc.conf, the boot should
> stay in single user mode until you edit that file.  Read more about it
> in the INSTALL.* documents with the distribution.  I'm presuming you
> are using 1.5.3 distribution to get your disk set up.
> 
> --Phil
(Continue reading)

Udo Möller | 22 Feb 2010 16:23
Picon

Re: Update of NetBSD bring-up

Hi Phil,
I'm using 1.5.3.
After enabling the IDE drive I will try again.
Regards,
Udo
> -----Ursprüngliche Nachricht-----
> Von: "Phil Nelson" <phil <at> cs.wwu.edu>
> Gesendet: 22.02.10 16:02:30
> An: Udo Möller <udo.a.moeller <at> web.de>
> CC: port-pc532 <at> netbsd.org
> Betreff: Re: Update of NetBSD bring-up

> On Monday 22 February 2010 4:53:50 am you wrote:
> > What is missing ? Do I have to extract the etc-package before I reboot ?
> 
> It sounded good until you couldn't use pax.   tar is the program on the
> ram disk that you should use.  You need to extract on sd0 at least
> base.tgz and etc.tgz to get your sd0 ready for booting.
> 
> Reboot the install image, mount sd0 and extract using tar those sets.
> If you don't change the sd0's version of /etc/rc.conf, the boot should
> stay in single user mode until you edit that file.  Read more about it
> in the INSTALL.* documents with the distribution.  I'm presuming you
> are using 1.5.3 distribution to get your disk set up.
> 
> --Phil
> 
> -- 
> Phil Nelson (phil at cs.wwu.edu) http://www.cs.wwu.edu/nelson
> NetBSD: http://www.NetBSD.org  Coda: http://www.coda.cs.cmu.edu
(Continue reading)


Gmane