Subject: RE: Distribution almost complete
To: None <port-hpcarm@netbsd.org>
From: Jason Mitchell <jmitchel@bigjar.com>
List: port-hpcarm
Date: 12/18/2002 20:08:04
-----Original Message-----
From: sengel@melshake.com [mailto:sengel@melshake.com]
Sent: Wednesday, December 18, 2002 4:13 AM
To: jmitchel@bigjar.com
Subject: Re: Distribution almost complete
>>So I built a new disklabel, then made some changes to sysinst so it
>>automatically creates slice e (so the dos partition where the utils are is
>>still accessable after the disklabel) and updated the sysinst menus to
>>reflect the hpcarm sets available.
>Don't forget to check that maxpartitions differ from arch to arch
>(16 for i386 / 8 for hpcharm).
Sysinst reads in the max partitions from the current architecture, so I
think that's okay. I did change sysinst to create slices a,b,c,d, & f
(rather than a,b,c,d,e,f,g as is the default on a 16 partition machine). Or
maybe I'm confused?
>>Everything works fine through MAKEDEV and changing the root password.
>>Sysinst complains about the file system failing a sanity check (because
>>there's no /netbsd, although there may be other problems).
>Did you hack sysinst to mount the "DOS" slice, if you do so then
>you can patch /etc/rc.d/sysdb
> booted_kernel=`sysctl -n machdep.booted_kernel 2>/dev/null`
>+ gunzip -c /DOS/$booted_kernel > /netbsd
>- kvm_mkdb "${booted_kernel:-/netbsd}"
>+ kvm_mkdb "/netbsd"
Actually the "DOS" slice is already mounted (that's where sysinst is running
from). I haven't figured out the minimal number of scripts to make init
happy, so that's why the instructions have to specify all of the commands
that they do. Once I get that working I think "touch /mnt/netbsd" might be
enough to keep sysinst from whining.
>>Then it exits with the message "sysinst terminated." But the resulting
system will boot,
>>so I guess it isn't a big deal.
>>
>>To recap, here are the steps.
>>
>>Create a DOS partition on a CF card of 15MB. Make sure it is the first
>>partition on the flash (Partition 0)
>>Copy the files from: ftp://www.rtgx.com/pub/hpcarm-dist/install-files to
the
>>DOS partition
>>Put the card in your Jornada.
>>If you have WinCE data you want to keep. Back it up now! It will be gone
>>after the next step.
>>Run HPCboot.exe -- the directory should be set to \Storage Card and
>Like any M$ product, the name are locale, therefore in my french WinCE,
"\Storage Card" = "\Carte de Stockage" :-/ ...
Right, sorry for the anglo-centrism :) I was tired and forgot that.