From owner-freebsd-small Tue Apr 3 16: 4:19 2001 Delivered-To: freebsd-small@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id 0252D37B719 for ; Tue, 3 Apr 2001 16:04:13 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id QAA09746; Tue, 3 Apr 2001 16:03:10 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200104032303.QAA09746@freeway.dcfinc.com> Subject: Re: problems with DiskOnChip ... In-Reply-To: <200104021832.UAA54242@info.iet.unipi.it> from Luigi Rizzo at "Apr 2, 1 08:32:36 pm" To: luigi@info.iet.unipi.it (Luigi Rizzo) Date: Tue, 3 Apr 2001 16:03:10 -0700 (MST) Cc: gunther@aurora.regenstrief.org, freebsd-small@FreeBSD.ORG Reply-To: chad@DCFinc.com Organization: DCF, Inc. X-O/S: FreeBSD 2.2.8-STABLE X-Unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Luigi Rizzo wrote: >> Getting a disklabel onto them was a pain. But I have had a hard time >> with disklabeling since the old days of 386BSD were past. Someone's >> being too smart now :-). Anyway, I finally got the disklabel on, > > have a look at how picobsd does, it might help (the script is > /usr/src/release/picobsd/build/picobsd) I can't help but jump in; this goes by about once a month. The first time I was faced with this problem, I 1) used dd to copy the first 100 blocks from a working drive to the new one (raw device, whole drive). B) Used "disklabel -e" to fix it up how I liked. Undoubtably not the "right" way, but... As an aside, is there any reason the sysinstall curses-based fdisk and disklabel shouldn't be stand alone utilities? -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message