On Wed, Oct 04, 2006 at 08:00:01PM -0400, Chris Zakelj wrote:
> Rod.. Whitworth wrote:
> > I have a 4801 with CF installed with 3.9 in exactly the manner I would
> > install on a HDD.
> >   
> Rod, tried to email you off-list, but it seems my ISP is relaying
> through a Chinese server that's on your blacklist.  Anyways, what
> special sauce are you using to install to CF?  Any time I've tried it
> using my IDE-CF adapter, the install seems to go cleanly (including
> fdisk/disklabel), but when the time comes to boot off the CF card (Lexar
> 512M), I'm stuck with 'ERR R', suggesting something is happening to the
> translation.  I'm discounting (perhaps incorrectly) the possibility of a
> read error since it's happened with three different cards.
> 

I use a USB for CF cards which shows up as sd0. You probably should look
at installboot(8). My procedure is as follows:

fdisk -u sd0
fdisk -e sd0
disklabel -E sd0
newfs /dev/rsd0a
mount /dev/sd0a /mnt
tar zxvpf (each set individually)
vi /mnt/etc/myname
vi /mnt/etc/hostname.$if
(create /etc/boot.conf)
cd /mnt/dev
./MAKEDEV all
chroot /mnt
passwd root
cd /etc
ln -sf /usr/share/zoneinfo/US/Pacific localtime
cp /usr/mdec/boot /
/usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0
(create or copy /etc/fstab)
vi /etc/ttys (for serial console)
exit
umount /mnt

This works without any issues in my experience. My guess is you are not
doing fdisk -u or the installboot(8) process.

Bryan

Reply via email to