Manually partitioning using gpart
Ralf Mardorf
ralf.mardorf at rocketmail.com
Sun Nov 25 13:30:20 UTC 2012
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 -b 40 -s 512K ada0
# gpart add -t freebsd-swap -l swap -s 8G ada0
# gpart add -t freebsd-ufs -l root -b 1M ada0
Should use all the free space, so no option -s?!
# newfs -U /dev/gpt/root
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
Will install the FreeBSD bootloader independent of the GRUB in the MBR?
My GRUB menu.lst still is:
timeout 8
default 0
color light-blue/black light-cyan/blue
title FreeBSD 9.0
root (hd0,a)
kernel /boot/loader
[snip]
So kernel /boot/loader has to be replaced by /boot/foo?
/etc/fstab:
# Device Mountpoint FS Options Dump Pass# <-- is this "#" needed at the end?
Or is it ok like this:
# Device Mountpoint FS Options Dump Pass
And this are the entries I need:
/dev/gpt/swap none swap sw 0 0
/dev/gpt/root / ufs rw 1 1
*???*
Ralf
More information about the freebsd-questions
mailing list