<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Denny, <br>
<br>
there seems to be a mismatch of sorts between your desired schema
and what you're actually describing. I am going to assume you want
an EFI partition that you're going to boot off of. <br>
<br>
To do so, this should work:<br>
<br>
<font face="monospace" color="#000000">
<div>disk_config disk1 disklabel:gpt-bios bootable:1 fstabkey:uuid</div>
<div><br>
</div>
<div>primary /boot/efi<span class="" style="white-space:pre"> 2048</span><span class="" style="white-space:pre"> vfat</span><span class="" style="white-space:pre"> </span>rw</div>
<div>primary<span class="" style="white-space:pre"> </span>swap<span class="" style="white-space:pre"> </span>8192<span class="" style="white-space:pre"> </span>swap<span class="" style="white-space:pre"> </span>rw</div>
<div>primary /boot<span class="" style="white-space:pre"> </span>512<span class="" style="white-space:pre"> </span>ext4<span class="" style="white-space:pre"> </span>rw,noatime,errors=remount-ro
<br>
</div>
<div>primary /<span class="" style="white-space:pre"> </span>
15360<span class="" style="white-space:pre"> </span>ext4<span class="" style="white-space:pre"> </span>rw,noatime,errors=remount-ro<br>
</div>
<div>logical<span class="" style="white-space:pre"> </span>-<span class="" style="white-space:pre"> </span>1-<span class="" style="white-space:pre"> </span>-<span class="" style="white-space:pre"> </span>-<br>
</div>
</font><br>
<br>
Best regards<br>
Kerim<br>
<br>
<div class="moz-cite-prefix">On 26/11/15 16:19, Denny Bortfeldt
wrote:<br>
</div>
<blockquote
cite="mid:CAP3cjw0_sZgc5KHQFG41iK-=DoNZidPp+M+ouGQmN8OGixgD6A@mail.gmail.com"
type="cite">
<div dir="ltr">Hello everyone,
<div><br>
</div>
<div>I'm using FAI 5.0 and need a special partition layout for
our centos kvm installation.</div>
<div><br>
</div>
<div>The partition schema need to be like this:</div>
<div><br>
</div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre">GPT
/dev/sda1 2048 6143 2M BIOS boot partition
/dev/sda2 6144 16783359 8G Linux swap
/dev/sda3 16783360 17831935 512M Microsoft basic data /boot
/dev/sda4 17831936 49289215 15G Microsoft basic data /
/dev/sda5 49289216 7812456414 3.6T Linux LVM</span><br>
</div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre">Unfortunately I'm unable to create /dev/sda1 and /dev/sda5 with the disk_config.</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre">
</span></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">I don't know what "fstype" I have to enter, that FAI will partitionate /dev/sda1 to "BIOS boot partition" (fdisk type "4").</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">fstype "efi" and "bios" will run into an error: <a moz-do-not-send="true" href="https://data.bortfeldt.net/f/d9b3239df0/">https://data.bortfeldt.net/f/d9b3239df0/</a></span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">
</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">
</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">My current config_disk-File looks like this:</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre">
</span></font></div>
<div><font face="monospace" color="#000000">
<div># <type> <mountpoint> <size> <fs
type> <mount options> <misc options></div>
<div><br>
</div>
<div>disk_config disk1 disklabel:gpt-bios bootable:3
fstabkey:uuid</div>
<div><br>
</div>
<div>primary -<span class="" style="white-space:pre"> </span>2<span class="" style="white-space:pre"> </span>efi<span class="" style="white-space:pre"> </span>-</div>
<div>primary<span class="" style="white-space:pre"> </span>swap<span class="" style="white-space:pre"> </span>8192<span class="" style="white-space:pre"> </span>swap<span class="" style="white-space:pre"> </span>rw</div>
<div>primary /boot<span class="" style="white-space:pre"> </span>512<span class="" style="white-space:pre"> </span>ext4<span class="" style="white-space:pre"> </span>rw,noatime,errors=remount-ro</div>
<div>primary /<span class="" style="white-space:pre"> </span>15360<span class="" style="white-space:pre"> </span>ext4<span class="" style="white-space:pre"> </span>rw,noatime,errors=remount-ro</div>
<div>logical<span class="" style="white-space:pre"> </span>-<span class="" style="white-space:pre"> </span>1-<span class="" style="white-space:pre"> </span>-<span class="" style="white-space:pre"> </span>-</div>
<div><br>
</div>
<div><br>
</div>
<div>So is anyone here who can help me out with my
disk_configuration so that FAI will partitionate like the
schema above?</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
Best regards,</div>
<div>Denny</div>
</font></div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Kerim Güney
Institut für Informatik Junior Sysadmin
Universität zu Köln Lehrstuhl Prof. Dr. M. Jünger
Weyertal 121
50931 Köln </pre>
</body>
</html>