From owner-freebsd-hackers Fri Apr 6 18:11:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dell.dannyland.org (dell.dannyland.org [64.81.36.13]) by hub.freebsd.org (Postfix) with ESMTP id 3958B37B422 for ; Fri, 6 Apr 2001 18:11:39 -0700 (PDT) (envelope-from dannyman@toldme.com) Received: by dell.dannyland.org (Postfix, from userid 1001) id 36C1F5C41; Fri, 6 Apr 2001 18:12:55 -0700 (PDT) Date: Fri, 6 Apr 2001 18:12:55 -0700 From: dannyman To: Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: creating an fdisk partition in an automated way Message-ID: <20010406181255.H59108@dell.dannyland.org> References: <20010404181245.P40739@dell.dannyland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dwhite@resnet.uoregon.edu on Wed, Apr 04, 2001 at 08:58:12PM -0700 X-Loop: djhoward@uiuc.edu X-URL: http://www.dannyland.org/~dannyman/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 04, 2001 at 08:58:12PM -0700, Doug White wrote: [...] > fdisk -I is your friend. (DANGER: THIS IS DESTRUCTIVE -- READ THE MAN > PAGE FIRST!) Yeah ... I use it. It seems to do the right thing. Then disklabel doesn't work. :< I'm looking like this: #!/bin/sh disk='da0' fdisk -I ${disk} disk=${disk}s1 disklabel -r -w $disk auto Disklabel pukes. I've found a similar case at: http://groups.google.com/groups?q=%22cannot+find+label%22+%22no+disk+label%22+fdisk&hl=en&lr=&safe=off&rnum=1&seld=972266336&ic=1 I emailed Matt Dillon to see if he solved the problem. You have no idea, eh? Or do you do something slightly different? These commands work great if I run sysinstall over to DTRT at first, but on a virgin bare disk, ... nada. :< Thanks, -danny -- http://dannyman.toldme.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message