make-fai-bootfloppy?

2009-04-29 Diskussionsfäden John G. Heim
I recently updated my fai server from etch to lenny and my FAI installation broke. I'm working on setting everything up again but I am wondering about make-fai-bootfloppy. I guess that's been depricated. The problem is that I cannot do a PXE boot because I'm blind and I cannot change the

Re: make-fai-bootfloppy?

2009-04-29 Diskussionsfäden John G. Heim
- Original Message - From: Thomas Lange la...@informatik.uni- Hi yes this can be done, but does not work out of the box. I would try it this way: Use fai-cd to create a bootable CD, but use an empty mirror. Even if the nfsroot and the config space is now copied onto the CD, you can

Detectng sound card

2009-05-20 Diskussionsfäden John G. Heim
All, I would like to configure my FAI installation to detect the sound card on a PC and fcopy the appropriate /var/lib/alsa/sound.state file. I guess the question is, what's the best way to detect a particular piece of hardware? I was considering running lsmod or lspci within a perl script

preserve first primary partition

2009-05-22 Diskussionsfäden John G. Heim
I am trying to create some dual-boot machines using FAI. But I cannot figure hout how to preserve the first partition where Windows is installed. I did managed to wipe Windows out on one computer. If I say preserve_always:1, do I still have to create a line for that partition? I want linux

getting list of classes?

2009-06-26 Diskussionsfäden John G. Heim
Is there a way for me to get a list of which classes are set for a FAI installation while the install is happening? I am running a FAI install as I write this and I'm logged into the machine via ssh. I can see that the disk was not partitioned the way I want but I do not know why. I would like

Installing seamonkey

2009-09-04 Diskussionsfäden John G. Heim
Anybody know if it is possible to install seamonkey via FAI? I have discovered that you can make it work by simply copying the whole seamonkey directory from a working installation to another machine. But then there are no menu items. The user has to run it by running it from a terminal window

Re: Installing seamonkey

2009-09-04 Diskussionsfäden John G. Heim
From: Markus Köberl markus.koeb...@tugraz.at I am not completely sure, it is a long time ago that i had to do this. It worked with debian etch for gnome and kde. Try to create an aplicationname.desktop file at /usr/share/applications and run update-menus example of the aplicationname.desktop

mkisofs vs genisoimage

2011-02-21 Diskussionsfäden John G. Heim
I just installed the version of FAI from debian squeeze. It looks as if fai-cd is trying to use mkisofs but squeeze no longer contains a package by that name. However, dpkg says its been replaced by a package named genisoimage.

no IP address

2011-06-17 Diskussionsfäden John G. Heim
All, What would be a reason for a machine to not get an IP address when booting into an FAI install? I have a test machine that boots into linux and gets an IP address via DHCP. But when i boot into an FAI install via a CDROM, it drops into the initramfs shell and says it couldn't find a live

Re: no IP address

2011-06-21 Diskussionsfäden John G. Heim
From: Thomas Lange la...@informatik.uni-koeln.de To: linux-fai linux-fai@uni-koeln.de Sent: Sunday, June 19, 2011 6:23 AM Subject: Re: no IP address On Fri, 17 Jun 2011 14:49:01 -0500, John G. Heim jh...@math.wisc.edu said: into an FAI install? I have a test machine that boots into linux

Re: no IP address

2011-06-21 Diskussionsfäden John G. Heim
From: Thomas Lange la...@informatik.uni-koeln.de To: linux-fai linux-fai@uni-koeln.de Sent: Tuesday, June 21, 2011 3:20 PM Subject: Re: no IP address On Tue, 21 Jun 2011 14:36:39 -0500, John G. Heim jh...@math.wisc.edu said: Its the FAI version from debian testing, 3.4.8. I generated

booting from CD solved

2011-06-22 Diskussionsfäden John G. Heim
Hi, I have more or less solved the boot problem. I posted yesterday about being unable to boot from a CD because it wasn't getting an IP address. I found messages via google about the man page for live-boot being wrong. The live-boot man page gives an example for the ip= boot parameter that

kernel boot parm nfsroot

2011-06-22 Diskussionsfäden John G. Heim
When I'm specifying the nfsroot in my grub.cfg, I'm hardcoding in the IP address of the nfs server. nfsroot=192.168.0.1:/srv/fai/nfsroot. I remember some time ago, back when I was setting up fai for etch, I had to figure out how to specify different nfs servers by IP address. Before that, it

preserving Windows 7

2011-07-01 Diskussionsfäden John G. Heim
Hi,Is there documenation somewhere on configuring FAI to make a dual boot, Windows/linux, machine? I have setup-storage preserving the Windows partition but update-grub still doesn't see the Windows 7 operating system. I am trying to upgrade my FAI config from lenny to

disk partitioning (again)

2011-07-13 Diskussionsfäden John G. Heim
I would like to reproduce the following partitioning scheme in a FAI setup_storage config. IThe thing I don't know how to do is to create a primary extended partition. I don't see anything in the FAI docs on that. The first partition has to be preserved and then the rest of the disk is for

SOLVED: Asking a question during install

2011-07-14 Diskussionsfäden John G. Heim
I've asked a lot of questions lately so I thought I'd share my perl subroutine for asking a question during a FAI install. It validates the answer versus a list of valid answers and it times out after 30 seconds taking the default as the answer. It takes 3 parms: 1. The question. 2. A pointer

Re: disk partitioning (again)

2011-07-14 Diskussionsfäden John G. Heim
From: Michael Tautschnig m...@debian.org To: linux-fai@uni-koeln.de Sent: Wednesday, July 13, 2011 12:43 PM Hmm, setup-storage does have a man page, but it may be hard to distill that particular aspect. I'll try to produce a suitable config below. I'm not qui= te sure about the sizes, made a

Problem partitioning dual-boot

2011-09-07 Diskussionsfäden John G. Heim
All, I am having a problem partitioning a disk for dual boot, debian/Win7. Because I'm blind, I'm installing Win7 via an autounattend.xml file. It is set up to create a 40Gb partition as the first partition and to install Win 7 to it. If I do a normal debian install to partition 2, I get a

Re: Problem partitioning dual-boot

2011-10-05 Diskussionsfäden John G. Heim
From: Nicolas Courtel cour...@cena.fr To: linux-fai@uni-koeln.de Sent: Wednesday, October 05, 2011 4:54 AM Subject: Re: Problem partitioning dual-boot I have successfully installed some. AFAIR I have preserved the 2 partitions that are used by Windows 7, and sometimes the diagnostic

Re: Problem partitioning dual-boot

2011-10-26 Diskussionsfäden John G. Heim
From: Michael Tautschnig m...@debian.org To: linux-fai@uni-koeln.de John, may I ask you to perform the following experiment? Could you start another install on a system with presently working Windows, but abort the FAI install before grub or the like are installed. I'd claim that typing

Re: Problem partitioning dual-boot

2011-10-31 Diskussionsfäden John G. Heim
Did you, possibly together with a co-worker, actually try that route of manually repairing the Windows install? If yes, did it do any good? Yes, I just tried that and it did work. So at the moment, I have a working Win7/linux machine with the linux part installed via FAI. The message the

Re: Problem partitioning dual-boot

2011-11-01 Diskussionsfäden John G. Heim
From: Michael Tautschnig m...@debian.org To: linux-fai@uni-koeln.de Sent: Monday, October 31, 2011 5:04 PM Did you, possibly together with a co-worker, actually try that route of manually repairing the Windows install? If yes, did it do any good? Yes, I just tried that and it did work. So at

Continuing dual-boot woes

2011-12-21 Diskussionsfäden John G. Heim
All, I still cannot get FAI to create a dual boot system. When I last talked about this, I thought I had figured it out. My theory (at the time) was that because Win 7 creates a very small partition at the beginning of the disk, when I did an unattended install that did not create that

can't create partition with specific size at end of disk

2013-02-18 Diskussionsfäden John G. Heim
All, I can't get setup-storage to create a partition at the end of a disk with a specific size. It has to be a range or it doesn't work. The config below works on a machine with a 250Gb disk. It creates a 70Gb root partition on /dev/sda1 and a 145 Gb partition on /dev/sda6. disk_config

FAI ISO?

2013-06-04 Diskussionsfäden John G. Heim
did double check that my FAI ISO image is bootable. If I write it to a CD, it boots. wodim fai.iso This gives me a bootable CD. But the following does not give me a bottable thumb drive: cp fai.iso /dev/sdb -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

Re: FAI ISO?

2013-06-05 Diskussionsfäden John G. Heim
proc sys dev cd /mnt umount fai_usb And there you go! On Tue, Jun 4, 2013 at 2:34 PM, John G. Heim jh...@math.wisc.edu mailto:jh...@math.wisc.edu wrote: I know this is a long shot but I am hoping someone has an answer. I have been booting from a CD when I install FAI. I now have a machine

/srv/fai/nfsroot/live/filesystem.dir

2013-06-11 Diskussionsfäden John G. Heim
According to the fai guide: It may help to enter the chroot environment manually using this command. faiserver# chroot /srv/fai/nfsroot/live/filesystem.dir After rebuilding my nfsroot with fai 4.0.6, I have no /srv/fai/nfsroot/liv/filesystem.dir. It seems to have built the root directly

Re: /srv/fai/nfsroot/live/filesystem.dir

2013-06-11 Diskussionsfäden John G. Heim
What does it mean to specify nfsvers=3 in the pxelinux.cfg file? Googling shows me that it may mean to add ks:nfs:nfsvers=3 to the append line in a file such as /srv/tftp/fai/pxelinux.cfg/default. On 06/11/13 16:45, Thomas Lange wrote: On Tue, 11 Jun 2013 15:32:57 -0500, John G. Heim jh

Re: Hide password or Prompt for password

2014-01-31 Diskussionsfäden John G. Heim
Ideally, is this possible to be prompted for this password by FAI when installing the clients ? You can do this by reading from /dev/console. Here is a perl code segment that does more than just what you're asking about. But you should be able to get the jist of it from this code. The

logging output for fai-softupdate

2014-07-02 Diskussionsfäden John G. Heim
If I have a script run daily by fai-softupdate, how do I get it to log output? For example, I have status messages that it display via the bash echo command. But these do not get displayed when the script is run via fai softupdate. -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

dist-upgrade fai softupdate

2014-07-02 Diskussionsfäden John G. Heim
Is it redundant to do a apt-get dist-upgrade as part of a fai softupdate? The fai man page says, as part of the softupdate, it will update the installed packages. But I am gussing that does a apt-get upgrade, not a dist-upgrade. -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

This is pretty cool

2015-01-22 Diskussionsfäden John G Heim
YEAR=`/bin/date +\%Y\` MON=`/bin/date +\%b\` DAY=`/bin/date +\%a\` TODAY=`/bin/date +\%F\` CLASSES=$CLASSES,$HOSTNAME,$YEAR,$MON,$DAY,$TODAY /usr/sbin/fai --class=$CLASSES softupdate So what that will do is to add to your list of classes the hostname, year, month, day, and

how does FAI know how to run debootstrap?

2015-06-30 Diskussionsfäden John G Heim
During the install, FAI runs debootstrap. I am trying to install ubuntu vivid. It's stopping at the point where it tries to run debootstrap with the message undefined. Aborting. I know how to configure debootstrap for purposes of building the nfsroot and I know that works (obviously) or it

Re: how does FAI know how to run debootstrap?

2015-06-30 Diskussionsfäden John G Heim
But maybe you want to create a VIVID.tar.xz and put this into your config space. I am guessing I can do both, right? It will use the vivid.tar.gz if it finds it. I figured creating the basetar.gz file was optional since the basefiles subdir wasn't in my old fai config space. I guessed

Re: What is renaming my PXE files?

2015-08-04 Diskussionsfäden John G Heim
On 07/24/2015 05:18 PM, Thomas Lange wrote: On Fri, 24 Jul 2015 11:05:33 -0500, John G Heim jh...@math.wisc.edu said: After my FAI install finishes, the PXE boot config file gets renamed to something.disable. I am guessing fai does that somehow. Can I disable that? task

Still having problems creating dual-boot workstation

2015-08-13 Diskussionsfäden John G Heim
A couple of years ago, I posted a question about using FAI to create a dual-boot machine. We have some kind of aut-installer for Windows 7 that I know next to nothing about. But after the Windows guy installs Win7, I use FAI to install linux on the free space. But after FAI finished, the Win7

Re: What is renaming my PXE files?

2015-08-12 Diskussionsfäden John G Heim
For the list archives: I fixed it by creating a file named /srv/fai/config/hooks/chboot.UBUNTU with the following contents: #! /bin/bash skiptask chboot exit 0 # EOF On 08/05/2015 02:40 AM, Thomas Lange wrote: On Wed, 5 Aug 2015 09:34:44 +0200, Denny Bortfeldt de...@bortfeldt.net said:

Re: Still having problems creating dual-boot workstation

2015-08-13 Diskussionsfäden John G Heim
On 08/13/2015 03:55 PM, Kerim Gueney wrote: On 08/13/2015 09:54 PM, John G Heim wrote: A couple of years ago, I posted a question about using FAI to create a dual-boot machine. We have some kind of aut-installer for Windows 7 that I know next to nothing about. But after the Windows guy

putting a label on a disk

2015-07-16 Diskussionsfäden John G Heim
All, Question related to those I asked earlier in the week... Can setup-storage put a label on a disk partition so that it can be mounted via the label rather than the uuid? I am guessing not beccause parted doesn't do that (as far as I can tell). I guess I can use e2label and xfs_admin in

installing to a wiped disk

2015-07-10 Diskussionsfäden John G Heim
I have some machines that will PXE boot if the hard disk is not bootable. Usually, I make that so by writing zeros to the first million blocks. dd if=/dev/zero of=/dev/sda count=100. [Note, I know that a million blocks is way more than necessary.] -- But that appears to cause a problem

can't soft reboot after install

2015-07-10 Diskussionsfäden John G Heim
At the end of an install, my install client has a message that says press enter to reboot. But it doesn't work.In fact, issuing a shutdown command doesn't work. I've tried shutdown -r now, reboot. I've tried logging in via ssh and issuing those same commands. I have to power cycle the machine

Re: can't soft reboot after install

2015-07-10 Diskussionsfäden John G Heim
is found by lsof(8) or fuser(1).) udevd: no process found vv507i now rebooting root@vv507i:~# On 07/10/2015 08:48 AM, Thomas Lange wrote: On Fri, 10 Jul 2015 08:44:20 -0500, John G Heim jh...@math.wisc.edu said: At the end of an install, my install client has a message that says

Re: installing to a wiped disk

2015-07-10 Diskussionsfäden John G Heim
I am using disklabel:gpt to create a GPT style partition table. You can also use disklabel:msdos to make the old style partition table. This belongs on your disk_config line before you specify partitions, file systems, etc. Oh, when I heard that, I thought it was a way to label a partition

softupdate can't find config space

2015-08-31 Diskussionsfäden John G Heim
I'm having problems with fai softupdate after an upgrade from debian wheezy to ubuntu vivid. The config space is available at the same url as always. The fai softupdate command is the same as always. But when I run the fai command, it says it can't find the config space in fstab. I can mount

Re: softupdate can't find config space

2015-08-31 Diskussionsfäden John G Heim
problem solved by upgrading the the fai repository packages. On 08/31/2015 11:50 AM, John G Heim wrote: I'm having problems with fai softupdate after an upgrade from debian wheezy to ubuntu vivid. The config space is available at the same url as always. The fai softupdate command is the same

Re: softupdate can't find config space

2015-08-31 Diskussionsfäden John G Heim
The version in ubuntu vivid is 3.4.8. At first I used your wheezy repository (deb http://fai-project.org/download wheezy koeln) but then when I actually fixed it in my FAI config, I used your jessie repository (deb http://fai-project.org/download jessie koeln) Both work. So the bug was

using nfsroot-hooks

2015-09-29 Diskussionsfäden John G Heim
Anybody got some good example scripts for using w/i nfsroot-hooks? Some things I want to do: 1.Configure locale. 2. Install apt keys. 3. Restore ssh keys from a backup. Take #2 for example. I need to install something called mcauley on my workstations. It has it's own debian repository. I

Re: using nfsroot-hooks

2015-09-30 Diskussionsfäden John G Heim
On 09/30/2015 04:41 AM, Thomas Lange wrote: On Tue, 29 Sep 2015 08:28:13 -0500, John G Heim <jh...@math.wisc.edu> said: > Anybody got some good example scripts for using w/i nfsroot-hooks? Some > things I want to do: Hi John, hooks for fai-make-nfsroot are no t

tip:

2015-12-08 Diskussionsfäden John G Heim
I just discovered that the syslinux-utils package has a tool called gethostip that displays the PXE file name for a host name. So for example, if you want to figure out the PXE config file name for a workstation named "nitschke", you'd say, "gethostip nitschke". Sample output: # gethostip

Re: slightly OT: lightdm problem with ubuntu 15.10

2015-12-22 Diskussionsfäden John G Heim
ld do a standard Ubuntu install (from CD or USB drive that is) on the machine in question, print the installed packages and then, on the same machine, run a FAI-based install, print the installed packages again and compare/diff both package lists. Cheers, Robert Am 22.12.2015 um 17:14 schrieb J

slightly OT: lightdm problem with ubuntu 15.10

2015-12-22 Diskussionsfäden John G Heim
I'm installing ubuntu 15.10 via FAI. Actually, all I did was take a working ubuntu 15.04 config and change the sources.list file so it installs ubuntu 15.10 on selected machines. The beauty of FAI is how easy it is to do something like that. The main problem I'm having is that there is no

fai wikie: installing ubuntu

2016-06-16 Diskussionsfäden John G Heim
The fai wikie page on installing ubuntu says "-l is passed to fai-make-nfsroot makes it use 'live-boot instead of dracut, which is not supported by ubuntu. " but -l is not a legal option for fai-make-nfsroot. Is the documentation just out of date? -- John G. Heim; jh...@math.wis

using fcopy in a fai-make-nfsroothook

2016-06-23 Diskussionsfäden John G Heim
classes (if any) are active when fai-make-nfsroot is run? Cabn I use fcopy at all or do I have to sort of roll my own? What I would like to do is use the same scripts I use during an install as an fai-make-nfsroot hook. -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

adding a package to initrd

2016-06-24 Diskussionsfäden John G Heim
have basic instructions for adding a package to the initrd in the fai nfsroot? -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

Re: Copying misc. files to target system

2016-01-15 Diskussionsfäden John G Heim
I was doing almost the exact same thing for a while. But it was prone to failure. What I did instead was to set up my own repository. It's easier than you think if you just use the cheap/easy type of repository. It makes updates a lot easier too. On 01/15/2016 10:34 AM, Aaron Hall wrote:

Re: No pxe boot on virtual box guests

2016-01-26 Diskussionsfäden John G Heim
I'm not sure what a screen shows while a machine PXE boots. (Sorry, I'm blind.) So this may be a dumb suggestion but you can tell what files a machine is asking the tftp server for during a PXE boot by turning on verbose mode on the tftp server. With tftpd-hpa, you add - to the end of the

/var/lib/fai/config/config

2016-04-05 Diskussionsfäden John G Heim
All, I am using fai softupdate and I often find that there exists a file /var/lib/fai/config/config. This is a symlink to /var/lib/fai/config/ -- which is the default mount point for fai softupdates. Anybody seen this behaviour before and know what might be causing it? -- -- John G. Heim; jh

Re: multiple disk_config files?

2016-04-21 Diskussionsfäden John G Heim
On 04/21/2016 12:39 AM, Thomas Lange wrote: > For the disk partitioning part, only one file is selected by FAI. Related question: How do people deal with the size of the swap partition? I have machines with similar sized hard drives but wildly different amounts of ram. I could write a

Re: FAI setting hostname to fqdn

2016-06-30 Diskussionsfäden John G Heim
It worked. I copied it from /usr/share/doc/fai-doc/examples/simple/hooks/setup.DEFAULT.sh and renamed it setup.DEFAULT. On 06/29/2016 03:25 PM, Thomas Lange wrote: On Wed, 29 Jun 2016 14:55:42 -0500, John G Heim <jh...@math.wisc.edu> said: > During an install, my insta

FAI setting hostname to fqdn

2016-06-29 Diskussionsfäden John G Heim
me of my other classes (which are based on the hostname), after the install is finished, if you type "hostname -f" to show the fqdn, it shows something like workstation.math.wisc.edu.math.wisc.edu. Any ideas? -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

Re: no network after installing ubuntu 16.10

2017-02-08 Diskussionsfäden John G Heim
On 02/07/2017 05:20 PM, Ian Kelling wrote: On Fri, Jan 20, 2017, at 09:10 AM, John G Heim wrote: Thisisn't directly an FAI problem but I don't know where else to ask. I am trying to upgrade a working FAI setup for Ubuntu 16.04 to install 16.10. After rebooting, my machines have no network

no network after installing ubuntu 16.10

2017-01-20 Diskussionsfäden John G Heim
tc/network/, /etc/NetworkManager/, and /etc/systemd/ and can't find any significant differences. Any ideas at all? -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

interface with 169.254 address

2016-09-28 Diskussionsfäden John G. Heim
I have a server I want to do an fai install on. It has 2 on-board nics but a 3rd interface is getting configured with a 169.254 (self-assigned) IP address. As a result, fai can't do host lookups and therefore cannot do an install. I need to either keep fai from trying to use the nic with the

fai-quickstart dependencies

2017-03-30 Diskussionsfäden John G Heim
by defult. But it could really mess up a network if it accidently got enabled. -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

creating asc key files

2017-04-12 Diskussionsfäden John G Heim
repository for firefox and thunderbird. To get their key into apt you do: # apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29 That downloads the key but it puts it right into the apt key list. -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

Re: creating asc key files

2017-04-12 Diskussionsfäden John G Heim
Huh... I guess what I didn't get were a couple of things ... The apt-key command is a sort of shell on top of root's gpg keyring. After you use apt-key, you can run regular gpg commands as root to manipulate the apt keys. (I think). Second, the key identification is pretty open-ended. I just

bug report

2017-04-19 Diskussionsfäden John G Heim
Softupdates do not work in fai 5.3.5. You get an error message during task_instsoft, "Undefined subroutine ::insert called at /usr/sbin/install_packages line 547.". If you edit that file and change the subroutine call from install to install_pkg, it works. -- -- John G

Re: bug report

2017-04-20 Diskussionsfäden John G Heim
Sounds good. In the mean time, I used fai to fix fai: fcopy -Bi -m root,root,0750 /usr/local/sbin/install_packages So any machine I do a fai install on can do a softupdate. On 04/19/2017 10:28 PM, Thomas Lange wrote: > Hi John, > > thanks for the bug report. I've filed a new bug in the Debian

Re: script to execute after reboot

2017-03-14 Diskussionsfäden John G Heim
What I do is to run an fai softupdate via a line in cron upon reboot. @REBOOT root fai --class=POSTINSTALL softupdate Kind of nice to do an FAI softupdate after every reboot -- especially the 1st one after the initial install. Over the years, I've moved more and more stuff into the post

Re: More beginner questions

2017-03-08 Diskussionsfäden John G Heim
You wouldn't do anything in your pxe config to install a different operating system. It may be possible to have a non-debian nfsroot to boot from but you probably don't want to do that. Far easier is to use debian for your nfsroot even when installing another flavor of linux. We use ubuntu

Re: FAI and invoke-rc.d: policy-rc.d denied execution of restart

2017-07-07 Diskussionsfäden John G. Heim
Those are 2 seperate error messages. The first one means that something tried to start a systemd service, probably a package installation. For example, if you install ssh during an fai install, it will try to start the ssh service and fail. But that is not a problem. The policy-rc.d message

Not rebooting

2017-05-25 Diskussionsfäden John G Heim
What would cause my machines to not reboot at the end of an FAI install? I have the reboot flag in the kernel parms., "FAI_FLAGS=verbose,sshd,createvt,reboot". I logged into a machine during an install and checked the value of flag_reboot and it's set to 1. # echo $flag_reboot 1

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden John G Heim
I posted about this problem approximately a year ago. I poked around in the source code a little but finally just made a workaround by adding a line to my class script: echo "${HOSTNAME}" | sed s/\.math\.wisc\.edu// So you end up with classes for both the fqdn and the hostname. The only

Re: Not rebooting

2017-05-30 Diskussionsfäden John G Heim
On 05/25/2017 01:23 PM, John G Heim wrote: What would cause my machines to not reboot at the end of an FAI install? I have the reboot flag in the kernel parms., "FAI_FLAGS=verbose,sshd,createvt,reboot". I logged into a machine during an install and checked the value of flag_rebo

Ubuntu Artful

2017-12-27 Diskussionsfäden John G Heim
It appears that the howto on installing ubuntu via fai is gone. The one part of that I still need are the instructions on creating a basefile. Can anyone either point me to the missing documentation or tell me how tocreate a basefile for Ubuntu Artful Aarvvark (17.10)? -- -- John G. Heim; jh

Re: Ubuntu Artful

2017-12-27 Diskussionsfäden John G Heim
I tried doing a global replace on the mk-basefile script s/XENIAL/ARTFUL/g but when I ran the modified script, it created a 4k file that didn't work as a basefile. So then I just copied the Ubuntu zesty/17.04 basefile to artful/17.10 and it appears to have worked. An installation is

Ubuntu 17.10 (artful) headsup

2017-12-27 Diskussionsfäden John G Heim
Fai now generates a nice /etc/network/interfaces file with the new interface nameing scheme. No more eth0. However, Ubuntu 17.10 no longer uses /etc/network/interfaces. https://wiki.ubuntu.com/MigratingToNetplan "Ubuntu 17.10 introduces a new default configuration method for network devices,

Keyboard problem, caps lock key does not work

2018-01-12 Diskussionsfäden John G Heim
I know this is a long shot but does anybody have any idea why my keyboard caps lock key might not work after doing an FAI install? I'm installing ubuntu 17.10 (artful) and it looks as if the caps lock key is remapped to act like a second left control key. -- -- John G. Heim; jh

Re: No /tmp/fai/, /tmp not writable

2018-02-13 Diskussionsfäden John G Heim
, Thomas Lange wrote: On Mon, 12 Feb 2018 11:20:12 -0600, John G Heim <jh...@math.wisc.edu> said: > upunable to create a /tmp/fai/fai.log. So I can't really tell where the That's the usual problem when the read-only nfsroot is not writeable. Even you server was upgraded, I pr

Re: Ubuntu 17.10 (artful) headsup

2017-12-28 Diskussionsfäden John G Heim
On 12/27/2017 02:41 PM, Thomas Lange wrote:>>>>>> On Wed, 27 Dec 2017 13:34:33 -0600, John G Heim <jh...@math.wisc.edu> said: > > > devices, using netplan instead of ifupdown. Configuration is now written > > as YAML files to /etc/netplan

Re: UEFI + Legacy BIOS TFTP/PXELINUX

2018-07-10 Diskussionsfäden John G Heim
Yeah, I'm sure. The syslinux-efi package works as advertized. I mean, you cannot boot an EFI machine via pxelinux.0. That would hang. Are you saying that you're not seeing a request for ldlinux.e64 right after the request for syslinux.efi? There's no error message in the tftp logs? File not

Re: UEFI TFTP/PXELINUX on thinkpad X230

2018-07-11 Diskussionsfäden John G Heim
I would try the 32 bit syslinux.efi files. On 07/11/2018 07:06 AM, Thomas Lange wrote: The Thinkpad X230 does not boot in UEFI only mode (no legacy/CSM mode) via network card. This happens with BIOS 2.60 and also with the newest BIOS 2.73. It only loads syslinux.efi and then no more tftp

Re: UEFI + Legacy BIOS TFTP/PXELINUX

2018-07-06 Diskussionsfäden John G Heim
Just a note ... You can still use syslinux/pxelinux to do FAI installs for both EFI and BIOS. In other words, you don't have to switch to grub, you can still use the syslinux pxe config files you created via fai-chboot. Here is a link to an article that shows how to get isc-dhcp-server to

Re: UEFI + Legacy BIOS TFTP/PXELINUX

2018-07-06 Diskussionsfäden John G Heim
Sorry to reply to your posts out of order but I would not follow the advice in that message. It is at least out dated. You do not have to change your dhcp config after each install and you can continue to use your fai-chboot config files. Syslinux does support EFI booting. It's in the

Re: UEFI + Legacy BIOS TFTP/PXELINUX

2018-07-06 Diskussionsfäden John G Heim
Are you sure the problem isn't in the boot sequence on your host? If you have pxe/net boot before disk, it is going to pxe boot over and over. The reason I ask is that in my experience, if the disk is partitioned, the reboot whil hang. I work 100% will Dell computers in my job so maybe other

Re: pip install

2018-03-07 Diskussionsfäden John G Heim
On 03/07/2018 06:59 AM, Thomas Lange wrote: On Wed, 07 Mar 2018 13:48:25 +0100, "BACHY Yann" said: > Is there a native way in FAI to do something like this ? No. > Or should I create an self-destructing bash script which will only run at first boot

Re: Ubuntu 18.04: netplan support

2018-10-17 Diskussionsfäden John G Heim
down - we won't be using netplan for servers on bionic. I know that's not a helpful response, but if you decide not to use netplan you won't be the only people :) Cheers, Just On Wed, 17 Oct 2018 at 15:11, John G Heim <mailto:jh...@math.wisc.edu>> wrote: Well, I pulled a Ba

Re: Ubuntu 18.04: netplan support

2018-10-17 Diskussionsfäden John G Heim
Well, I pulled a Bart Simpson. I tried for about 10 minutes and gave up. Bakc with Ubuntu 16.04, I tried modifying the old networking script using the ifclass command. If the UBUNTU class was defined, it generated a /etc/netplan/10-interfaces file. Otherwise, it ran the old code to generate a

Re: Tip: Run a script after FAI install

2019-01-10 Diskussionsfäden John G Heim
via LDAP? Thats how I solved it for my soho environment. See: https://www.sudo.ws/man/1.8.17/sudoers.ldap.man.html Kind Regards Martin On Wed, Jan 9, 2019, 22:06 John G Heim mailto:jh...@math.wisc.edu> wrote: So I had this problem. I want to configure certain u

manually restarting install?

2019-01-04 Diskussionsfäden John G Heim
If the config space fails to mount during an install, can I restart the install by hand after manually mounting the config space? -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

Re: manually restarting install?

2019-01-04 Diskussionsfäden John G Heim
On 1/4/19 11:18 AM, Thomas Lange wrote: On Fri, 04 Jan 2019 09:43:42 -0600, John G Heim said: > If the config space fails to mount during an install, can I restart the > install by hand after manually mounting the config space? I never tried this, I always call faireboot.

NetworkManager heads-up

2018-12-28 Diskussionsfäden John G Heim
script, 30-interface, to *not* configure the primary interface for ifupdown. -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

Tip: Run a script after FAI install

2019-01-09 Diskussionsfäden John G Heim
want into that same directory. These scripts will be run just once when the system reboots after the original fai install. The target machine will look completely normal and there won't be any extra programs/scripts on it (unless you count fai itself). Verstehst du? -- -- John G. Heim; jh

Generate setup-storage config from parted

2019-05-29 Diskussionsfäden John G Heim
it and maybe change which partitions are to be preserved, etc. But you wouldn't have to figure out all the partitions, types, formats, and labels. That could all be gleaned from the output from parted. -- John G. Heim; jh...@math.wisc.edu; 608-263-4189

Dual-boot Win 10 & EFI

2019-06-05 Diskussionsfäden John G Heim
/dev/sda of=/tmp/fai/signature ibs=1 skip=440 count=4 ... dd if=/tmp/fai/signature of=/dev/sda obs=1 seek=440 count=4 That works great on a machine with an msdos partition table. But it does not seem to work on a disk partitioned via GPT. -- John G. Heim; jh...@math.wisc.edu; 608-263-4189

Re: Package dependency problems

2020-01-10 Diskussionsfäden John G Heim
that file before fai starts installing packages. Just to be clear, I am not blaming this on fai. Not at all. Who's brilliant idea was it to make it impossible to install chromium in a chroot environment? There ought not be such a package in the debian/ubuntu repository. On 1/10/20 1:52 PM, John G

Re: Package dependency problems

2020-01-10 Diskussionsfäden John G Heim
Well, apt-rdepends says its gnome. I am going to check what happens if I do not ask it to install gnome but I think it will be bad. The problem is that when it tries to install the chromium-browser package, it tries to contact something called the "snap store". It keeps trying for 30

Re: Package dependency problems

2020-01-13 Diskussionsfäden John G Heim
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 packages.

Package dependency problems

2020-01-10 Diskussionsfäden John G Heim
, before it installs anything else, with just the packages that will allow it to boot. -- John G. Heim; jh...@math.wisc.edu; 608-263-4189

Tip: Remote FAI install

2021-02-08 Diskussionsfäden John G Heim
reboot. 3. Reboot. If you have FAI configured to reboot the target machine when it is finished, you should be able to ssh back into a fully loaded Linux machine once the install is done. -- John G. Heim; jh...@math.wisc.edu; 608-263-4189

  1   2   >