From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 23:35:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2F3A1065672 for ; Mon, 14 Apr 2008 23:35:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2A98FC1A for ; Mon, 14 Apr 2008 23:35:21 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m3ENXhLD035694; Mon, 14 Apr 2008 19:33:43 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m3ENXgQg035693; Mon, 14 Apr 2008 19:33:42 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 14 Apr 2008 19:33:41 -0400 From: Jerry McAllister To: Dharma Wolford Message-ID: <20080414233341.GA35587@gizmo.acns.msu.edu> References: <6.0.0.22.2.20080414163403.02478050@mail.computinginnovations.com> <200804141938.30815.mlobo@digiart.art.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Mario Lobo , freebsd-questions@freebsd.org Subject: Re: HDD partitioning question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 23:35:21 -0000 On Mon, Apr 14, 2008 at 04:08:11PM -0700, Dharma Wolford wrote: > On Mon, Apr 14, 2008 at 3:38 PM, Mario Lobo wrote: > > > > > If you issue the command: > > > > fdisk -I /dev/da1 > > > > -I Initialize sector 0 slice table for one FreeBSD slice covering > > the entire disk. > > > > and then: ls /dev/da1* > > > > you'll get: > > > > /dev/da1 > > /dev/da1s1 > > > > which I believe is what you want. > > > > then you can: newfs -O 2 (-U) /dev/da1s1 > > > > then you can: mount /dev/da1s1 /whatever > > > > -- > > Mario Lobo > > > > Thanks Mario, and Jerry and Derek! > > Jerry, Introducing the idea of 'dangerously dedicated' disks helped a lot... > it lead me to this page: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html > > ...which gave some additional info on 'dedicated mode' and 'compatability > mode' and walked me through the steps to create either. I managed to do > that and then tried to mount the /dev/da1s1 device but it complained about > 'incorrect super block' until I executed "newfs -O 2 /dev/da1s1" after > which I was able to mount it! I would have gone on then and used bsdlabel to create one partition in the single slice before doing the newfs again. That would have given you /dev/da1s1a . ////jerry > > ############################ > [root@mybox /usr]# mount > /dev/da0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/da0s1d on /tmp (ufs, local, soft-updates) > /dev/da0s1f on /usr (ufs, local, soft-updates) > /dev/da0s1e on /var (ufs, local, soft-updates) > /dev/da1s1 on /usr/home (ufs, local, soft-updates) > [root@mybox /usr]# > ############################ > > I did all that just before I saw Mario's response (thanks again!) so... > anyway, looks like I've got it going in a better way now and it agrees with > what Mario suggested I should be expecting so I'm happy. > > Thanks to all! > > dharma > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"