About Cannot find grub.cfg [ more input needed | version 1.1 text only ]

Jens Abromeit jens at abromeit.info
Fri Mar 12 10:08:59 CET 2021


Hello Nilesh & all

now a version 1.1 text-only reply... 😉

Is this your first auto installation experience with FAI?
For what purpose do you want to use it?

Could you please add some more details?
For example send the according lines from the error.log from the target 
host and the
wanted partion layout on the target host disk

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

Enter

*    ls -la*

Example output: [ replaced picture with plain text ]

    root at newlife:/var/log/fai/newlife/last# ls -la
    total 884
    drwxr-x--- 2 root adm    4096 Jun  2  2019 .
    drwxr-xr-x 3 root root   4096 Jun  2  2019 ..
    -rw-r--r-- 1 root root     16 Jun  2  2019 additional.var
    -rw-r--r-- 1 root root    469 Jun  2  2019 boot.log
    -rw-r--r-- 1 root root    709 Jun  2  2019 debconf.data
    -rw-r--r-- 1 root root    200 Jun  2  2019 disk_var.sh
    -rw-r--r-- 1 root root  99337 Jun  2  2019 dmesg.log
    -rw-r--r-- 1 root root  11156 Jun  2  2019 error.log
    -rw-r--r-- 1 root root     72 Jun  2  2019 FAI_CLASSES
    -rw-r--r-- 1 root root 590560 Jun  2  2019 fai.log
    -rw-r--r-- 1 root root    728 Jun  2  2019 fai-monitor.log
    -rw-r--r-- 1 root root    136 Jun  2  2019 fcopy.log
    -rw-r--r-- 1 root root  32826 Jun  2  2019 format.log
    -rw-r--r-- 1 root root    469 Jun  2  2019 fstab
    -rw-r--r-- 1 root root  15075 Jun  2  2019 shell.log
    -rw-r--r-- 1 root root  93594 Jun  2  2019 software.log
    -rw-r--r-- 1 root root    508 Jun  2  2019 status.log
    -rw-r--r-- 1 root root   2120 Jun  2  2019 variables.log


and

egrep -i "efi|grub" error.log

and

head -30 format.log

Example output: [ replaced picture with plain text ]

root at newlife:/var/log/fai/newlife/last#  head -30 format.log

    disklist: sda
    Starting setup-storage 2.2
    Using config file: /var/lib/fai/config/disk_config/FAIBASE
    Input was:
    # example of new config file for setup-storage
    #
    # <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

    #disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid

    #primary /      2G-50G   ext4  rw,noatime,errors=remount-ro
    #logical swap   200-10G  swap  sw
    #logical /home  100-     ext4  rw,noatime,nosuid,nodev
    createopts="-L home -m 1" tuneopts="-c 0 -i 0"

    disk_config disk1 disklabel:gpt-bios fstabkey:uuid

    primary /      4G      ext4  rw,noatime,errors=remount-ro
    primary -      6G        -       -

    disk_config lvm
    vg vg_1 disk1.2
    vg_1-lv_0_1    swap   1G swap  sw
    vg_1-lv_0_2    /tmp   1G  ext4  rw,noatime,nosuid,nodev
    createopts="-L tmp -m 0" tuneopts="-c 0 -i 0"
    vg_1-lv_1_1    /home  500  ext4  rw,noatime,nosuid,nodev
    createopts="-L home -m 1" tuneopts="-c 0 -i 0"
    vg_1-lv_1_2    /usr   1500 ext4  rw,noatime,nodev   createopts="-L usr"
    vg_1-lv_1_3    /var   1G  ext4  rw,noatime         createopts="-L
    var -m 5" tuneopts="-c 0 -i 0"
    (CMD) parted -s /dev/sda unit TiB print 1> /tmp/WiOid0Jrkw 2>
    /tmp/ugCX9FytVM
    Executing: parted -s /dev/sda unit TiB print
    (STDOUT) Model: VMware, VMware Virtual S (scsi)
    (STDOUT) Disk /dev/sda: 0.01TiB

and then submit the output from the commands above together with your 
request.

If you have more stuff to submit please use pastebin or something similiar!

Best Regards

Jens

> Am 11.03.2021 um 18:15 schrieb Nilesh Wagh:
>>
>> I am trying to make. iso file and trying to install it on my system 
>> using FAI...
>> But while installing it... There is an error about grub_efi/10-setup 
>> getting failed...
>> Please do provide me an solution on this that i can do .ISO file 
>> installation using FAI...
> -- 
> Mail ist S/MIME signiert. root Zertifikate unter:
> https://www.volksverschluesselung.de/zertifikate.php

-- 
Mail ist S/MIME signiert. root Zertifikate unter:
https://www.volksverschluesselung.de/zertifikate.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20210312/83f47404/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5908 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20210312/83f47404/attachment.p7s>


More information about the linux-fai mailing list