From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 10:51:14 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 D37911065674 for ; Fri, 20 Jun 2008 10:51:14 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 5A0F98FC1F for ; Fri, 20 Jun 2008 10:51:14 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:64647 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K9eD3-0003mD-4a for freebsd-questions@freebsd.org; Fri, 20 Jun 2008 12:51:13 +0200 Received: (qmail 67806 invoked from network); 20 Jun 2008 12:51:11 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 20 Jun 2008 12:51:11 +0200 Received: (qmail 2305 invoked by uid 1001); 20 Jun 2008 12:51:11 +0200 Date: Fri, 20 Jun 2008 12:51:11 +0200 From: Erik Trulsson To: Unga Message-ID: <20080620105111.GA2249@owl.midgard.homeip.net> References: <20080620123154.K47466@wojtek.tensor.gdynia.pl> <867893.19250.qm@web57012.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867893.19250.qm@web57012.mail.re3.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1K9eD3-0003mD-4a. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1K9eD3-0003mD-4a 33e825019e5c8f7db036a7d2d29b1745 Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: FreeBSD fdisk how to? 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: Fri, 20 Jun 2008 10:51:14 -0000 On Fri, Jun 20, 2008 at 03:44:59AM -0700, Unga wrote: > --- On Fri, 6/20/08, Wojciech Puchar wrote: > > > From: Wojciech Puchar > > Subject: Re: FreeBSD fdisk how to? > > To: "Unga" > > Cc: freebsd-questions@freebsd.org > > Date: Friday, June 20, 2008, 6:32 PM > > >> > > >> newfs,mount,copy files,umount > > >> > > >> bsdlabel -B disk > > > > > > But this does not create slices, does it? > > > > yes. because slices are not needed if you want freebsd-only > > disk - that's > > why i asked for. > > IC, sorry may be I did not make myself clear enough then. The fdisk statement I ran only with one partition entry is to learn fdisk, that's why I ran in test mode. > > I need at least 2 partitions, one for FreeBSD 7 and other for FreeBSD 8. I need two slices for that. > > I still need to understand clearly how to create slices in FreeBSD. I know 4 slices per disk can be created. > > The question is, is what I posted on my first post sufficient to create slices correctly? > > Btw, thank you very much for so many replies without giving up :) > Well, fdisk(8) is somewhat cumbersome to use. Personally I tend to invoke sysinstall(8) to create new slices (can be done after install too.) Much easier to use. Also, you can almost always ignore any warnings about the geometry of the disk. Once the kernel has booted FreeBSD does not make use of the geometry anyway, so it is only if you need to boot from the disk or if you use the disk from some other OS that it might matter (but it usually works just fine without any adjustments.) -- Erik Trulsson ertr1013@student.uu.se