Re: Upgrading pxelinux and nfsroot

2019-08-29 Diskussionsfäden Thomas Lange
Hi Merlin, first, read the FAI guide. So you get an overview of the concepts of FAI. You should make a backup of the current nfsroot. I do this using cp -a /srv/fai/nfsroot /srv/fai/nfsroot-old Then recreate the nfsroot. fai-make-nfsroot -fvP Then check the log output. For updating the pxelinux

Re: Adding the option to customize grub boot arguments...

2019-09-12 Diskussionsfäden Thomas Lange
> On Wed, 11 Sep 2019 18:39:52 +, Fernando Cassia > said: > The work-around is adding video=SVIDEO-1:d to the boot parameters... > Would it be possible to add the option to FAI.me to add boot params? I guess you need this boot parameter at two place. First when booting the

Re: openSUSE starting aid

2019-09-13 Diskussionsfäden Thomas Lange
Hi Frank, you need to write a hook repository.OPENSUSE. Have a look at repository.CENTOS which might be a good example. This will make the repository of the opensuse packages available. For installing package you just slightly modified files in package_config. But instead of PACKAGES install you

Re: fcopy and /dev/null

2019-09-17 Diskussionsfäden Thomas Lange
> On Tue, 17 Sep 2019 11:20:42 +, Frank Morawietz > said: > But every time fcopy is used, it complains… > “Can’t open /dev/null: No such file or directory” I guess this comes from a redirect of some output to /dev/null. I've checked the basefiles on

Re: AW: fcopy and /dev/null

2019-09-17 Diskussionsfäden Thomas Lange
> On Tue, 17 Sep 2019 12:54:48 +, Frank Morawietz > said: > I added the mknod command ("mknod --mode=666 /dev/null c 1 3") to the repository hook, right before calling fcopy the first time. You have to use mknod --mode=666 $target/dev/null c 1 3 Maybe /dev/null is needed in

Re: Adding the option to customize grub boot arguments...

2019-09-18 Diskussionsfäden Thomas Lange
> On Wed, 18 Sep 2019 05:08:46 +0200, Robert Spiteri > said: > Any update on this please? Not yet implemented. -- regards Thomas

Using NFS v4 when mounting the nfsroot

2019-09-18 Diskussionsfäden Thomas Lange
Since a long time, I've tried using NFS v4 for the nfsroot. This did not worked since FAI uses overlayfs for making the read-only nfsroot writeable. Therefore FAI force a NFS v3 mount for the nfsroot which works nicely. But now it's possible to use NFSv4. I put some effort in debugging the setup,

FAI.me service now support backports for Debian 10 (buster)

2019-09-11 Diskussionsfäden Thomas Lange
The FAI.me service for creating customized installation and cloud images now supports a backports kernel for stable release Debian 10 (aka buster). If you enable the backports option, you will get currently the 5.2 kernel. This will help you, if you have newer hardware that is not support by the

Re: LVM/chroot: WARNING: Device /dev/vg_sys/swap not initialized in udev database even after

2019-07-26 Diskussionsfäden Thomas Lange
This bug was closed in FAI 5.8.4. There's a Debian bug number: #925247 You are using an old version of FAI, so please update. If you are still using stretch, you can use the version from backports or from the fai-project.org repository. > I'm preparing Debian Buster for use with fai, and

FAI 5.8.7 and new ISO images using Debian 10

2019-09-19 Diskussionsfäden Thomas Lange
A new FAI release is available. It now supports apt keys in files called package_config/CLASS.gpg. Before we only supported .asc files. fai-mirror has a new option -V, which checks if variables are used in package_config/* and uses variable definitions from class/*.var. I've also created new ISO

Re: potential patch to check-cross-arch

2019-10-30 Diskussionsfäden Thomas Lange
> On Wed, 30 Oct 2019 11:15:37 +, Matteo Guglielmi > said: > yes, > that works too for suse. Thanks for the feedback. The patch is now included -- regards Thomas

Re: AW: PXE boot with UEFI

2019-12-04 Diskussionsfäden Thomas Lange
> On Wed, 4 Dec 2019 09:40:45 +, Frank Morawietz > said: > So it looks like the UEFI tftp connection refused error happened where ldlinux should be transferred. > Is there anything else I could examine to diagnose further? I had problems with my thinkpad in the past when

Re: Forgotten home dir

2019-12-10 Diskussionsfäden Thomas Lange
> On Thu, 5 Dec 2019 12:54:08 +, Frank Morawietz > said: > Hello all, > I came across a strange problem during installation: FAI seems to forget the home directory of the root user in the installation system. > echo $HOME My impression is, that FAI does not forget the

Re: get-boot-info

2019-12-13 Diskussionsfäden Thomas Lange
> On Fri, 13 Dec 2019 14:40:34 +0100, Szilard Matyas-Szegedi > said: > I might be missing something, but I don't see why that wait/poll section is necessary as in the next section you poll for default route to be available which will only be available if at least > an

Re: get-boot-info

2019-12-11 Diskussionsfäden Thomas Lange
You issue is now fixed in https://github.com/faiproject/fai/commit/b95d56084255d8512e16724f38aab726dc7fb9d3 -- regards Thomas

Re: get-boot-info

2019-12-12 Diskussionsfäden Thomas Lange
> On Wed, 11 Dec 2019 13:57:44 +0100, Szilard Matyas-Szegedi > said: > As dev is no longer used anywhere else from now on, the section getting it could be cleaned-up as well with the exception of the dummy variable: This section is still needed. It waits until an interface (execpt

New feature for FAI.me service, set kernel cmdline options

2019-12-16 Diskussionsfäden Thomas Lange
Several people asked if it's possible to specify additional kernel cmdline parameters in the FAI.me service. Now I've implemented this feature. After toggling to the advanced settings, you can add your options. These will replace the default "quiet" option. This feature is currently only

Re: potential patch to check-cross-arch

2019-10-29 Diskussionsfäden Thomas Lange
> On Thu, 17 Oct 2019 10:35:24 +, Matteo Guglielmi > said: > For those interested, > the final and working patch that takes care of all possible > cases is the following one: > _ls=$(realpath -m $_ls) # insert these two lines before >

Re: non zero exit codes for classes scripts

2019-10-26 Diskussionsfäden Thomas Lange
Hi Martin, which FAI versions are you comparing? -- regards Thomas

Re: non zero exit codes for classes scripts

2019-10-26 Diskussionsfäden Thomas Lange
Hi Martin, I can find no change that causes a change in the behaviour for that between 5.8.1 and the newest FAI version. As you pointed out an "exit X" in a .sh script causes fai-class to stop defining more classes. You can try to set an error code inside a .sh file by using a call to task_error

Re: Configuring uefi boot

2019-11-26 Diskussionsfäden Thomas Lange
> On Mon, 25 Nov 2019 16:53:24 -0800, CSCI Technician > said: > The related classes defined are GRUB and GRUB_EFI.  GRUB_PC is not > defined.  What I'm not sure how to fix is to get grub-install to realize > this is an efi and not a bios install so that it should be using

Re: Install RHEL8/CentOS 8

2019-11-29 Diskussionsfäden Thomas Lange
You should read the FAI guide, especially https://fai-project.org/fai-guide/#_a_id_otherdists_a_installing_other_distributions_using_a_debian_nfsroot You need a basefile for RHEL 8 but rinse does only support CentOS 7 yet. -- regards Thomas

Re: Possible bug in LAST/50-misc

2019-11-04 Diskussionsfäden Thomas Lange
> On Mon, 4 Nov 2019 09:29:00 +0100, Steffen Grunewald > said: > (It seems that, while considering all dependencies, FAI sometimes reorders or > splits installs, with a flag that doesn't consider dependencies at that There's a variable which defines the maximal amount of

Re: Possible bug in LAST/50-misc

2019-10-31 Diskussionsfäden Thomas Lange
I've added -y to the apt-get call. But you should check why this happens. > 1 not fully installed or removed. I guess something went wrong before. -- regards Thomas

Re: Configuring uefi boot

2019-11-27 Diskussionsfäden Thomas Lange
> On Tue, 26 Nov 2019 09:07:00 -0800, CSCI Technician > said: > I have updated my FAI install and NFSROOT to one of the latest > versions... however my config still needs to be updated.  I noticed this > when comparing some of the scripts in my config directory vs those in

Re: potential patch to check-cross-arch

2019-10-09 Diskussionsfäden Thomas Lange
> On Wed, 9 Oct 2019 15:40:02 +, Matteo Guglielmi > said: > This script: > /srv/fai/nfsroot/usr/lib/fai/check-cross-arch > fails (line 36: info=$(file $_ls)) on openSUSE > and Suse Linux Enterprise systems because: Which openSUSE version are you using? Does file -L

Re: /etc/resolv.conf contents reversed after rebuilding nfsroot

2019-10-09 Diskussionsfäden Thomas Lange
Hi Merlin, if I understand your correct, the resolv.conf inside the nfsroot is always correct. Upgrading the nfsroot using -kvp did not rebuild the whole nfsroot, it just upgraded it without changing resolv.conf Using fai-make-nfsroot -fvp rebuilds the whole nfsroot. But building the nfsroot

FAI 5.8.9 released

2019-10-06 Diskussionsfäden Thomas Lange
FAI 5.8.9 was released which fixes a small bug in install_packages that created package lists with additional packages when using different PACAKGES lines. -- regards Thomas

Re: 20 years of FAI

2020-02-12 Diskussionsfäden Thomas Lange
Hi Denny, thanks a lot for your kind feeback. I'm still very interested in getting feeback via the FAI http://fai-project.org/questionnaire. I do not have a wishlist on amazon, but if you meet me at some open source event, you can buy me a beer. -- regards Thomas

Re: FAI_BASEFILEURL and trailing slash

2020-02-12 Diskussionsfäden Thomas Lange
> On Tue, 11 Feb 2020 11:28:15 -0800, andrew bezella > said: > in most places the documentation includes a trailing slash but it could > be updated for consistency in e.g., https://wiki.fai-project.org/index. > php/Variables and

Re: Upgrade error in nfsroot

2020-02-26 Diskussionsfäden Thomas Lange
> On Wed, 26 Feb 2020 09:20:47 +0100, Andreas Heinlein > said: > Hello, > I have to correct myself: upgrading the nfsroot worked, but the NFS root is not functional now. When booting, it says "cannot execute /etc/init.d/rcS". Indeed, /etc/init.d/rcS does not exist. > Is

downtime of fai-project.org on saturday feb, 29th

2020-02-26 Diskussionsfäden Thomas Lange
Due to a power shutdown the whole fai-project.org domain will be offline on saturday feb, 29th from 8:00 to about 15:00 CET. -- regards Thomas

Re: /etc/hosts in scripts/FAIBASE/10-misc

2020-03-04 Diskussionsfäden Thomas Lange
You are right, I've moved the code in this commit. Thanks for reporting this issue. https://github.com/faiproject/fai-config/commit/18abec119171380a78b87b81bad392ce8527129e -- regards Thomas

Re: FAI build using a small disk image with LACP support

2020-02-28 Diskussionsfäden Thomas Lange
> On Fri, 28 Feb 2020 16:21:38 +1300, Andrew Ruthven > said: > All the servers support Redfish, so I can script uploading a disk image > to be booted from. > What I'm thinking is prepare a FAI boot image based on an nfsroot, with > minimal configuration to bring up a

Re: commit c817ba1 - test for systemd-machine-id-setup

2020-01-23 Diskussionsfäden Thomas Lange
> On Thu, 23 Jan 2020 16:58:27 -0800, andrew bezella > said: > and i was wondering if the removal of "$target" in the "-f" test for > `systemd-machine-id-setup` was intentional? since the next line is > "$ROOTCMD systemd-machine-id-setup" it would seem that the test should

FAI 5.9 hash sum mismatch now fixed

2020-01-23 Diskussionsfäden Thomas Lange
Hi, you may have seen some warnings about Hash Sum mismatch for the deb files of version 5.9 is you were using both the fai-project.org package repository and some official Debian mirror. This looks like this Err:1 http://deb.debian.org/debian testing/main amd64 fai-server all 5.9 Hash Sum

FAI 5.9.1 with CentOS 8 support

2020-01-26 Diskussionsfäden Thomas Lange
FAI 5.9.1 is now released including CentOS 8 support. New ISO images are now available on the web page https://fai-project.org -- regards Thomas

FAI 5.9.2

2020-02-21 Diskussionsfäden Thomas Lange
The new FAI version 5.9.2 now includes the nvme cli tool for better listing of nvme devices. It also fixes a bug that btrfs file systems were not preserved. setup-storage itself now stops syncing software raid devices, which was formerly done in a hook. fai-monitor can now use custom formats for

Re: FAI 5.x - Roadmap FAI-CD with UEFI

2020-02-13 Diskussionsfäden Thomas Lange
Hi Marco, wollte dir nur sagen das UEFI support seit FAI 5.9 seit Januar in fai-cd drin ist. Viel Spass beim ausprobieren und ueber Rueckmeldungen freu ich mich. -- viele Gruesse Thomas

Re: Package dependency problems

2020-01-10 Diskussionsfäden Thomas Lange
You can use dpkg-divert (also used by fai-divert) for diverting a file, even before it's installed I guess. > On Fri, 10 Jan 2020 14:11:43 -0600, John G Heim > said: > Geez, what a load of bullstuff. Maybe I can add a hook to create that > file before fai starts installing

Re: FAI 5.9 released, adding UEFI support

2020-01-09 Diskussionsfäden Thomas Lange
> On Wed, 8 Jan 2020 18:26:28 +0100, Martin Krämer > said: > After a short check I found that the line: > "search --set=root --file /FAI-CD" is missing within my grub.cfg and within your "FAI server installation" entries. > So as soon as I add this line as it is within

20 years of FAI

2020-01-12 Diskussionsfäden Thomas Lange
I wrote a small blog post[1] about what has happened since the last 20 years since the release of FAI 1.0. I would be happy to collect more user reports of FAI. If you never send the FAI questionnaire [2], please do so now. If you already send a report but this was long time ago, please update

Re: fai-sed exit code

2020-01-13 Diskussionsfäden Thomas Lange
>>>>> On Fri, 10 Jan 2020 16:16:19 +0100, Andreas Heinlein >>>>> said: > Am 10.01.20 um 16:02 schrieb Thomas Lange: >> I want to distinguish if fai-sed has nothing to change or changed the >> file. Therefore in one the cases it has to ret

Re: fai-sed exit code

2020-01-10 Diskussionsfäden Thomas Lange
> On Fri, 10 Jan 2020 14:47:15 +0100, Andreas Heinlein > said: > can you explain the purpose of fai-sed exiting with '1' if the file was changed? By default, this would mean a script *fails* with this exit code if a file was actually changed. > Would also be nice to update

Re: fai-cd 5.9 grub-mkstandalone error

2020-01-10 Diskussionsfäden Thomas Lange
> On Fri, 10 Jan 2020 16:08:03 +0100, Andreas Heinlein > said: > I just tried the fai-cd command from FAI 5.9. After creating the squashfs, I get: > grub-mkstandalone: error: cannot make temporary directory: No such file or directory. It seems that grub-mkstandalone uses

Re: Package dependency problems

2020-01-10 Diskussionsfäden Thomas Lange
apt-rdepends -r chromium-browser will list the reverse dependencies. You can set the variable MAXPACKAGES to 1 so only one package and its dependencies are installed at a time. By default we have this set in class/FAIBASE.var -- regards Thomas

Re: Update for Trusty PPA?

2020-01-02 Diskussionsfäden Thomas Lange
> On Fri, 03 Jan 2020 11:49:52 +1300, Andrew Ruthven > said: > Would it be possible to get the fai-server available for Trusty from > http://ppa.launchpad.net/fai/ppa/ubuntu updated so that at lase fai- > make-nfsroot includes the fix to run mkdir -p $NFSROOT/dev/pts in the

Re: dracut: "No carrier detected on interface eth0", but interface later gets up

2020-01-05 Diskussionsfäden Thomas Lange
This is your kernel cmdline: Command line: BOOT_IMAGE=vmlinuz-4.19.0-6-amd64 initrd=initrd.img-4.19.0-6-amd64 ip=dhcp root=/srv/fai/nfsroot:vers=3 rootovl FAI_FLAGS=verbose,sshd,createvt,reboot FAI_CONFIG_SRC=nfs://faiserver/srv/fai/config FAI_ACTION=install rd.debug I guess the problem is

Re: dracut: "No carrier detected on interface eth0", but interface later gets up

2020-01-05 Diskussionsfäden Thomas Lange
> On Sun, 5 Jan 2020 19:35:45 +0100, Markus Weich > said: > I set up a client using > fai-chboot -Iv -f verbose,sshd,createvt,reboot -u nfs://faiserver/srv/fai/config 90:1B:0E:C5:4E:48 > The client is booting fine, entering dracut. However, eth0 won't reach state UP.

FAI 5.9 released, adding UEFI support

2020-01-07 Diskussionsfäden Thomas Lange
Hi folks, a new FAI version is available. FAI 5.9 includes following enhancements: * add UEFI support to fai-cd, fai-kvm * add disk configs for UEFI * fai-sed - call sed on a file but check for changes before writing * fai-link - create symlink idempotent UEFI support in fai-cd only

Re: FAI-CD / EFI

2019-12-28 Diskussionsfäden Thomas Lange
> I've got a blocking problem with FAI-CD, as you know, one can't use FAI-CD for booting EFI machines. But I'm working with several developers in my company pretty much everywhere in the > world and since the new workstations work only with EFI, I can't provide a functional ISO file.

Re: minor inconsistencies in the example fai-config space

2020-03-11 Diskussionsfäden Thomas Lange
Hi Andrew, thanks a lot for your hints. > On Thu, 05 Mar 2020 15:10:19 -0800, andrew bezella > said: > * in `scripts/FAIBASE/10-misc` there is a modification of `/etc/fstab`: > # use tmpfs for /tmp > ainsl /etc/fstab "tmpfs /tmp tmpfs

Re: 5.9.2 - fai-divert problem

2020-03-11 Diskussionsfäden Thomas Lange
> On Tue, 10 Mar 2020 12:53:41 -0700, andrew bezella > said: > i believe commitid 84eda68 in the 5.9.2 release introduced a bug in > fai-divert: `command` is a bash builtin and fails when used with > `chroot`. Hi Andrew, you are right, it's a bug. Luckily it does not affect

Re: Remote touchless install with a static IP?

2020-10-02 Diskussionsfäden Thomas Lange
> On Thu, 1 Oct 2020 23:20:13 +, "Holland, Jake via linux-fai" > said: > I tried that iso as the CD on a local vm as a sort of "getting started" > step, but it seemed to go into an infinite loop of installing. > I tried You need to set the boot order of your VM to first

Re: Fai.me support for i386 and lxqt desktop

2020-10-18 Diskussionsfäden Thomas Lange
> On Sun, 18 Oct 2020 16:41:23 +0200 (CEST), Jean-mathieu CHANTREIN > said: > Can fai.me provide iso for 32 bit processors ? Currently fai.me does not provide it, but the tools behind this service can create cross-architectur images. If you set up your own FAI install server you can

RE: Remote touchless install with a static IP?

2020-10-01 Diskussionsfäden Thomas Lange
Hi > On Wed, 30 Sep 2020 03:20:03 +, "Holland, Jake via linux-fai" said: > But it looks like the FAI docs really want me to use dhcp, and I > cannot do this thing. I don't have control of the environment there > where the machine is located. If that's truly a requirement

Re: Autodiscover.iso - No servers found

2020-09-21 Diskussionsfäden Thomas Lange
Hi Jules, Are the network parameters shown by the autodiscover ISO correct? It executes this line: echo "Scanning $iprange for FAI server (port $FAI_MONITOR_PORT)" Please check the IP range and the port. Then the autodiscover scripts do a nmap to get the list of possible FAI servers. You can

Re: Fai.me support for i386 and lxqt desktop

2020-10-21 Diskussionsfäden Thomas Lange
> On Wed, 21 Oct 2020 19:35:11 +0200 (CEST), Jean-mathieu CHANTREIN > said: > I tried in plain text consol (no x11) mode and just putting the package task-lxqt-desktop, unfortunately there is a configuration problem (no icon is displayed in the interface). Mmm, I do not know what

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-19 Diskussionsfäden Thomas Lange
> On Tue, 19 Jan 2021 06:57:26 -0800, fai1...@macrotex.net said: > I am already using that patch. The problem seems to be that the altname > returned by "ip link show eth0" in 30-interface is "enp11s0" and hence > that is the filename what 30-network puts into >

Re: RAID + UEFI

2021-01-14 Diskussionsfäden Thomas Lange
Hi Alexander, my short search found some links that all say, UEFI cannot boot software AID. This makes much sense to me. The solution seems to have a /boot/efi partitions on each disk and have two UEFI boot entries. https://askubuntu.com/questions/66637/can-the-efi-system-partition-be-raided

Re: RAID + UEFI

2021-01-22 Diskussionsfäden Thomas Lange
> On Thu, 21 Jan 2021 18:13:25 +0100, Alexander Thomas > said: > I would prefer the second method because it is not a hack. I have > successfully tried it with only 1 disk in the RAID during install, but > with 2 disks there is a problem. The disk_config for this 2-disk

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-18 Diskussionsfäden Thomas Lange
> On Fri, 15 Jan 2021 09:38:41 -0800, fai1...@macrotex.net said: > I do the initial FAI imaging using a buster NFS root and install buster > in /target. When I then run "chroot /target udevadm info > /sys/class/net/eth0" I see about 27 lines including a bunch of >

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-19 Diskussionsfäden Thomas Lange
> On Tue, 19 Jan 2021 21:00:28 +0100, Stefan Möding > said: > It seems the path based name is used when booting the NFSROOT while the slot > based name is used when the machine is rebooted after installation. To me > that looks like a problem with the NFSROOT like missing

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-19 Diskussionsfäden Thomas Lange
>>>>> On Mon, 18 Jan 2021 18:23:05 +0100, Thomas Lange >>>>> said: > I found out that "udevadm trigger" is executed when doing the > inventory but not when doing the installation. I found out, that I've added a patch after the release

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-15 Diskussionsfäden Thomas Lange
> On Thu, 14 Jan 2021 12:19:30 -0800, fai1...@macrotex.net said: > I am attempting to build Debian "bullseye/sid" (pre-release bullseye) > using FAI 5.9.4. The network interface names come out being inconsistet, Maybe you are missing this patch which is not in 5.9.4 included:

Re: Remove a defined class

2020-12-10 Diskussionsfäden Thomas Lange
> On Thu, 10 Dec 2020 15:11:14 +, Markus Rexhepi-Lindberg > said: > Is it possible to remove a defined class during a install? Uuuuh. It may be possible but in 2006 we already had this questions https://lists.uni-koeln.de/pipermail/linux-fai/2006-November/004613.html The clean

Re: Bootable FAI installer USB stick without ISOHybrid?

2021-02-01 Diskussionsfäden Thomas Lange
> On Mon, 1 Feb 2021 18:08:22 +0100, Alexander Thomas > said: > In short: would it be possible to make a FAI installer boot and run > from a USB disk that has a normal MBR partition table, instead of the > ISOHybrid hocus-pocus? Sure. FAI does not need an ISO at all. We can

Re: Bootable FAI installer USB stick without ISOHybrid?

2021-02-03 Diskussionsfäden Thomas Lange
Another hint for creating the USB stick: https://grml.org/grml2usb/ They are not using dracut, but I guess a similar partition layout should work with dracut. -- viele Grüße Thomas

Re: Partition type of USB live image is now "empty"

2021-01-27 Diskussionsfäden Thomas Lange
Hi Alexander, I've checked several other linux ISO images (ubuntu,grml, Centos, Debian, archlinux) and only archlinux does not use type 0 for the first partition on their ISOs. But archlinux set a flag called hidden. Fedora use type 0 but with parted I canot set the partition, cfdisk shows the

Re: Bootable FAI installer USB stick without ISOHybrid?

2021-02-03 Diskussionsfäden Thomas Lange
>>>>> On Wed, 3 Feb 2021 15:25:44 +0100, Alexander Thomas >>>>> said: > On Mon, 1 Feb 2021 at 20:26, Thomas Lange wrote: > We have already started to try a few things and the main problem now > seems to be to get dracut to play nice w

Re: Bootable FAI installer USB stick without ISOHybrid?

2021-02-03 Diskussionsfäden Thomas Lange
Another hint: https://access.redhat.com/discussions/5706091 I guess you can add vfat support easily into dracuts initrd. Then set these kernel commandline paramters to point dracut to the squashfs file which should also be accessible insode a vfat fielsystem. rd.live.dir=

Re: Weird generated hostname

2021-06-18 Diskussionsfäden Thomas Lange
> On Fri, 18 Jun 2021 08:37:52 +0200, Andreas Heinlein > said: > Now it is '127-0-0-1/8 192-168-10-123'. Yes, including the slash and the space. Didd you upgrade to a newer FAI version? In FAI 5.10 we changed some IP detection in get-boot-info. Maybe this leads to this weird

Re: unshare causes breakage in docker

2021-06-21 Diskussionsfäden Thomas Lange
> On Tue, 27 Apr 2021 21:05:37 +0100, Justin Cattle said: > We build FAI images in docker. Have a look at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989547 There's also a workaround how to disable the use of unshare. -- viele Grüße Thomas

Re: Grub install fails because of missing files

2021-05-10 Diskussionsfäden Thomas Lange
> On Mon, 10 May 2021 16:28:56 +, "Moser, Marcus" > said: > I want to install CentOS 7 with FAI, but the grub install always fails. In the log file was the following massage: > „grub2-install: error: cannot find EFI directory.“ I seems that you want to do a CentOS

FAI 5.10.3, feature added to FAIme service

2021-05-24 Diskussionsfäden Thomas Lange
Hi all, I've released FAI 5.10.3, including a minor fix which only affects raid setup in virtual environments. See #988987 for more info. The FAIme service was extended. I've added the feature to upload a custom shell script, which is added to the installation ISO and gets executed during boot

Re: AW: fai-diskimage variable "classes" not inherited to fai

2021-07-01 Diskussionsfäden Thomas Lange
> On Thu, 1 Jul 2021 09:24:37 +, "Schulz, Reiner" > said: > # fai-diskimage -v -N -u dvzsn-ra0317 image.raw > ERROR: No classes are defined >> From /usr/sbin/fai-diskimage: > 182 if [ -z "$classes" ]; then > 183 die 7 "No classes are defined" > 184 fi

Re: fai-diskimage variable "classes" not inherited to fai

2021-06-30 Diskussionsfäden Thomas Lange
> On Wed, 30 Jun 2021 08:09:43 +, "Schulz, Reiner" > said: > How is "-c" concatenate to the classes from config_space/class ? > We set a couple of default classes (class/49-always_set_classes) and add only the invidual, server specific, classes via class/50-host-classes

Re: VMs end up without grub installed

2021-04-22 Diskussionsfäden Thomas Lange
> On Wed, 21 Apr 2021 00:12:02 -0700, Bill MacAllister > said: > What I am seeing is the that everything on the build goes fine until > GRUP_PC/10_setup. 10_setup exists with error status of 1. The > resulting system does not boot, well, boots to a blank screen. Looking

Re: unshare causes breakage in docker

2021-04-28 Diskussionsfäden Thomas Lange
> On Tue, 27 Apr 2021 21:05:37 +0100, Justin Cattle said: > Can we somehow make unshare vs chroot an option ?  Or, even better perhaps, detect docker > and don't use unshare in that case ? Do you know how to detect that the process is running inside docker? -- viele Grüße Thomas

Re: CD, NFSROOT and expiring DHCP lease

2021-04-29 Diskussionsfäden Thomas Lange
> On Thu, 29 Apr 2021 21:21:06 +1200, Andrew Ruthven > said: > Dracut acts as a DHCP client, but is a single shot only. Once the > lease expires nothing on the machine building rebuilt renews > it. Hi Andrew, you are right, in FAI the kernel (or maybe the initrd) configures

Re: Some troubles with grub with buster point release 10.8

2021-02-08 Diskussionsfäden Thomas Lange
> On Mon, 8 Feb 2021 07:24:33 +0100, Carsten Aulbert > said: > grub-pc/grub2 in buster's 10.8 point release "sacrifices" > non-interactive upgrade-ability[1]. :-( I also have some machines that are stuck because of this. I wonder why not all machines are affected. -- viele

Re: Some troubles with grub with buster point release 10.8

2021-02-08 Diskussionsfäden Thomas Lange
In a KVM VM, we cannot detect the disk by looking into /dev/disk/by-id :-( We need a fallback for this environment. Maye we then just use /dev/vda? buster[~]$ ls -l /dev/disk/* /dev/disk/by-id: total 0 lrwxrwxrwx 1 root root 9 Feb 2 11:32 ata-QEMU_DVD-ROM_QM3 -> ../../sr0

Re: Some troubles with grub with buster point release 10.8

2021-02-08 Diskussionsfäden Thomas Lange
I've updated your script. I now scans MBR, skips cdrom devices, and checks devices in a VM, which does not use /dev/disk/by-id. I'm not sure if still some edge cases are not covered. I'm only putting it here for a day, since I guess it will get udpates soon http://paste.debian.net/1184540/ --

Re: Some troubles with grub with buster point release 10.8

2021-02-08 Diskussionsfäden Thomas Lange
I've created a patch for scripts/GRUB_PC/10-setup https://github.com/faiproject/fai-config/commit/bf90f3048f552f2dc1a0f50766646dff9f67aef9 This should fix the issue for new installations. Mmm, I forgot the VM case. So this does not work yet on virtual machines. -- viele Grüße Thomas

Re: Some troubles with grub with buster point release 10.8

2021-02-08 Diskussionsfäden Thomas Lange
A simple fallback was added, so it now works in a VM. The newest version of the grub pc setup script is https://github.com/faiproject/fai-config/blob/master/scripts/GRUB_PC/10-setup I'm very happy to get feedback -- viele Grüße Thomas

Re: Some troubles with grub with buster point release 10.8

2021-02-09 Diskussionsfäden Thomas Lange
I like to summarized the grub-pc problem the new point release 10.8 introduced to FAI users. If you have installed a computer with grub-pc (grub EFI is not affected), FAI installed grub into the MBR of the boot disk(s), but it did not wrote the debconf variable grub-pc/install_devices. After the

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Thomas Lange
> On Wed, 10 Feb 2021 12:13:28 +0100, Stefan Möding > said: > mbrdevices=$($ROOTCMD udevadm info -r --query=symlink $BOOT_DEVICE | grep -Po '/dev/disk/by-id/ata\S+') > will emit an exit status 1 if it does not find a match. This is > propagated as the script error status

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Thomas Lange
Ooh, it seems more complicated. Your code does not work on a machine with one SATA disk: $ udevadm info -r --query=symlink /dev/sda /dev/disk/by-id/wwn-0x5001517803d00e48 /dev/disk/by-id/ata-INTEL_SSDSC2CW120A3_CVCV249103KG120BGN /dev/disk/by-path/pci-:00:1f.2-ata-1 $ udevadm info -r

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Thomas Lange
> On Wed, 10 Feb 2021 19:53:39 +0100, Stefan Möding > said: > Oh... So "sed" might not be a good idea if you want all entries. I don't want all entries, I just want the one that's better readable. > # udevadm info -r --query=symlink /dev/sda >

Re: Some troubles with grub with buster point release 10.8

2021-02-11 Diskussionsfäden Thomas Lange
> On Thu, 11 Feb 2021 08:23:07 +0100, Carsten Aulbert > said: > I assume udevadm would return any of the valid device links and by-path > is always set, thus: > get_stable_devname() { > _DEV="$1" This does not work, because the order of links returned by udevadm

Re: Parmeter DEFCONSOLE=ttyS0,115200n8 / fai.me

2021-01-29 Diskussionsfäden Thomas Lange
> On Wed, 27 Jan 2021 21:13:02 +0100, Jürgen Fricke > said: > Hi folks, is it possible to set the parameter DEFCONSOLE=ttyS0,115200n8 > via grub options? As a beginner I'm trying to get SVGA etc to work with > FAI on a small target system without display, only ttyS0 is

Re: fai-setup: ECDSA-key missing in known_hosts

2021-10-23 Diskussionsfäden Thomas Lange
> On Fri, 22 Oct 2021 23:21:07 +0200, Christian Meyer said: > This file is created by /usr/sbin/fai-setup and I found that the rsa- > key and the ed25519-key are recognised and handled well (except some > obfuscation), but the ecdsa-key still is missing. You are right, fai-setup

Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Thomas Lange
Hi Carlos, that is strange. I see this in my logs: Copying the nfsroot to CD image Copying the config space to CD image Parallel mksquashfs: Using 2 processors . . . Number of gids 1 root (0) mkfs.fat 4.2 (2021-01-31) Writing FAI CD-ROM image to /home/lange/a.iso. This may need some

Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Thomas Lange
> The complete log was stored in: https://controlc.com/2cfb50fd + dd if=/dev/zero of=/tmp/scratch/efiboot.img bs=1M count=3 cleanup_liveos_mounts + cleanup_liveos_mounts This is the part where it failes. I guess there's no disk space left in /tmp/scratch when creating this small image. --

Re: updates to fai-cd

2021-07-24 Diskussionsfäden Thomas Lange
> On Fri, 23 Jul 2021 11:12:18 +0200, Sinh Lam > said: > Some of these options are not valid in the version of xorriso that’s available in 16.04 (or 20.04 for that matter).  I’ve even tried looking for this version on a Debian server and they > aren’t there.   Can you please

Re: no operating system found

2022-03-28 Diskussionsfäden Thomas Lange
Hi Matthias, auf jeden Fall mal die Log Dateien der FAI Installion ansehen. Irgendetwas ist das nicht richtig gelaufen. Ist das ein UEFI System? > On Tue, 15 Mar 2022 09:05:21 +, "Weber, Matthias - LASUB" > said: > Hallo, > ich habe FAI Ubuntu 20.04 LTS auf einem Lenovo

booting FAI without PXE, tftp using kexec

2022-04-05 Diskussionsfäden Thomas Lange
Hi all, I just installed a machine in a different subnet where I could no use network booting using PXE. But on this machine linux was already running. This is how I managed to boot the FAI system and to start the installation. Load the FAI kernel and initrd from the nfsroot and add FAI

Re: LUKS, "no device found"

2022-01-24 Diskussionsfäden Thomas Lange
> On Mon, 24 Jan 2022 10:31:19 +0100, Juri Grabowski said: > I was looking to my configuration right now and it looks like yours, but with "disk_config end" on the end. "disk_config end" ? I never used this, but indeed it's in the man page. Something new for me ;-) -- viele Grüße

Re: LUKS, "no device found"

2022-01-25 Diskussionsfäden Thomas Lange
> On Tue, 25 Jan 2022 16:06:52 -0800, Ian Eure said: > Is it trying to tear down the existent (broken) disk structure > instead of overwriting it? Otherwise, I don’t understand what If you like to overwrite all old lvm softraid stsructures, you can use a hook for that. I use this

Re: booting FAI without PXE, tftp using kexec

2022-04-06 Diskussionsfäden Thomas Lange
> On Wed, 6 Apr 2022 09:37:08 +0100, Justin Cattle said: > Hi Thomas, > That's very cool.  Thanks for sharing. > I guess you are copying the kernel and initrd over manually and putting them in your current working > dir ? Yes, excatly. -- viele Grüße Thomas

<    8   9   10   11   12   13   14   >