<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Nilesh,<br>
</p>
<p>you wrote on the 16th of march 2021 um 16:46:<br>
</p>
<p><font face="Courier New, Courier, monospace">> chroot: failed
to run command 'update grub': no such file or directory<br>
> error=127<br>
> exit 127</font></p>
<p>It seems, that in your configuration the dash ("-") has to be
added in the grub command:<br>
</p>
<p><font face="Courier New, Courier, monospace">update-grub</font></p>
Please add the the requested output of:
<p><font size="-1" face="Courier New, Courier, monospace">root@[yourinstallhost]:/var/log/fai/[yourinstallhost]/last#
ls -la</font></p>
<p>And please also :</p>
<p><font size="-1" face="Courier New, Courier, monospace"><font
face="Courier New, Courier, monospace">head -30 format.log</font></font></p>
<p>Please add :</p>
<p><font face="Courier New, Courier, monospace">grep -i grub
software.log</font></p>
<p>and</p>
<p><font face="Courier New, Courier, monospace">grep -n1 -b4 -a7
update-grub *<br>
</font></p>
<p>Example Output: <font face="Courier New, Courier, monospace"><br>
</font></p>
<blockquote>
<p><font face="Courier New, Courier, monospace">root@</font><font
face="Courier New, Courier, monospace"><font face="Courier
New, Courier, monospace">[yourinstallhost]</font></font><font
face="Courier New, Courier, monospace">:/var/log/fai/</font><font
face="Courier New, Courier, monospace"><font face="Courier
New, Courier, monospace">[yourinstallhost]</font></font><font
face="Courier New, Courier, monospace">/last# grep -n1 -b4 -a7
update-grub *<br>
shell.log-406-12125-+ [[ /dev/sda =~ /dev/md ]]<br>
shell.log-407-12153-+ chroot /target grub-install --no-floppy
'(hostdisk//dev/sda)'<br>
shell.log-408-12217-Installing for i386-pc platform.<br>
shell.log-409-12250-Installation finished. No error reported.<br>
shell.log-410-12292-+ '[' 0 -eq 0 ']'<br>
shell.log-411-12310-+ echo 'Grub installed on /dev/sda =
(hostdisk//dev/sda)'<br>
shell.log-412-12368-Grub installed on /dev/sda =
(hostdisk//dev/sda)<br>
shell.log:413:12417:+ chroot /target update-grub<br>
shell.log-414-12446-Generating grub configuration file ...<br>
shell.log-415-12485-Found linux image:
/boot/vmlinuz-4.19.0-5-amd64<br>
shell.log-416-12533-Found initrd image:
/boot/initrd.img-4.19.0-5-amd64<br>
shell.log-417-12585-Found memtest86+ image:
/boot/memtest86+.bin<br>
shell.log-418-12630-Found memtest86+ multiboot image:
/boot/memtest86+_multiboot.bin<br>
shell.log-419-12695-done<br>
shell.log-420-12700-+ exit 0<br>
</font></p>
</blockquote>
<p>For better understanding: <br>
</p>
<p>More at end of the FAI installation process the bootloader grub
will be installed <br>
and a final "update-grub" is done. <br>
</p>
<p>And in general:</p>
<p>We don't see what you see. Please add all requested information
to your requests as requested<br>
This extend the willingness to help.</p>
<p>One of the most common misconceptions is that either way too
little or way too much<br>
information is conveyed. Balancing this is the subject of constant
practice,<br>
even with the experienced.</p>
<p>Unfortunately, FAI has a extended learning curve - and sometimes
a bit of IT blood,<br>
admin sweat and tears. But in the end it works as a real cool
solution. <br>
</p>
<p>Best Regards<br>
</p>
<p>Jens<br>
</p>
<p>> waiting for your analysis about this and further answers.<br>
> regards,</p>
<p>Done. 😉 </p>
<div class="moz-cite-prefix">Am 12.03.2021 um 10:08 schrieb Jens
Abromeit:<br>
</div>
<blockquote type="cite"
cite="mid:f084e782-3569-2c3d-a78c-e7a96f2fa3f3@abromeit.info">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p> </p>
<p>Hello Nilesh & all</p>
<p>now a version 1.1 text-only reply... 😉 </p>
<p>Is this your first auto installation experience with FAI?<br>
For what purpose do you want to use it?<br>
</p>
<p>Could you please add some more details? <br>
For example send the according lines from the error.log from the
target host and the<br>
wanted partion layout on the target host disk<br>
</p>
<p>If try to login via SSH or make a local login via console with
the running FAI-CD and go the according
$target/var/log/fai[hostname]/last directory</p>
<p>Enter</p>
<p><font face="Courier New, Courier, monospace"><b> ls -la</b></font></p>
<p>Example output: [ replaced picture with plain text ]<br>
</p>
<blockquote> root@newlife:/var/log/fai/newlife/last# ls -la<br>
total 884<br>
drwxr-x--- 2 root adm 4096 Jun 2 2019 .<br>
drwxr-xr-x 3 root root 4096 Jun 2 2019 ..<br>
-rw-r--r-- 1 root root 16 Jun 2 2019 additional.var<br>
-rw-r--r-- 1 root root 469 Jun 2 2019 boot.log<br>
-rw-r--r-- 1 root root 709 Jun 2 2019 debconf.data<br>
-rw-r--r-- 1 root root 200 Jun 2 2019 disk_var.sh<br>
-rw-r--r-- 1 root root 99337 Jun 2 2019 dmesg.log<br>
-rw-r--r-- 1 root root 11156 Jun 2 2019 error.log<br>
-rw-r--r-- 1 root root 72 Jun 2 2019 FAI_CLASSES<br>
-rw-r--r-- 1 root root 590560 Jun 2 2019 fai.log<br>
-rw-r--r-- 1 root root 728 Jun 2 2019 fai-monitor.log<br>
-rw-r--r-- 1 root root 136 Jun 2 2019 fcopy.log<br>
-rw-r--r-- 1 root root 32826 Jun 2 2019 format.log<br>
-rw-r--r-- 1 root root 469 Jun 2 2019 fstab<br>
-rw-r--r-- 1 root root 15075 Jun 2 2019 shell.log<br>
-rw-r--r-- 1 root root 93594 Jun 2 2019 software.log<br>
-rw-r--r-- 1 root root 508 Jun 2 2019 status.log<br>
-rw-r--r-- 1 root root 2120 Jun 2 2019 variables.log</blockquote>
<p><br>
and<br>
</p>
<p><font face="Courier New, Courier, monospace">egrep -i
"efi|grub" error.log</font><br>
</p>
<p>and<br>
</p>
<p><font face="Courier New, Courier, monospace">head -30
format.log</font><br>
</p>
<p>Example output: [ replaced picture with plain text ]<br>
<br>
root@newlife:/var/log/fai/newlife/last# head -30 format.log<br>
</p>
<blockquote> disklist: sda<br>
Starting setup-storage 2.2<br>
Using config file: /var/lib/fai/config/disk_config/FAIBASE<br>
Input was:<br>
# example of new config file for setup-storage<br>
#<br>
# <type> <mountpoint> <size> <fs type>
<mount options> <misc options><br>
<br>
#disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid<br>
<br>
#primary / 2G-50G ext4 rw,noatime,errors=remount-ro<br>
#logical swap 200-10G swap sw<br>
#logical /home 100- ext4 rw,noatime,nosuid,nodev
createopts="-L home -m 1" tuneopts="-c 0 -i 0"<br>
<br>
disk_config disk1 disklabel:gpt-bios fstabkey:uuid<br>
<br>
primary / 4G ext4 rw,noatime,errors=remount-ro<br>
primary - 6G - -<br>
<br>
disk_config lvm<br>
vg vg_1 disk1.2<br>
vg_1-lv_0_1 swap 1G swap sw<br>
vg_1-lv_0_2 /tmp 1G ext4 rw,noatime,nosuid,nodev
createopts="-L tmp -m 0" tuneopts="-c 0 -i 0"<br>
vg_1-lv_1_1 /home 500 ext4 rw,noatime,nosuid,nodev
createopts="-L home -m 1" tuneopts="-c 0 -i 0"<br>
vg_1-lv_1_2 /usr 1500 ext4 rw,noatime,nodev
createopts="-L usr"<br>
vg_1-lv_1_3 /var 1G ext4 rw,noatime
createopts="-L var -m 5" tuneopts="-c 0 -i 0"<br>
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/WiOid0Jrkw
2> /tmp/ugCX9FytVM<br>
Executing: parted -s /dev/sda unit TiB print<br>
(STDOUT) Model: VMware, VMware Virtual S (scsi)<br>
(STDOUT) Disk /dev/sda: 0.01TiB<br>
<br>
</blockquote>
and then submit the output from the commands above together with
your request.<br>
<br>
If you have more stuff to submit please use pastebin or something
similiar!<br>
<br>
Best Regards<br>
<p>Jens</p>
<blockquote type="cite"
cite="mid:813f22f4-391b-814d-21d7-d2b411de3047@abromeit.info">
<div class="moz-cite-prefix">Am 11.03.2021 um 18:15 schrieb
Nilesh Wagh:<br>
</div>
<blockquote type="cite"
cite="mid:CAO5rVxaQBWfO57cddKTRgARDjwFTMToPaknXrhRumje=gW+irA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="auto"><br
style="font-size:12.8px;font-family:sans-serif">
<span style="font-size:12.8px;font-family:sans-serif">I am
trying to make. iso file and trying to install it on my
system using FAI...</span>
<div dir="auto"
style="font-size:12.8px;font-family:sans-serif">But while
installing it... There is an error about grub_efi/10-setup
getting failed...</div>
<div dir="auto"
style="font-size:12.8px;font-family:sans-serif">Please do
provide me an solution on this that i can do .ISO file
installation using FAI...</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Mail ist S/MIME signiert. root Zertifikate unter:
<a class="moz-txt-link-freetext" href="https://www.volksverschluesselung.de/zertifikate.php" moz-do-not-send="true">https://www.volksverschluesselung.de/zertifikate.php</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Mail ist S/MIME signiert. root Zertifikate unter:
<a class="moz-txt-link-freetext" href="https://www.volksverschluesselung.de/zertifikate.php" moz-do-not-send="true">https://www.volksverschluesselung.de/zertifikate.php</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Mail ist S/MIME signiert. root Zertifikate unter:
<a class="moz-txt-link-freetext" href="https://www.volksverschluesselung.de/zertifikate.php">https://www.volksverschluesselung.de/zertifikate.php</a></pre>
</body>
</html>