Date: Fri, 6 Apr 2001 18:12:55 -0700 From: dannyman <dannyman@toldme.com> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: creating an fdisk partition in an automated way Message-ID: <20010406181255.H59108@dell.dannyland.org> In-Reply-To: <Pine.BSF.4.33.0104042057170.49028-100000@resnet.uoregon.edu>; from dwhite@resnet.uoregon.edu on Wed, Apr 04, 2001 at 08:58:12PM -0700 References: <20010404181245.P40739@dell.dannyland.org> <Pine.BSF.4.33.0104042057170.49028-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010406181255.H59108>
