Subject: Re: netbsd 2.0 no operating system - CORRECTION
To: None <netbsd-users@netbsd.org>
From: Nenad Crnko <nc@pcmagic.net>
List: netbsd-users
Date: 04/06/2005 03:05:46
In my previous message
http://mail-index.netbsd.org/netbsd-users/2005/04/06/0002.html
there is a typo.
in step 5 you should, of course, install bootblocks to wd1
rather than wd0:
-------------------------|
v
# installboot /dev/rwd1a /usr/mdec/bootxx_ffsv1
Also, copying /usr/mdec/boot to the correct location is only possible
if the target fs is mounted, i.e.
# fsck wd1a
# mount /dev/wd1a /mnt2
# cp /usr/mdec/boot /mnt2/boot
In step 6 I should have been more precise. When checking fstab
and dev/ the reference should have been to a mounted /dev/wd1a.
So assuming you have booted from the install cd and mounted wd1a
to /mnt2, then the correct commands would be:
# cd /mnt2/dev/
# ./MAKEDEV all
and fstab would have been in /mnt2/etc/.
In order to (re)initialize wd1 mbr with boot code without bootselector,
which is adequate if there is only one OS on wd1, you can
# fdisk -i -c /usr/mdec/mbr wd1