Subject: Re: which snapshot ?
To: None <nbsd@righi.dhs.org>
From: None <jkunz@unixag-kl.fh-kl.de>
List: port-vax
Date: 07/12/2000 21:02:00
On 12 Jul, nbsd@righi.dhs.org wrote:
> how I Can boot 20000517 and install 20000620-1.5 snapshot ??
> sorry for stupid questoins.
??? What is the problem?
Boot the 20000517-CDROM.
Go to a root-shell.
Place a disklabel on the disk.
disklabel sd0 > /tmp/dl
disklabel -rR sd0 /tmp/dl
Tis is required because "disklabel -i" does not work on unlabeld disks.
disklabel -i
I recommend at leest 32MB /, 32MB swap (64MB better), rest /usr
P prints the label
W writes it and
Q quits
Make the filesystems...
newfs /dev/sd0a
....
and mount them.
mount -o async /dev/sd0a /mnt
mkdir /mnt/usr
mount -o async /dev/sd0e /mnt/usr
Get and untar the sets. e.g.
mount NFS_server:/where/the/sets/are /mnt2
for a in /mnt2/*.tar.gz ; do
tar xzfp $a -C /mnt
done
or ftp them to /mnt/usr/tmp, or do tricks like
rsh server 'zcat /where/the/sets/are/base.tar.gz' | tar xfp - -C /mnt
Make the dev-nodes
cd /mnt/dev && ./MAKEDEV all
Make the disk bootable with the new bootblocks
disklabel -B -b /mnt/usr/mdec/sdboot sd0
Edit /mnt/etc/rc.conf and /mnt/etc/fstab, reboot from disk and be happy.
:-)
--
tschüß,
Jochen
Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/