Re: Partitioning with gpart or old style slices?

2011-06-05 Thread Warren Block
On Sat, 4 Jun 2011, Robert Simmons wrote: On Sat, Jun 4, 2011 at 10:43 PM, Warren Block wrote: There's a sample in the second half of my disk setup article: http://www.wonkity.com/~wblock/docs/html/disksetup.html Looks good. I have a few critiques: 1) Linux and FreeBSD do not have alignme

Re: Partitioning with gpart or old style slices?

2011-06-05 Thread Erik Nørgaard
On 5/6/11 7:03 AM, Robert Simmons wrote: On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote: # gpart create -s mbr ad4 # Init the disk with an MBR # gpart add -t freebsd ad4# Create a BSD container # gpart create -s bsd ad4s1 # Init with a BSD

Re: Partitioning with gpart or old style slices?

2011-06-05 Thread Robert Simmons
On Sun, Jun 5, 2011 at 3:35 AM, wrote: > Robert Simmons wrote:> >> > How do I wipe the whole thing in one go so that I can start >> > afresh? >> > >> > gpart destroy ad4 ?? >> >> Yes, but first you must delete all of the slices/partitions. >> Think of it this way: you must go backwards down the

Re: Partitioning with gpart or old style slices?

2011-06-05 Thread perryh
Robert Simmons wrote: > > How do I wipe the whole thing in one go so that I can start > > afresh? > > > > gpart destroy ad4 ?? > > Yes, but first you must delete all of the slices/partitions. > Think of it this way: you must go backwards down the path you > just came with a delete for each add, t

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sun, Jun 5, 2011 at 1:39 AM, Odhiambo Washington wrote: > On Sun, Jun 5, 2011 at 08:03, Robert Simmons wrote: >> On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote: >> > Since some time I'm as well using gpart(8) to setup new systems with the >> > following sequence: >> > >> > # gpart c

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Odhiambo Washington
On Sun, Jun 5, 2011 at 08:03, Robert Simmons wrote: > On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote: > > Since some time I'm as well using gpart(8) to setup new systems with the > > following sequence: > > > > # gpart create -s mbr ad4 # Init the disk with an MBR > > #

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sunday, June 05, 2011 12:59:44 AM Polytropon wrote: > On Sun, 5 Jun 2011 06:40:22 +0200, Matthias Apitz wrote: > > Since some time I'm as well using gpart(8) to setup new systems with the > > following sequence: > > > > # gpart create -s mbr ad4 # Init the disk with an MBR > >

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sunday, June 05, 2011 12:40:22 AM Matthias Apitz wrote: > Since some time I'm as well using gpart(8) to setup new systems with the > following sequence: > > # gpart create -s mbr ad4 # Init the disk with an MBR > # gpart add -t freebsd ad4# Create a BSD container

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Polytropon
On Sun, 5 Jun 2011 06:40:22 +0200, Matthias Apitz wrote: > Since some time I'm as well using gpart(8) to setup new systems with the > following sequence: > > # gpart create -s mbr ad4 # Init the disk with an MBR > # gpart add -t freebsd ad4# Create a BSD container

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Matthias Apitz
El día Saturday, June 04, 2011 a las 08:43:37PM -0600, Warren Block escribió: > On Sat, 4 Jun 2011, Robert Simmons wrote: > > >> Do I need kernel modules not in the generic kernel or create extra boot > >> partition? > > > > If you use it to make GPT partitions, you will need a freebsd-boot > > p

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 10:43 PM, Warren Block wrote: > There's a sample in the second half of my disk setup article: > > http://www.wonkity.com/~wblock/docs/html/disksetup.html Looks good. I have a few critiques: 1) Linux and FreeBSD do not have alignment requirements, as far as I know. So you

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Warren Block
On Sat, 4 Jun 2011, Robert Simmons wrote: Do I need kernel modules not in the generic kernel or create extra boot partition? If you use it to make GPT partitions, you will need a freebsd-boot partition with the proper bootcode for what you want to do. If you search this mailing list's archive

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 6:14 PM, Erik Nørgaard wrote: > I just realized how many years ago I haven't been partitioning any disks .. > this system is so stable :) So, now I see I have gpart as alternative to > fdisk/bsdlabel. gpart(8) from my experience is far superior to all the older tools. > >

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
On Sat, Jun 4, 2011 at 6:14 PM, Erik Nørgaard wrote: > - or any problems (problems as in I've never tried that before) - using > gpart instead of the "old" scheme? Sorry for the double post, but the only problem that I've encountered is after creating a encrypted provider with geli(8), that provi

Partitioning with gpart or old style slices?

2011-06-04 Thread Erik Nørgaard
Hi: I just realized how many years ago I haven't been partitioning any disks .. this system is so stable :) So, now I see I have gpart as alternative to fdisk/bsdlabel. I have a 320GB disk which will be dedicated to FBSD, is there any advantage - or any problems (problems as in I've never tr