Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Netbooting a VS4000/90



Martin Husemann wrote:

> On Fri, Jan 25, 2013 at 10:11:44AM +0100, Holm Tiffe wrote:
> > vs4000# /mnt/usr/sbin/installboot -c /dev/rsd1c
> > vs4000# /mnt/usr/sbin/installboot -v /dev/rsd1c /mnt/usr/mdec/xxboot
> > File system:         /dev/rsd1c
> > Primary bootstrap:   /mnt/usr/mdec/xxboot
> > Bootstrap start sector: 1
> > Bootstrap sector count: 12
> > Writing bootstrap
> > Writing boot block
> > vs4000# sync;sync
> 
> Sounds fine so far, have you copied /usr/mdec/boot to the root of that
> filesystem?
> 
> Martin


Yes.

Ok, lets doit again:

vs4000# ls -l
total 3079
-r-xr-xr-x   2 root  wheel     1400 Dec 21  2012 .cshrc
-r-xr-xr-x   2 root  wheel      953 Dec 21  2012 .profile
drwxr-xr-x   2 root  wheel      512 Dec 21  2012 altroot
drwxr-xr-x   2 root  wheel     1024 Dec 21  2012 bin
-r-xr-xr-x   1 root  wheel    60176 Dec 19  1915 boot
drwxr-xr-x   4 root  wheel      512 Dec 19  1915 dev
drwxr-xr-x  26 root  wheel     2048 Dec 19  1915 etc
drwxr-xr-x   2 root  wheel     1536 Dec 21  2012 lib
drwxr-xr-x   3 root  wheel      512 Dec 21  2012 libdata
drwxr-xr-x   5 root  wheel      512 Dec 21  2012 libexec
drwxr-xr-x   2 root  wheel      512 Dec 21  2012 mnt
-rwxr-xr-x   1 root  wheel  3046816 Dec 21  2012 netbsd
-r-xr-xr-x   1 root  wheel    11264 Dec 21  2012 pcs750.bin
drwxr-xr-x   2 root  wheel     3072 Dec 21  2012 rescue
drwxr-xr-x   2 root  wheel      512 Dec 19  1915 root
drwxr-xr-x   2 root  wheel     3072 Dec 21  2012 sbin
drwxr-xr-x   3 root  wheel      512 Dec 19  1915 stand
drwxrwxrwt   2 root  wheel      512 Dec 21  2012 tmp
drwxr-xr-x  12 root  wheel      512 Dec 19  1915 usr
drwxr-xr-x  23 root  wheel      512 Dec 21  2012 var
vs4000# cp usr/mdec/boot /mnt
vs4000# ls -l
total 3079
-r-xr-xr-x   2 root  wheel     1400 Dec 21 16:43 .cshrc
-r-xr-xr-x   2 root  wheel      953 Dec 21 16:43 .profile
drwxr-xr-x   2 root  wheel      512 Dec 21 16:28 altroot
drwxr-xr-x   2 root  wheel     1024 Dec 21 16:39 bin
-r-xr-xr-x   1 root  wheel    60176 Jan 25 10:46 boot
drwxr-xr-x   4 root  wheel      512 Dec 19  1915 dev
drwxr-xr-x  26 root  wheel     2048 Dec 19  1915 etc
drwxr-xr-x   2 root  wheel     1536 Dec 21 16:39 lib
drwxr-xr-x   3 root  wheel      512 Dec 21 16:28 libdata
drwxr-xr-x   5 root  wheel      512 Dec 21 16:39 libexec
drwxr-xr-x   2 root  wheel      512 Dec 21 16:28 mnt
-rwxr-xr-x   1 root  wheel  3046816 Dec 21 16:45 netbsd
-r-xr-xr-x   1 root  wheel    11264 Dec 21 16:39 pcs750.bin
drwxr-xr-x   2 root  wheel     3072 Dec 21 16:39 rescue
drwxr-xr-x   2 root  wheel      512 Dec 19  1915 root
drwxr-xr-x   2 root  wheel     3072 Dec 21 16:39 sbin
drwxr-xr-x   3 root  wheel      512 Dec 19  1915 stand
drwxrwxrwt   2 root  wheel      512 Dec 21 16:28 tmp
drwxr-xr-x  12 root  wheel      512 Dec 19  1915 usr
drwxr-xr-x  23 root  wheel      512 Dec 21 16:28 var
vs4000# sync
vs4000# reboot
reboot: rebooted by root

...

>>> sh dev

  VMS/VMB      ADDR      DEVTYPE    NUMBYTES     RM/FX    WP    DEVNAM
REV
  -------      ----      -------    --------     -----    --    ------
---
  EZA0         08-00-2B-3C-1C-DB
  DKA0         A/0/0     DISK         2.10GB      FX            RZ28
442D
  DKA100       A/1/0     DISK         4.22GB      FX            DCAS-34
S63A
 ..HostID..    A/6       INITR



>>> b dka100

 
>>> b dka100

 
>>> b dka100

 
>>> 

...that brings back the chevron instandly every time.

This is NetBSD-6.0.1.

e recommend that you create a non-root account and use su(1) for root
access.
vs4000# mount /dev/sd1a /mnt
vs4000# mount /dev/sd1d /mnt/var
vs4000# mount /dev/sd1e /mnt/usr
vs4000# cd /mnt/usr/mdec
vs4000# ls
boot            raboot          sdboot          xxboot_ustarfs
hpboot          rdboot          xxboot
vs4000# cksum *
3201487691 60176 boot
2424397045 5788 hpboot
2424397045 5788 raboot
2424397045 5788 rdboot
2424397045 5788 sdboot
2424397045 5788 xxboot
1358176797 4524 xxboot_ustarfs
vs4000# cksum /mnt/boot
3201487691 60176 /mnt/boot
vs4000#


What should I try next?

Regards,

Holm
-- 
      Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe, 
     Freiberger Straße 42, 09600 Oberschöna, USt-Id: DE253710583
  www.tsht.de, info%tsht.de@localhost, Fax +49 3731 74200, Mobil: 0172 8790 741



Home | Main Index | Thread Index | Old Index