How to create a partition for FreeBSD 9.0?
Warren Block
wblock at wonkity.com
Wed Nov 28 16:23:26 UTC 2012
On Wed, 28 Nov 2012, Ralf Mardorf wrote:
> On Tue, 2012-11-27 at 17:04 -0700, Warren Block wrote:
>>> # gpart create -s bsd ada0s1
>>> gpart: geom 'ada0s1': File exists
>>
>> Sorry, no idea on that. Because of the extended partitions, maybe.
>
> Thank you,
>
> so this should work and if it doesn't work, I can't install FreeBSD?
I tried a few experiments just now, and it still looks to me like the
EBR is the problem. Unfortunately, I don't know how to work around it.
Certainly it should be possible to do this. It's a matter of getting
the partitioning tools to do it.
> Anything else I can try?
Share sda10 with FreeBSD swap. Then use slice 1 for one bare FreeBSD
filesystem with no subpartitioning at all.
# gpart modify -i1 -t freebsd-ufs da0
It will require some work with the installer. Probably you'll have to
newfs and mount it as mentioned before. After FreeBSD boots, figure out
which is the swap partition and add that to /etc/fstab.
> spinymouse at q:~$ sudo fdisk -l
>
> Disk /dev/sda: 320.1 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000f2fc6
>
> Device Boot Start End Blocks Id System
> /dev/sda1 63 121274684 60637311 a5 FreeBSD
> /dev/sda2 * 121274746 625137344 251931299+ 5 Extended
> /dev/sda5 121274748 183751469 31238361 7 HPFS/NTFS/exFAT
> /dev/sda6 183751533 246421034 31334751 83 Linux
> /dev/sda7 246421098 309283379 31431141 83 Linux
> /dev/sda8 309283443 361967615 26342086+ 83 Linux
> /dev/sda9 361969664 435617791 36824064 83 Linux
> /dev/sda10 435618603 440164934 2273166 82 Linux swap /
> Solaris
> /dev/sda11 440164998 561873374 60854188+ 83 Linux
> /dev/sda12 561873438 569215079 3670821 83 Linux
> /dev/sda13 569215143 615514409 23149633+ 83 Linux
> /dev/sda14 615514473 625137344 4811436 83 Linux
More information about the freebsd-questions
mailing list