Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 09:23:25 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Ralf Mardorf <ralf.mardorf@rocketmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to create a partition for FreeBSD 9.0?
Message-ID:  <alpine.BSF.2.00.1211280913400.66068@wonkity.com>
In-Reply-To: <1354086404.2528.89.camel@q>
References:  <1353795280.2662.12.camel@q> <20121124233520.7ad4b4be.freebsd@edvax.de> <1353798889.2662.46.camel@q> <20121125002717.11a61c8d.freebsd@edvax.de> <1353807268.2773.16.camel@q> <20121125131908.671f6d31.freebsd@edvax.de> <1353846552.2508.23.camel@q> <alpine.BSF.2.00.1211251322500.23965@wonkity.com> <1353877782.2508.225.camel@q> <alpine.BSF.2.00.1211251421160.23965@wonkity.com> <1354029192.2827.11.camel@q> <alpine.BSF.2.00.1211270901130.56247@wonkity.com> <1354046327.2528.15.camel@q> <alpine.BSF.2.00.1211271653330.60249@wonkity.com> <1354086404.2528.89.camel@q>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1211280913400.66068>