Manually partitioning using gpart

Ralf Mardorf ralf.mardorf at rocketmail.com
Sun Nov 25 11:26:22 UTC 2012


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

Here I already don't understand how large the swap should be. Really 2 *
size of the RAM?

I also don't know if 256k is a sane alignment value, I just copied this
from a howto.

How to continue after this is done?

I want to use GRUB from my Linux installs, this is the Linux menu.lst:

timeout   8
default   0
color light-blue/black light-cyan/blue

title FreeBSD 9.0
root   (hd0,a)
kernel /boot/loader

[snip]

Regards,
Ralf



More information about the freebsd-questions mailing list