<div dir="ltr">Hey Kerim,<div><br></div><div>no not really - my disk_config could be/is wrong.</div><div>The following schema need to be created by FAI disk_config:</div><div><br></div><div><blockquote type="cite" style="color:rgb(80,0,80);font-size:12.8px"><div dir="ltr"><span style="font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre-wrap">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></div></blockquote></div><div class="gmail_extra">But here's the problem: I don't know how.</div><div class="gmail_extra">The /dev/sda1 partition don't have got a mount point and is a type "4" in fdisk/gdisk - so I don't know what I need to write in my disk_config so that FAI will use "type 4" in partition layout.</div><div class="gmail_extra">/dev/sda2, /dev/sda3 and /dev/sda4 is clear - everything is "primary" and swap or ext4.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So what do I need to enter in my disk_config that the result will look like:</div><div class="gmail_extra"><blockquote type="cite" style="color:rgb(80,0,80);font-size:12.8px"><div dir="ltr"><span style="font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre-wrap">/dev/sda1 2048 6143 2M BIOS boot partition</span></div><div dir="ltr"><br></div></blockquote></div><div class="gmail_extra">Thanks in advance :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Denny</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-26 17:48 GMT+01:00 Kerim Güney <span dir="ltr"><<a href="mailto:kgueney@uni-koeln.de" target="_blank">kgueney@uni-koeln.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div 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 style="white-space:pre-wrap"> 2048</span><span style="white-space:pre-wrap"> vfat</span><span style="white-space:pre-wrap"> </span>rw</div><span class="">
<div>primary<span style="white-space:pre-wrap"> </span>swap<span style="white-space:pre-wrap"> </span>8192<span style="white-space:pre-wrap"> </span>swap<span style="white-space:pre-wrap"> </span>rw</div>
<div>primary /boot<span style="white-space:pre-wrap"> </span>512<span style="white-space:pre-wrap"> </span>ext4<span style="white-space:pre-wrap"> </span>rw,noatime,errors=remount-ro
<br>
</div>
<div>primary /<span style="white-space:pre-wrap"> </span>
15360<span style="white-space:pre-wrap"> </span>ext4<span style="white-space:pre-wrap"> </span>rw,noatime,errors=remount-ro<br>
</div>
<div>logical<span style="white-space:pre-wrap"> </span>-<span style="white-space:pre-wrap"> </span>1-<span style="white-space:pre-wrap"> </span>-<span style="white-space:pre-wrap"> </span>-<br>
</div>
</span></font><br>
<br>
Best regards<br>
Kerim<div><div class="h5"><br>
<br>
<div>On 26/11/15 16:19, Denny Bortfeldt
wrote:<br>
</div>
<blockquote 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-wrap">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-wrap">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre-wrap">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:monospace;font-size:11px;line-height:13.75px;white-space:pre-wrap">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-wrap">
</span></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre-wrap">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-wrap">fstype "efi" and "bios" will run into an error: <a href="https://data.bortfeldt.net/f/d9b3239df0/" target="_blank">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-wrap">
</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre-wrap">
</span></font></div>
<div><font face="monospace" color="#000000"><span style="font-size:11px;line-height:13.75px;white-space:pre-wrap">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-wrap">
</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 style="white-space:pre-wrap"> </span>2<span style="white-space:pre-wrap"> </span>efi<span style="white-space:pre-wrap"> </span>-</div>
<div>primary<span style="white-space:pre-wrap"> </span>swap<span style="white-space:pre-wrap"> </span>8192<span style="white-space:pre-wrap"> </span>swap<span style="white-space:pre-wrap"> </span>rw</div>
<div>primary /boot<span style="white-space:pre-wrap"> </span>512<span style="white-space:pre-wrap"> </span>ext4<span style="white-space:pre-wrap"> </span>rw,noatime,errors=remount-ro</div>
<div>primary /<span style="white-space:pre-wrap"> </span>15360<span style="white-space:pre-wrap"> </span>ext4<span style="white-space:pre-wrap"> </span>rw,noatime,errors=remount-ro</div>
<div>logical<span style="white-space:pre-wrap"> </span>-<span style="white-space:pre-wrap"> </span>1-<span style="white-space:pre-wrap"> </span>-<span style="white-space:pre-wrap"> </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>
</div></div><span class=""><font color="#888888"><pre 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>
</font></span></div>
</blockquote></div><br></div></div>