Re: gpart, bsdlabel and fdisk

From: Aristedes Maniatis <ari_at_ish.com.au>
Date: Thu, 22 Oct 2009 12:15:48 +1100
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
Received on Wed Oct 21 2009 - 23:15:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC