Date: Thu, 22 Oct 2009 12:15:48 +1100 From: Aristedes Maniatis <ari@ish.com.au> To: Robert Noland <rnoland@FreeBSD.org> Cc: Marcel Moolenaar <xcllnt@mac.com>, freebsd-current@freebsd.org Subject: Re: gpart, bsdlabel and fdisk Message-ID: <4ADFB244.6060109@ish.com.au> In-Reply-To: <1256172767.2309.1.camel@balrog.2hip.net> References: <4ADE995A.8080009@ish.com.au> <5208B24B-0ED9-493F-81E4-04BF33FA9062@mac.com> <4ADFABE1.2080001@ish.com.au> <1256172767.2309.1.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ADFB244.6060109>
