Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 14:59:58 -0700 (PDT)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org, gunther@aurora.regenstrief.org
Subject:   Re: problems with DiskOnChip ...
Message-ID:  <200104022159.f32LxwW00390@mail.cruzio.com>

index | next in thread | raw e-mail



 This is basically what I have been using to format
the 8 M DiskOnChip (and put a bootable picoBSD on it), 
I'm not sure its the best way, but works ok without
errors other than a disklabel warning about the 
partition c use flag:

-----------------
dd if=/dev/zero of=/dev/fla0c count=100
dd if=/dev/zero of=/dev/fla0c count=100
disklabel -r -w /dev/fla0c doct
newfs /dev/fla0c
mount /dev/fla0c /mnt
mount /dev/fd0c  /mnt1
cp /mnt1/kernel /mnt
umount /mnt
umount /mnt1
disklabel -r -B -b /boot/boot1 -s /boot/boot2 /dev/fla0c
-----------------

Using this disktab "doct" entry:

----------------
doct:ty=removable:dt=DOC2K:se#512:nt#1:rm#300:\
        :ns#15920:nc#1:\
        :pa#15920:oa#0:ba#4096:fa#512:\
        :pc#15920:oc#0:bc#4096:fc#512:
---------------

I used "removable" so as not to write a DOS
partition MBR.

Of course, you might not need to copy the kernel
and bootstraps. I've found it useful on the 8M
DOC to keep a backup "kernel.old" and my 
development picoBSD kernel that I copy over the 
net. Convenient and works well.

 - bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104022159.f32LxwW00390>