Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] IIUC I now have to do: # gpart add -s 64k -t freebsd-boot -l boot0 ada0 # gpart add -s 8G -t freebsd-swap -l swap0 ada0 # gpart add -t freebsd-ufs -a 256k -l root0 ada0

Re: Manually partitioning using gpart

2012-11-25 Thread Polytropon
On Sun, 25 Nov 2012 12:26:14 +0100, Ralf Mardorf wrote: This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] IIUC I now have to do: # gpart add -s 64k -t freebsd-boot -l boot0 ada0 # gpart add -s 8G -t

Re: Manually partitioning using gpart

2012-11-25 Thread Lucas B. Cohen
On 2012.11.25 12:26, Ralf Mardorf wrote: Here I already don't understand how large the swap should be. Really 2 * size of the RAM? It depends on use patterns and the amount of RAM in your computer. 1.5* to 2* installed memory is a traditional works for most value, but I feel it's outdated for

Re: [Bulk] Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
On Sun, 2012-11-25 at 13:29 +0100, Polytropon wrote: On Sun, 25 Nov 2012 12:26:14 +0100, Ralf Mardorf wrote: This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] IIUC I now have to do: # gpart add -s 64k

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
I'm reading http://www.wonkity.com/~wblock/docs/html/disksetup.html at the moment. Seemingly there are many outdated howtos first hits for searching with Google. I frst read 64k for boot and now 512k. IIUC Install the GPT bootcode into the boot partition has to be done and is independent of the

Re: Manually partitioning using gpart

2012-11-25 Thread Lucas B. Cohen
On 2012.11.25 13:57, Ralf Mardorf wrote: IIUC Install the GPT bootcode into the boot partition has to be done and is independent of the GRUB in the MBR. Not in your case. You won't need bootcode other than GRUB's (in the MBR, and the Linux partition where the bulk of it is installed).

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
At the moment I still have: This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] Regarding to http://www.wonkity.com/~wblock/docs/html/disksetup.html for my set up it should be ok to run: # gpart add -t freebsd-boot -l boot

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
On Sun, 2012-11-25 at 14:13 +0100, Lucas B. Cohen wrote: On 2012.11.25 13:57, Ralf Mardorf wrote: IIUC Install the GPT bootcode into the boot partition has to be done and is independent of the GRUB in the MBR. Not in your case. You won't need bootcode other than GRUB's (in the MBR, and the

Re: [Bulk] Re: Manually partitioning using gpart

2012-11-25 Thread Polytropon
On Sun, 25 Nov 2012 13:43:46 +0100, Ralf Mardorf wrote: On Sun, 2012-11-25 at 13:29 +0100, Polytropon wrote: I'll read this. I want to test what's possible and/or impossible regarding to MIDI and audio productions using FreeBSD. Will be interesting. I know there is some good support for this

Re: Manually partitioning using gpart

2012-11-25 Thread Polytropon
On Sun, 25 Nov 2012 14:30:17 +0100, Ralf Mardorf wrote: At the moment I still have: This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] Regarding to http://www.wonkity.com/~wblock/docs/html/disksetup.html for my set

Wheres the FreeBSD PBR ? (was Re: Manually partitioning using gpart / wh)

2012-11-25 Thread Lucas B. Cohen
On 2012.11.25 14:35, Ralf Mardorf wrote: I don't need it, but I could add it for what ever worst case emergency scenario and GRUB in the MBR anyway will work? I don't see how it could ever come in handy, and I'm not sure it wouldn't do any hamr either. The /boot/gptboot code to be written weighs

Re: Manually partitioning using gpart

2012-11-25 Thread Bruce Cran
On 25/11/2012 12:29, Polytropon wrote: Won't be wrong; my understanding of the rule was 2 * size of _possible_ RAM in the machine. But disk space is cheap, so 8 G should be fine. But again, the requirement for the swap partition depends on what you're doing with the machine and what you're

Re: Wheres the FreeBSD PBR ? (was Re: Manually partitioning using gpart / wh)

2012-11-25 Thread Ralf Mardorf
On Sun, 2012-11-25 at 15:10 +0100, Lucas B. Cohen wrote: On 2012.11.25 14:35, Ralf Mardorf wrote: I don't need it, but I could add it for what ever worst case emergency scenario and GRUB in the MBR anyway will work? I don't see how it could ever come in handy, and I'm not sure it wouldn't

OT: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
On Sun, 2012-11-25 at 14:37 +0100, Polytropon wrote: BTW, I still have some Atari ST hardware here. Impressive what has been possible with this (quite limited) machines, but with _efficient_ programs... I still have the C64 in some cartons and the Atari ST is still beside my PC, but I don't

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
Polytropon, I'll use journaling. I've to apologize for my broken English. Regarding to the comment line my question is, if it's enough to us a # at the beginning, or if it's needed to begin and to end with a #. I suspect just a # at the beginning is needed.

Re: Manually partitioning using gpart

2012-11-25 Thread Polytropon
On Sun, 25 Nov 2012 15:42:38 +0100, Ralf Mardorf wrote: Polytropon, I'll use journaling. That should give you additional security in integrity, especially on a everything in one / partition. I've to apologize for my broken English. No understanding problem here. Regarding to the comment

Re: Manually partitioning using gpart

2012-11-25 Thread Warren Block
On Sun, 25 Nov 2012, Ralf Mardorf wrote: This is what I've got: # gpart show ada0 = 63 625142385 ada0 MBR (298G) 63 121274683 - free - (57G) [snip] IIUC I now have to do: # gpart add -s 64k -t freebsd-boot -l boot0 ada0 # gpart add -s 8G -t freebsd-swap -l swap0 ada0 # gpart

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
On Sun, 2012-11-25 at 13:49 -0700, Warren Block wrote: Realize this multi-boot stuff is painful and inconvenient and install everything in a VM? Unfortunately this is impossible. I'll install FreeBSD, because there's a driver for my sound card, a RME HDSPe AIO, that perhaps enables to use all

Re: Manually partitioning using gpart

2012-11-25 Thread Lucas B. Cohen
Hi Warren, On 2012.11.25 21:49, Warren Block wrote: For a hard drive, 4K alignment and starting the main partition at 1M is good. Why would one leave 1024 full kbits before the first partition on a HDD ? ___ freebsd-questions@freebsd.org mailing list

Re: Manually partitioning using gpart

2012-11-25 Thread Ralf Mardorf
On Mon, 2012-11-26 at 02:22 +0100, Lucas B. Cohen wrote: Hi Warren, On 2012.11.25 21:49, Warren Block wrote: For a hard drive, 4K alignment and starting the main partition at 1M is good. Why would one leave 1024 full kbits before the first partition on a HDD ? Create a partition for /.

Re: Manually partitioning using gpart

2012-11-25 Thread Warren Block
On Mon, 26 Nov 2012, Lucas B. Cohen wrote: On 2012.11.25 21:49, Warren Block wrote: For a hard drive, 4K alignment and starting the main partition at 1M is good. Why would one leave 1024 full kbits before the first partition on a HDD ? The second only is only relevant to GPT. We went over

Re: Partitioning with gpart

2012-08-29 Thread Thomas Mueller
from Lynn Steven Killingsworth blue.seahorse.syndic...@gmail.com: I have installed PC-BSD 9.1 RC1 last week. Very nice I must say. The default file system is zfs. I have one storage disk which is ufs and another which is on an mbr partition. I thought I would format the mbr disk with zfs

Re: Partitioning with gpart

2012-08-29 Thread Lynn Steven Killingsworth
On Tue, 28 Aug 2012 21:33:16 -0400, Warren Block wbl...@wonkity.com wrote: On Tue, 28 Aug 2012, Lynn Steven Killingsworth wrote: I have installed PC-BSD 9.1 RC1 last week. Very nice I must say. The default file system is zfs. I have one storage disk which is ufs and another which is on

Partitioning with gpart

2012-08-28 Thread Lynn Steven Killingsworth
Dear FreeBSD - I have installed PC-BSD 9.1 RC1 last week. Very nice I must say. The default file system is zfs. I have one storage disk which is ufs and another which is on an mbr partition. I thought I would format the mbr disk with zfs and move everything from the ufs disk and then

Re: Partitioning with gpart

2012-08-28 Thread Warren Block
On Tue, 28 Aug 2012, Lynn Steven Killingsworth wrote: I have installed PC-BSD 9.1 RC1 last week. Very nice I must say. The default file system is zfs. I have one storage disk which is ufs and another which is on an mbr partition. I thought I would format the mbr disk with zfs and move

Re: Partitioning with gpart or old style slices?

2011-06-05 Thread perryh
Robert Simmons rsimmo...@gmail.com 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

Re: Partitioning with gpart or old style slices?

2011-06-05 Thread Robert Simmons
On Sun, Jun 5, 2011 at 3:35 AM, per...@pluto.rain.com wrote: Robert Simmons rsimmo...@gmail.com 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

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

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 wbl...@wonkity.com 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

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

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 norga...@locolomo.org 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

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Robert Simmons
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, I've posted basic instructions for gpart/GPT

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Warren Block
archive, I've posted basic instructions for gpart/GPT partitioning recently, perhaps there needs to be a section added to Handbook 18.3.2 describing the basics. Unfortunately, the only mention in the handbook is a link to the man page in section 18.3. There's a sample in the second half of my disk

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 wbl...@wonkity.com 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

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Matthias Apitz
with the proper bootcode for what you want to do. If you search this mailing list's archive, I've posted basic instructions for gpart/GPT partitioning recently, perhaps there needs to be a section added to Handbook 18.3.2 describing the basics. Unfortunately, the only mention in the handbook

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Polytropon
On Sun, 5 Jun 2011 06:40:22 +0200, Matthias Apitz g...@unixarea.de 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

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 Robert Simmons
On Sunday, June 05, 2011 12:59:44 AM Polytropon wrote: On Sun, 5 Jun 2011 06:40:22 +0200, Matthias Apitz g...@unixarea.de 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

Re: Partitioning with gpart or old style slices?

2011-06-04 Thread Odhiambo Washington
On Sun, Jun 5, 2011 at 08:03, Robert Simmons rsimmo...@gmail.com 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

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 odhia...@gmail.com wrote: On Sun, Jun 5, 2011 at 08:03, Robert Simmons rsimmo...@gmail.com 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