<div dir="ltr">Kyle,<div><br></div><div>Looks like me email updated me with your new email after I sent mine...weird.</div><div><br></div><div>In any event, the default partition function that is called in that shell script is pt_gpt, not pt_mbr. The reason there is a cap on pt_mbr is due to the size limitation that MBR has:</div>
<div><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.399999618530273px"><br></span></div><div><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.399999618530273px">"The organization of the partition table in the MBR limits the maximum addressable storage space of a disk to 2 </span><a href="http://en.wikipedia.org/wiki/Tebibyte" title="Tebibyte" style="text-decoration:none;color:rgb(11,0,128);background-image:none;font-family:sans-serif;font-size:14px;line-height:22.399999618530273px">TB</a><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.399999618530273px"> (2</span><sup style="line-height:1;color:rgb(37,37,37);font-family:sans-serif">32</sup><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.399999618530273px"> × 512 bytes)."</span></div>
<div><br></div><div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 7, 2014 at 5:34 PM, Kyle O'Donnell <span dir="ltr"><<a href="mailto:kyleo@0b10.mx" target="_blank">kyleo@0b10.mx</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I *think* I found it:<br>
<br>
/usr/lib/curtin/helpers/common<br>
<br>
specifically the pt_mbr function:<br>
<br>
local start="2048" pt1size="" maxsize="4294967296"<br>
<br>
Which corresponds to the partition it creates:<br>
/dev/sda1 * 2048 4294967295 <a href="tel:2147482624" value="+12147482624">2147482624</a> 83 Linux<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
----- Original Message -----<br>
From: "Kyle O'Donnell" <<a href="mailto:kyleo@0b10.mx">kyleo@0b10.mx</a>><br>
To: "Newell Jensen" <<a href="mailto:newell.jensen@canonical.com">newell.jensen@canonical.com</a>><br>
Cc: "maas-devel" <<a href="mailto:maas-devel@lists.launchpad.net">maas-devel@lists.launchpad.net</a>><br>
Sent: Thursday, August 7, 2014 7:22:02 PM<br>
Subject: Re: [Maas-devel] curtin custom partitions<br>
<br>
<br>
<br>
How does it determine its going to create a single 2TB root filesystem?<br>
What code can i change to do this?<br>
On Aug 7, 2014 7:17 PM, Newell Jensen <<a href="mailto:newell.jensen@canonical.com">newell.jensen@canonical.com</a>> wrote:<br>
<br>
Kyle,<br>
<br>
Currently there is no support for creating a custom partition table using the fastpath installer. This would be a nice feature.<br>
<br>
Newell<br>
<br>
<br>
On Thu, Aug 7, 2014 at 1:35 PM, Kyle O'Donnell < <a href="mailto:kyleo@0b10.mx">kyleo@0b10.mx</a> > wrote:<br>
<br>
<br>
Hi,<br>
<br>
I am trying to figure out how to create a custom partition table using the fastpath installer. Has anyone done this before?<br>
<br>
I have ~2.7TB of usable drive space, the default install creates one 2TB partition of root and nothing else. I'd like to be able to configure lvm, but I would settle for being able to set the root partition size.<br>
<br>
Thanks,<br>
Kyle<br>
<br>
--<br>
Mailing list: <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
Post to : <a href="mailto:maas-devel@lists.launchpad.net">maas-devel@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<br>
--<br>
Mailing list: <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
Post to : <a href="mailto:maas-devel@lists.launchpad.net">maas-devel@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~maas-devel" target="_blank">https://launchpad.net/~maas-devel</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div>