gpart, bsdlabel and fdisk
Aristedes Maniatis
ari at ish.com.au
Thu Oct 22 01:15:52 UTC 2009
On 22/10/09 11:52 AM, Robert Noland wrote:
> On Thu, 2009-10-22 at 11:48 +1100, Aristedes Maniatis wrote:
>> > Hmmm... I was hoping for something more useful than that response.
>> > Where is it documented that I have to do "echo 'a 1' | fdisk -f
>> > - /dev/ad4" to make a disk bootable?
> I committed a patch the other day that will set the active flag for a
> GPT partitioned disk when you install bootcode on it.
Great. Will that make it to RC2?
Until then, is this the correct procedure to make a disk capable of booting ZFS:
gpart bootcode -b /boot/boot0 ad4
echo 'a 1' | fdisk -f - /dev/ad4
Sean mentions that 16 blocks have to be reserved at the start of the disk (to allow for the bootloader?). Will that also go away with your new patch so that the appropriate space is preserved? Will 16 blocks be enough forever?
Thanks
Ari
--
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
More information about the freebsd-current
mailing list