Date: Mon, 11 Mar 2013 10:19:04 -0700 From: Cody Ritts <cr@caltel.com> To: freebsd-fs@freebsd.org Subject: Re: Aligning MBR for ZFS boot help Message-ID: <513E1208.5020804@caltel.com> In-Reply-To: <CABXB=RTt-j0SGxktWMfLcgLAEN6Vi%2Bf=psBuN0jQaJthk_3cbw@mail.gmail.com> References: <513C1629.50501@caltel.com> <alpine.BSF.2.00.1303101006490.5989@wonkity.com> <513CD9AB.5080903@caltel.com> <alpine.BSF.2.00.1303101326530.7218@wonkity.com> <513CE369.4030303@caltel.com> <alpine.BSF.2.00.1303101349540.7637@wonkity.com> <1362951595.99445.2.camel@btw.pki2.com> <alpine.BSF.2.00.1303101807550.8481@wonkity.com> <CABXB=RTt-j0SGxktWMfLcgLAEN6Vi%2Bf=psBuN0jQaJthk_3cbw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Update -- fdisk WILL allow you to align without regards to drive geometry It can only be done in interactive mode: http://lists.freebsd.org/pipermail/freebsd-geom/2011-May/004780.html > fdisk -i /dev/ada0 > Do you want to change our idea of what BIOS thinks ? [n] > The data for partition 1 is: > Do you want to change it? [n] y > Supply a decimal value for "sysid (165=FreeBSD)" [165] > Supply a decimal value for "start" [63] 2048 > Supply a decimal value for "size" [125045361] 125043376 > Correct this automatically? [n] > Explicitly specify beg/end address ? [n] > Are we happy with this entry? [n] y > Do you want to change the active partition? [n] > Should we write new partition table? [n] y > > gpart show ada0 > => 63 125045361 ada0 MBR (59G) > 63 1985 - free - (992k) > 2048 125043376 1 freebsd [active] (59G) Thanks, Cody On 3/10/13 9:19 PM, J David wrote: > On Sun, Mar 10, 2013 at 8:39 PM, Warren Block <wblock@wonkity.com> wrote: > >> If FreeBSD had a way to turn off the strict enforcement of CHS values for >> MBR, it would make that unnecessary. >> > > The solution to that for a drive of this size *might* be to use fdisk > instead of gpart to do the partitioning, and just flat out lie to it about > the geometry when it asks you if you want to use something other than what > it read. (Which was also a lie anyway.) > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513E1208.5020804>