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 BIOS

Re: make-fai-bootfloppy?

2009-04-29 Diskussionsfäden John G. Heim
- Original Message - From: "Thomas Lange" 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 force the initrd to

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 and

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 ins

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 t

fai-quickstart & tftpd-hpa

2009-07-21 Diskussionsfäden John G. Heim
Can I safely uninstall fai-quickstart on my FAI server? I don't want to mess up my FAI system. I just want to uninstall tftpd-hpa. And fai-quickstart has a dependency on tftpd-hpa.

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" 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 file which worked fine

Adding to $kernelmodules

2009-09-24 Diskussionsfäden John G. Heim
I am trying to load a module during installation. I found a note in the file FAIBASE.var that I can do that by adding the module name to $kernelmodules. But I'm not sure how to do that. I tried adding it in that same file as shown below but it does not work: # MODULESLIST contains modules that

FAI & cfengine

2010-01-15 Diskussionsfäden John G. Heim
I am currently trying to set up a cfengine system on my network. The first thing I want to do is try to make sure all of the client machines have the same config files for things like NTP, cron, etc. It occured to me that the canonical copies of those files are within my FAI config directory. So

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" To: "linux-fai" 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" said: > into an FAI install? I have a test machine that boots into linux and gets an > IP addre

Re: no IP address

2011-06-21 Diskussionsfäden John G. Heim
From: "Thomas Lange" To: "linux-fai" 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" said: > Its the FAI version from debian testing, 3.4.8. I generated an iso file via > the fai

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 d

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 u

default debian packages?

2011-06-24 Diskussionsfäden John G. Heim
Anybody know how I can install all the same packages that you get with a default debian install? When you're installing from a debian CD, it asks you if you want to install categories of packages like a mail server, file server, etc. But by default, only 2 things are selected, the base system an

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

preserving ntfs partition

2011-07-06 Diskussionsfäden John G. Heim
I have been struggling for a couple of days to create a dual boot system via FAI. I now believe I'm doing something wrong with partitioning. The reason for this is that I made a dual boot system by manually installing Windows 7 and then installing debian squeeze. I then saved the grub.cfg file f

PACKAGES aptitude

2011-07-08 Diskussionsfäden John G. Heim
Does it make any difference what order the packages are listed in a package config file? I like to sort my lists of packages to make it easier to avoid mistakes. But I'm not sure I should be doing that.

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 linu

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" To: 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 guess there. Yeah, thanks. I wasn't

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 d

Re: Problem partitioning dual-boot

2011-09-19 Diskussionsfäden John G. Heim
From: "Michael Tautschnig" To: "John G. Heim" Cc: "linux-fai" Sent: Wednesday, September 07, 2011 4:32 PM Subject: Re: Problem partitioning dual-boot [...] disk_config disk1 preserve_always:1 p>rimary /windows 0- ntfs rw log>ical swap

Re: Problem partitioning dual-boot

2011-10-04 Diskussionsfäden John G. Heim
. So maybe its just me. Michael Tautschnig" To: "John G. Heim" 3. When I do a FAI install on a Win 7 system, the Win 7 system won't boot. I can't see the message because I'm blind but it is something about the partition being damaged or unbootable. [...] I

Re: Problem partitioning dual-boot

2011-10-04 Diskussionsfäden John G. Heim
From: "Michael Tautschnig" Subject: Re: Problem partitioning dual-boot One thing that I've noticed... Sda1 ends on block 5100 and sba2 also begins on 5100. That can't be right, can it? Note that on the working dual-boot system, sda2 starts on the block number *after* the end of sda1. If you a

Re: Problem partitioning dual-boot

2011-10-05 Diskussionsfäden John G. Heim
From: "Nicolas Courtel" To: 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 partition, and once Debian is installed os-pr

Re: Problem partitioning dual-boot

2011-10-26 Diskussionsfäden John G. Heim
From: "Michael Tautschnig" To: 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 Ctrl-C after setup-storage has done its w

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 Wind

Re: Problem partitioning dual-boot

2011-11-01 Diskussionsfäden John G. Heim
From: "Michael Tautschnig" To: 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 the moment, I have a working Win7/l

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 partiti

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 disk

FAI ISO?

2013-06-04 Diskussionsfäden John G. Heim
le. I 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
buffer is still syncing) exit umount proc sys dev cd /mnt umount fai_usb And there you go! On Tue, Jun 4, 2013 at 2:34 PM, John G. Heim 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

/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 directl

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, &qu

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 sub

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

fai repository task messes up /etc/apt/sources.list.d

2014-07-02 Diskussionsfäden John G. Heim
hat means it's making an pre_fcopy copy. It causes apt to generate error messages saying, "Ignoring /etc/apt/sources.list.d/fai.list.pre_fcopy". This is no big deal but it is a bit annoying. -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

Totally stumped: Cannot run rsync via ROOTCMD

2014-09-03 Diskussionsfäden John G. Heim
I have been working on a problem on and off for weeks. I am trying to run rsync via a ROOTCMD in a script. During an install, the rsync does nothing. If I ssh to the machine during the install and run the script manually, it works. It also works when run via fai softupdate after the install.

Re: Totally stumped: Cannot run rsync via ROOTCMD

2014-09-04 Diskussionsfäden John G. Heim
ipt and also copy the rsync pw file to somewhere inside /target. Or handle everthing without the chroot. /BR Bjarne Sent from Samsung Mobile Original message From: "John G. Heim" Date: 03/09/2014 17:46 (GMT+01:00) To: linux-fai@uni-koeln.de Subject: Totally stumpe

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, m

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 i

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 machi

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 f

Re: can't soft reboot after install

2015-07-10 Diskussionsfäden John G Heim
me cases useful info about processes that use the device 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 said: > At the end of an install, my

Re: installing to a wiped disk

2015-07-10 Diskussionsfäden John G Heim
swap rw logical /home 1%- ext3 rw,relatime On 07/10/2015 09:09 AM, Steffen Grunewald wrote: On Fri, Jul 10, 2015 at 08:47:49AM -0500, John G Heim wrote: 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 mill

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 partit

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 a

What is renaming my PXE files?

2015-07-24 Diskussionsfäden John G Heim
After my FAI install finishes, the PXE boot config file gets renamed to .disable. I am guessing fai does that somehow. Can I disable that? -- John Heim, jh...@math.wisc.edu, skype:john.g.heim

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 said: > After my FAI install finishes, the PXE boot config file gets renamed to > .disable. I am guessing fai does that somehow. Can I disable > that? task chboot is logging

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 said: > You don't need

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 i

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

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 th

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 sa

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 fixed

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 hav

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 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 that flexible as in a norm

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 nit

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 netwo

Re: slightly OT: lightdm problem with ubuntu 15.10

2015-12-22 Diskussionsfäden John G Heim
issing package. You could 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.1

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: Hell

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 T

/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 scrip

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...@mat

using fcopy in a fai-make-nfsroothook

2016-06-23 Diskussionsfäden John G Heim
o that point. What 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
ybody 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: scripts don't execute

2016-06-24 Diskussionsfäden John G Heim
/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=p> Not spam <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=n> Forget previous vote <https://antispam.roaringpenguin.com/canit/b.php?i=0aRaCgUWx&m=114e6b607ad9&t=20160624&c=f> -- -- John G. Heim; jh...@math.wisc.edu; sip://jh...@sip.linphone.org

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: 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 said: > During an install, my install client is getting a hostname t

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 16

no network after installing ubuntu 16.10

2017-01-20 Diskussionsfäden John G Heim
ely compared every thing in /etc/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

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

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 her

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 instal

fai-quickstart dependencies

2017-03-30 Diskussionsfäden John G Heim
ed 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 sa

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 &main::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. -- -- Jo

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 >

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: 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

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 probl

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 re

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 proceeding

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, u

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 said: > > > devices, using netplan instead of ifupdown. Configuration is now written > > as YAML files to /etc/netplan instead of in /etc/network/int

Re: Dual FAI Configurations

2018-01-03 Diskussionsfäden John G Heim
it is hard to say what you need to do without knowing specifically what problems you are having. What you want to do probably isn't that different than what we all have to deal with when upgrading our FAI configuration for a new release of our chosen linux flavor. I'm currently switching from U

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. Hei

No /tmp/fai/, /tmp not writable

2018-02-12 Diskussionsfäden John G Heim
I'm having a problem with my FAI installs. The target machine comes upunable to create a /tmp/fai/fai.log. So I can't really tell where the problem begins. If I try to create the directory /tmp/fai/, I get the error "Operation not permitted". I would assume that means the root file system is mo

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

2018-02-13 Diskussionsfäden John G Heim
2/2018 11:32 AM, Thomas Lange wrote: On Mon, 12 Feb 2018 11:20:12 -0600, John G Heim 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 pretty s

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 of the machine ? Yes, that's t

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 dete

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 EF

  1   2   >