<div dir="ltr">Hi everyone,<br><br>I'm working with libguestfs 1.30.3 on Centos 7 host.<br><div>I encountered a problem when I wanted to install extlinux with guestfish as a bootloader for my guests and I always get this error:</div><div><br><pre style="margin-top:0px;margin-bottom:0px;line-height:19.0400009155273px"><code><font color="#000000">SYSLINUX 4.05 EDD 0x54f93f16 Copyright (C) 1994-2010 H. Peter Anvin et al
ERROR: No configuration file found
No default or UI configuration directive found!
boot: _</font></code></pre><pre style="margin-top:0px;margin-bottom:0px;line-height:19.0400009155273px"><code><font color="#000000"><br></font></code></pre><pre style="margin-top:0px;margin-bottom:0px;line-height:19.0400009155273px"><code><font color="#000000"><br></font></code></pre><pre style="margin-top:0px;margin-bottom:0px;line-height:19.0400009155273px"><code><font color="#000000"><b>This is how I create the virtual machines:</b></font></code></pre><pre style="margin-top:0px;margin-bottom:0px"><pre>lvcreate -n vm_name  -L 9G vm_volumes<br><br>parted /dev/vm_volumes/vm_name mklabel msdos<br>parted -a optimal /dev/vm_volumes/vm_name  mkpart primary ext4 0% 100%<br>parted /dev/vm_volumes/vm_name  set 1 boot on<br><br>kpartx -av /dev/vm_volumes/vm_name<br><br>mkfs.ext4 /dev/mapper/loop0p1<br><br>mount /dev/mapper/<span style="font-family:arial,sans-serif">loop0p1</span><span style="font-family:arial,sans-serif"> /mnt/clone</span><br><br>tar -zxf /root/centos7_template.tar.gz -C /mnt/clone/<br><br>umount /mnt/clone<br>kpartx -dv /dev/vm_volumes/vm_name</pre><pre><br><span style="font-family:arial,sans-serif">/root/libguestfs-1.30.3/run guestfish -i -a /dev/vm_volumes/{vm_name} << _EOF_ \n\</span><br></pre></pre><pre style="margin-top:0px;margin-bottom:0px">#####mbr.bin and syslinux already existant in centos7_template.tar.gz####<br>copy-file-to-device /boot/mbr.bin /dev/sda size:440 \n\<br>extlinux /boot \n\<br>part-set-bootable /dev/sda 1 true \n\<br>_EOF_<pre><b>And this is the syslinux.cfg file:</b></pre><pre>DEFAULT linux
        LABEL linux
          SAY Booting the kernel
          KERNEL /boot/vmlinuz-3.10.0-229.el7.x86_64
          INITRD /boot/initramfs-3.10.0-229.el7.x86_64.img
          APPEND ro root=UUID={{ UUID }}<br></pre><pre><span style="font-family:arial,sans-serif"><br></span></pre><pre><span style="font-family:arial,sans-serif">The strange thing is that before I was using a ubuntu 14.04 host with libguestfs 1.24.5 and everything was working fine all my guests worked with extlinux as a bootloader and it's a better solution than grub but when I changed to a Centos7 host the same vm creation script didn't work.</span><br></pre><pre>I don't know where is the problem, is it from guestfish?? or extlinux?? is there an additional package that I need to install?? </pre><pre>Thank you for your time.</pre><pre>Best regards, Slim TABKA</pre><div><span style="font-family:arial,sans-serif"><br></span></div><pre><br></pre></pre></div></div>