Hi!<br><br>Thanks Stephan, with your hint I managed to get Ubuntu 10.04 
installed on the 12TB RAID5, but not without a little interaction during
 the install process. I used following setup-storage config:<div class="im"><br><br>----------------------------------------------------------------------<br>
# &lt;type&gt; &lt;mountpoint&gt; &lt;size&gt;   &lt;fs type&gt; &lt;mount options&gt; &lt;misc options&gt;<br><br>disk_config /dev/sda disklabel:gpt<br></div>primary  -             1        -               -<div class="im">
<br>primary  /boot         200      ext3          defaults<br>
primary  swap          4G          swap          defaults<br></div>primary  -             100G-       -               -<br><br>disk_config lvm<br>vg system /dev/sda4<br>system-rootlv         /               20G     xfs     defaults<br>

system-homelv         /home           5G      xfs     defaults<br>system-tmplv          /tmp            10G     xfs     defaults<br>system-usrlv          /usr            10G     xfs     defaults<br>system-varlv          /var            10G     xfs     defaults<br>

system-optlv          /opt            10G     xfs     defaults<br>system-srvlv          /srv            10G     xfs     defaults<br><br>------------------------------<div id=":k">----------------------------------------<br>
<br>The
 first partition for /dev/sda is the bios partition. I don&#39;t know how to
 set the neccessary flag &quot;bios_grub&quot; for it in this config file. If it&#39;s
 not set, then grub-pc won&#39;t install correctly and the system will not 
boot.<br>
<br>A workaround for this problem is to set it manually while installing
 with fai. By enabling the FAI_FLAG &quot;creatvt&quot; I can get a shell with 
ALT+F2 and run &quot;parted /dev/sda&quot;, after fai has finished the task 
&quot;partition&quot;. Then I enable the flag with &quot;set 1 bios_grub on&quot;. After the
 installation the new system will boot! The output of gdisk is 
following:<div class="im"><br>
<br>----------------------------------------------------------------------<br>GPT fdisk (gdisk) version 0.5.1<br><br>Partition table scan:<br>  MBR: protective<br>  BSD: not present<br>  APM: not present<br>  GPT: present<br>

<br>Found valid GPT with protective MBR; using GPT.<br>Disk /dev/sda: 23437369344 sectors, 10.9 TiB<br></div>Disk identifier (GUID): E426DEA8-1CAD-4BC8-A00C-5D79EC8E497C<div class="im"><br>Partition table holds up to 128 entries<br>
First usable sector is 34, last usable sector is 23437369310<br>
Total free space is 4029 sectors (2.0 MiB)<br><br>Number  Start (sector)    End (sector)  Size       Code  Name<br></div>   1            2048            4095   1024.0 KiB  EF02  primary<br>   2            4096          413695   200.0 MiB   0700  primary<br>

   3          413696         8802303   4.0 GiB     8200  primary<br>   4         8802304     23437367295   10.9 TiB    8E00  primary<br>----------------------------------------------------------------------<br><br>One other thing to mention:<br>

<br>At first, I tried it with following setup-storage config, because it is our standard partition layout:<div class="im"><br>----------------------------------------------------------------------<br># &lt;type&gt; &lt;mountpoint&gt; &lt;size&gt;   &lt;fs type&gt; &lt;mount options&gt; &lt;misc options&gt;<br>

<br>disk_config /dev/sda disklabel:gpt<br></div>primary  -             1        -               -<div class="im"><br>primary  /boot         200      ext3          defaults<br>primary  swap          4G          swap          defaults<br>
primary  /               20G     xfs     defaults<br></div>

primary  -             100G-       -               -<br><br>disk_config lvm<br>vg system /dev/sda4<br>system-homelv         /home           5G      xfs     defaults<br>system-tmplv          /tmp            10G     xfs     defaults<br>

system-usrlv          /usr            10G     xfs     defaults<br>system-varlv          /var            10G     xfs     defaults<br>system-optlv          /opt            10G     xfs     defaults<br>system-srvlv          /srv            10G     xfs     defaults<br>

----------------------------------------------------------------------<br>
<br>This should be working as GPT supports more than four primary 
partitions, but unfortunately it is not working. The partition task will
 abort with something like &quot;Error: only 20G space available for the 
logical volumes, but 75G are needed&quot;.<br>
<br>It would be great if someone could give me some help for at least 
setting the &quot;bios_grub&quot; flag in the setup-storage config, so that I 
don&#39;t need to set it manually with parted.<br><br>Thanks! <br><br>Regards<br><font color="#888888">
Garb</font></div><br><br><div class="gmail_quote">On Sun, Sep 12, 2010 at 2:26 PM, Stephan Hermann <span dir="ltr">&lt;<a href="mailto:sh@sourcecode.de">sh@sourcecode.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Moins,<br>
<br>
I wonder if grub / grub_pc is able to boot from gpt partitions.<br>
<br>
and the partition &quot;gpt-bios&quot; is not know, you should declare it as<br>
&quot;gpt&quot; in setup-storage disk config, e.g.<br>
<br>
<br>
<br>
disk_config disk1 disklabel:gpt fstabkey:uuid<br>
primary -              0-       -       -<br>
<br>
<br>
<br>
(this definition is for a drbd device, so you need to configure your fs<br>
etc.)<br>
<br>
 Regards,<br>
<font color="#888888"><br>
\sh<br>
</font><div><div></div><div class="h5"><br>
<br>
On Thu, 9 Sep 2010 17:44:46 +0200<br>
Garb Dowle &lt;<a href="mailto:garb.dowle@gmail.com">garb.dowle@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; if I select &quot;gpt-bios&quot; as disklabel in my setup-storage config, then,<br>
&gt; after installation of a Ubuntu 10.04 Server with FAI 3.3.5 it won&#39;t<br>
&gt; boot. After the BIOS-Screen, there will be only a blinking cursor on<br>
&gt; a blank screen, and nothing happens.<br>
&gt;<br>
&gt; Installing Ubuntu 10.04 with an Installation-CD on that system works<br>
&gt; fine. It recognizes my 12TB RAID-5 and adds a 1MByte BIOS Partition.<br>
&gt; The output of &quot;gdisk -l /dev/sda&quot; on that system shows:<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt; GPT fdisk (gdisk) version 0.5.1<br>
&gt;<br>
&gt; Partition table scan:<br>
&gt;   MBR: protective<br>
&gt;   BSD: not present<br>
&gt;   APM: not present<br>
&gt;   GPT: present<br>
&gt;<br>
&gt; Found valid GPT with protective MBR; using GPT.<br>
&gt; Disk /dev/sda: 23437369344 sectors, 10.9 TiB<br>
&gt; Disk identifier (GUID): E206388F-7243-4EDF-BE0A-18E4F038DC38<br>
&gt; Partition table holds up to 128 entries<br>
&gt; First usable sector is 34, last usable sector is 23437369310<br>
&gt; Total free space is 4029 sectors (2.0 MiB)<br>
&gt;<br>
&gt; Number  Start (sector)    End (sector)  Size       Code  Name<br>
&gt;    1            2048            4095   1024.0 KiB  EF02<br>
&gt;    2            4096          503807   244.0 MiB   0700<br>
&gt;    3          503808     23437367295   10.9 TiB    8E00<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; I noticed, that setup-storage will add the BIOS Partition for GPT<br>
&gt; always as the last partition. I tried to place it at the beginning of<br>
&gt; the partition table, so that the partition table will look like that<br>
&gt; one generated from the Installer-CD, but I wasn&#39;t successful.<br>
&gt;<br>
&gt; Does somebody know how I can get this working?<br>
&gt;<br>
&gt; Thanks!<br>
<br>
</div></div></blockquote></div><br>