<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-26 23:58 GMT+08:00 Andreas B. Mundt <span dir="ltr"><<a href="mailto:andi@debian.org" target="_blank">andi@debian.org</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">Hi Franklin,<br>
<div><div class="h5"><br>
</div></div>The $LOGUSER is not necessary, it is only used to copy the installation<br>
log to another machine, which we do not use.<br>
<br>
The problem with LVM is known [1], I usually use fdisk /dev/sda and<br>
then 'o' and 'w' to create a new empty partition table. After that<br>
things should work.<br>
<br>
The problem seems to be the GRUB installation.  Did you have a look at<br>
the log after installation?  You can find all the stuff in /tmp/fai/<br>
(After installation and before you reboot, switch to another virtual<br>
console with Ctrl-Alt-F2 and take a look at /tmp/fai/error.log ,<br>
/tmp/fai/shell.log etc. ).  Check if the script GRUB_PC/10-setup<br>
failed and find out why ...<br>
<br>
I tested the system mostly on older hardware (no UEFI or GPT) and it<br>
worked fine there (as well as in a VM (12G disk image)).  Do you run<br>
very recent hardware?<br>
<br>
Many thanks for your feedback. Hopefully we can find the reason for<br>
grub failing to install and fix it.<br>
<br>
Best regards,<br>
<br>
     Andi<br>
<br></blockquote><div><br></div><div><br></div><div>Here are some logs from my last failed installation:  (I eliminated some ok messages and left failed messages)<br></div><div>Detail log files please go to</div><div><br>

</div><div><div><a href="ftp://goodhorse.idv.tw/fai.tar.gz">ftp://goodhorse.idv.tw/fai.tar.gz</a><br></div></div><div><br></div><div><br></div><div><shell.log></div><div>FAISERVER/10-config OK.</div><div><br></div>
<div>
FAISERVER/20-configspace</div><div>chroot: failed to run command `git': No such file or directory.</div><div>FAISERVER/20-configspace FAILED with exit code 127.</div><div><br></div><div>FAISERVER/30-exports</div><div>

ainsl: target file /target/etc/exports does not exist.</div><div>FAISERVER/30-exports FAILED with exit code 2.</div><div><br></div><div>FAISERVER/40-dhcp</div><div>/root/installation//create_ddnskey: line 12: dnssec-keygen: command not found.</div>

<div>(failed with exit code 127)</div><div><br></div><div>DISKLESS_SERVER/10-setup</div><div>/target/etc/exports does not exists.</div><div>(failed with exit code 2)</div><div><br></div><div>FIREWALL/10-config</div><div>
cp: cannot stat `/target/usr/share/doc/shorewall/examples/Universal/interfaces': No such file or directory</div>
<div>(failed with exit code 1)</div><div><br></div><div>LOG_SERVER/10-rsyslog_icinga</div><div>mv: cannot stat `/target/etc/icinga/objects/localhost_icinga.cfg': No such file or directory</div><div>(but returned OK)</div>

<div><br></div><div>PROXY/20-wpad</div><div>./PROXY/20-wpad: line 12: /target/var/www/wpad.dat: No such file or directory</div><div>(failed with exit code 1)</div><div><br></div><div>PROXY/30-dansguardian OK</div><div><br>

</div><div>DNS_SERVER/10-zones</div><div>ainsl: target file /target/etc/bind/named.conf.local does not exist.</div><div>(failed with exit code 2)</div><div><br></div><div>DNS_SERVER/30-forwarders</div><div>sed: can't read /target/etc/bind/named.conf.options: No such file or dirctory</div>

<div>(failed with exit code 2)</div><div><br></div><div>MAIL_SERVER/30-certs</div><div>sed: can't read /target/usr/share/ssl-cert/ssleay.cnf: No such file or directory</div><div>(failed with exit code 2)</div><div><br>

</div><div>...</div><div><br></div><div>LDAP_SERVER/10-mkslapdcert</div><div>./LDAP-SERVER/10-mkslapdcert: line 19: /target//etc/ldap/slapd.cnf: No such file or directory</div><div>(failed with exit code 1)</div><div><br>

</div><div>KDC_LDAP/10-slapd-KDC</div><div>cp: cannot stat `/target/usr/share/doc/sudo-ldap/schema.OpenLDAP': No such file or directory</div><div>(failed with exit code 1)</div><div><br></div><div>SERVER_A/10-misc</div>

<div>chroot: failed to run command `ssh-keygen': No such file or directory</div><div>(failed with exit code 127)</div><div><br></div><div>SERVER_A/50-apache</div><div>chroot: failed to run command `a2enmod': No such file or directory<br>

(failed with exit code 127)</div><div><br></div><div>SERVER_A/60-APTrepo_server OK</div><div><br class="">SERVER_A/65-APTrepo_client OK<br></div><div><br></div><div>SERVER_A/70-dirvish</div><div>./SERVER_A/70-dirvish: line 17: /target/etc/dirvish/master.conf: No such file or directory</div>

<div>(failed with exit code 1)</div><div><br></div><div>GOSA/10-config</div><div>cat: /target//root/installation/LDAPadminPWD: No such file or directory</div><div>(failed with exit code 1)</div><div><br></div><div>GRUB_PC/10-setup</div>

<div>chroot: failed to run command `grub-mkdevicemap': No such file or directory</div><div>chroot: failed to run command `grub-probe': No such file or directory</div><div><div>chroot: failed to run command `grub-install': No such file or directory</div>

</div><div>Grub installedon /dev/sda =</div><div>chroot: failed to run command `update-grub': No such file or directory</div><div>(failed with exit code 127)</div><div><br></div><div>LAST/50-misc OK</div><div><br></div>

<div></shell.log></div><div><br></div><div><br></div><div>It looks like many important applications are missing.</div><div><br></div><div>Hope that helps.</div><div><br></div><div><br></div><div>Franklin</div></div>

</div></div>