Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 12:51:11 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Unga <unga888@yahoo.com>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD fdisk how to?
Message-ID:  <20080620105111.GA2249@owl.midgard.homeip.net>
In-Reply-To: <867893.19250.qm@web57012.mail.re3.yahoo.com>
References:  <20080620123154.K47466@wojtek.tensor.gdynia.pl> <867893.19250.qm@web57012.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 20, 2008 at 03:44:59AM -0700, Unga wrote:
> --- On Fri, 6/20/08, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> wrote:
> 
> > From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
> > Subject: Re: FreeBSD fdisk how to?
> > To: "Unga" <unga888@yahoo.com>
> > 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.)



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080620105111.GA2249>