From owner-freebsd-small Mon Apr 2 15:11: 0 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail.cruzio.com (dsl3i239.cruzio.com [205.179.211.239]) by hub.freebsd.org (Postfix) with ESMTP id E02E637B71E for ; Mon, 2 Apr 2001 15:10:56 -0700 (PDT) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id f32LxwW00390; Mon, 2 Apr 2001 14:59:58 -0700 (PDT) (envelope-from brucem) Date: Mon, 2 Apr 2001 14:59:58 -0700 (PDT) From: "Bruce R. Montague" Message-Id: <200104022159.f32LxwW00390@mail.cruzio.com> To: freebsd-small@freebsd.org, gunther@aurora.regenstrief.org Subject: Re: problems with DiskOnChip ... Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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