Re: Setting up FAI on xenial

2017-02-15 Diskussionsfäden Bill MacAllister
Switching mailers, so the discussion is a bit more readable. I am having problems setting up FAI on a Xenial system using the stock packages. fai-setup is failing. The last few lines of the run are: Which FAI version are you using? Building a Ubuntu nfsroot may not work. Then create a Debia

Re: Setting up FAI on xenial

2017-02-16 Diskussionsfäden Bill MacAllister
On Thursday, February 16, 2017 3:57:33 AM PST, Thomas Lange wrote: On Wed, 15 Feb 2017 12:30:41 -0800, Bill MacAllister said: > Same problem. What I did was to edit /etc/fai/nfsroot.conf and set > FAI_DEBOOTSTRAP to "jessie http://ftp.us.debian.org/debian/"; &g

Re: Setting up FAI on xenial

2017-02-16 Diskussionsfäden Bill MacAllister
On Thursday, February 16, 2017 8:43:16 AM PST, Thomas Lange wrote: Thanks for the log. You do not install any kernel package inside the nfsroot. I guess it's because of the ubuntu version of FAI on your host system. The main problem may be inside /etc/fai/NFSROOT or in fai-make-nfsroot itself. I

Re: Setting up FAI on xenial

2017-02-16 Diskussionsfäden Bill MacAllister
On Thursday, February 16, 2017 12:11:26 PM PST, Thomas Lange wrote: > Hmmm, it is pulling the package from the debian repo. That's ok. The nfsroot must be a Debian one. I do not know if a Ubuntu nfsroot is currently working. Use a Debian nfsroot. > Okay, the sources.list is pointing to s

Re: Setting up FAI on xenial

2017-02-16 Diskussionsfäden Bill MacAllister
On Thursday, February 16, 2017 1:31:06 PM PST, Thomas Lange wrote: I guess you do not have installed any linux-image package inside the nfsroot. Try: grep linux-image /var/log/fai/fai-make-nfsroot.log Since you have installed the Ubuntu version of the FAI packages, your /etc/fai/NFSROOT may n

More setting up an FAI server

2017-02-24 Diskussionsfäden Bill MacAllister
I am just starting to test my initial FAI server. If there something that I need to do in the PXE configuration to enable a serial console? Must be since I need to at least set the speed. What setting am I missing? Bill

More beginner questions

2017-03-08 Diskussionsfäden Bill MacAllister
I have a minimal FAI server up to the point where it will install stretch on a client system. I now need to be able to install other distributions. I understand that I need to create or download basefiles. That is straight forward to me. What I am fuzzy on is how I create a PXE configuration s

Second FAI server

2017-03-31 Diskussionsfäden Bill MacAllister
Thanks to this list I have a working FAI server. Now, I am working on standing up a second server at a second site. The process is allowing me to ensure that I have captured the server configuration in our configuration management system. I have hit a problem with fai-setup. The environment

Re: Second FAI server

2017-04-03 Diskussionsfäden Bill MacAllister
On Friday, March 31, 2017 4:30:35 PM PDT, Bill MacAllister wrote: Then I run 'fai-setup -v' the last few lines of the output are: install_packages: executing chroot /srv/fai/nfsroot apt-get clean install_packages: executing chroot /srv/fai/nfsroot dpkg --configure --pending instal

Re: Second FAI server

2017-04-03 Diskussionsfäden Bill MacAllister
On Monday, April 3, 2017 12:28:21 AM PDT, Bill MacAllister wrote: On Friday, March 31, 2017 4:30:35 PM PDT, Bill MacAllister wrote: Then I run 'fai-setup -v' the last few lines of the output are: install_packages: executing chroot /srv/fai/nfsroot apt-get clean install_packages:

Re: Second FAI server

2017-04-04 Diskussionsfäden Bill MacAllister
On Tuesday, April 4, 2017 1:55:39 AM PDT, Thomas Lange wrote: On Mon, 03 Apr 2017 17:57:09 -0700, Bill MacAllister said: > /usr/lib/fai/prcopyleft: line 16: cannot create temp file for > here-document: Operation not supported It seems that your nfsroot is read-only. The

Probelms with Serial Console

2017-05-24 Diskussionsfäden Bill MacAllister
I am having several problems that I could use some help with. First, I don't seem to be able to configure serial consoles on the physical systems I am building. I am building Xenial systems from a stretch nfsroot. I have a very small script that tries to update grub, but it keeps failing. #!

Re: Probelms with Serial Console

2017-05-24 Diskussionsfäden Bill MacAllister
On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: I have determined that the update-grub command is what is failing. I have tried lots of variations on that command line to no avail. What am I missing? And I now I have logs. The bit that is causing the problem is

Re: Probelms with Serial Console

2017-05-25 Diskussionsfäden Bill MacAllister
On Thursday, May 25, 2017 11:13:52 AM PDT, Ian Kelling wrote: Bill MacAllister writes: On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: ... update-grub is run in the example config in 10-setup. Take a look there to see if you are doing anything different. I was

Re: Probelms with Serial Console

2017-05-25 Diskussionsfäden Bill MacAllister
On Thursday, May 25, 2017 12:39:13 AM PDT, jan.dre...@bertelsmann.de wrote: I think you have to bind-mount /dev, /sys and /proc into /target before chroot. You won't have access to the devices if not. The pointer I needed. Thanks Jan. Bill -- "Can't sing louder than the guns when I'm gone,

Re: FAI with nfsroot on stretch failing with read-only error at /tmp/fai

2017-06-28 Diskussionsfäden Bill MacAllister
On Wednesday, June 28, 2017 3:21:58 PM PDT, Nat Sincheler wrote: We are able to PXE boot and do an NFS mount, but we are getting a "Read-only file system" error when FAI is trying to make the directory /tmp/fai. We get to the point where we see this at the console: INIT: version 2.88 booting

fai-mirror

2017-12-06 Diskussionsfäden Bill MacAllister
I am working to build a custom install CD using fai-mirror and fai-cd. When I run fai-mirror it is not pulling in my custom package repository.  In my fai config space I am copying in a custom sources.list file into /etc/apt/sources.list.d using fcopy.  I am guessing that I need to do this differe

fai-make-nfsroot bug

2018-02-05 Diskussionsfäden Bill MacAllister
Just hit this minor bug in fai-server 5.3.6. --- /usr/sbin/fai-make-nfsroot 2018-02-02 13:06:52.0 + +++ /var/tmp/fai-make-nfsroot 2018-02-05 20:23:41.370416545 + @@ -477,7 +477,7 @@ if [ -d $cfdir/apt/keys ]; then local f for f in `find $cfdir/apt/keys -t

Several Questions

2018-02-26 Diskussionsfäden Bill MacAllister
Xenial builds from Debian Stretch NFS root -- We have been building Xenial systems from a Stretch and just noticed that the file system build with Stretch is creating structures that prevent fsck from running. Specifically metadata_csum is preventing fsc

Setup Storage RAID problem

2018-08-30 Diskussionsfäden Bill MacAllister
I am building a new Dell r640 using a setup storage class that has worked before and seeing a failure that I don't know how to resolve. Here is the relevant part of the build: Starting setup-storage 2.1 Using config file: /var/lib/fai/config/disk_config/RAID1-2 Parted could not read a disk labe

Re: Setup Storage RAID problem

2018-08-31 Diskussionsfäden Bill MacAllister
On 08/31/2018 12:39 AM, Thomas Lange wrote: On Thu, 30 Aug 2018 18:31:14 -0700, Bill MacAllister said: > Executing: yes | mdadm --create /dev/md0 --level=raid1 --force --run > --raid-devices=2 /dev/sdb3 /dev/sda3 > INIT: Entering runlevel: 2 > [info] Us

Re: Stretch+ NFSROOT for building Ubuntu Trusty and Xenial

2020-01-02 Diskussionsfäden Bill MacAllister
;createopts="-O ^metadata_csum"' to the disk configuration used by setup-storage. For example: primary / 2048- ext4 rw,acl,async,noatime,errors=remount-ro createopts="-O ^metadata_csum" Bill -- Bill MacAllister

Build Problems on a Dell r340

2020-07-10 Diskussionsfäden Bill MacAllister
devices are displayed. What am I missing? What should I be looking at? Thanks in advance, Bill -- Bill MacAllister

Re: Build Problems on a Dell r340

2020-07-13 Diskussionsfäden Bill MacAllister
On 2020-07-11 00:47, Thomas Lange wrote: On Fri, 10 Jul 2020 11:16:57 -0700, Bill MacAllister said: > I am trying to build a Dell r340 with an h310 perc controller using FAI > 5.9.4 > with a Buster nfsroot. There are two disks configured on the h310 as a

Re: Build Problems on a Dell r340

2020-07-31 Diskussionsfäden Bill MacAllister
On 2020-07-13 08:59, Bill MacAllister wrote: On 2020-07-11 00:47, Thomas Lange wrote: On Fri, 10 Jul 2020 11:16:57 -0700, Bill MacAllister said: > I am trying to build a Dell r340 with an h310 perc controller using FAI > 5.9.4 > with a Buster nfsroot. There are

Re: Build Problems on a Dell r340

2020-07-31 Diskussionsfäden Bill MacAllister
On 2020-07-31 01:04, Thomas Lange wrote: On Fri, 31 Jul 2020 00:46:40 -0700, Bill MacAllister said: ># uname -r >5.6.0-0.bpo.2-amd64 > But the problem persists: > [ 40.048619] megaraid_sas :02:00.0: Could not get controller info. > F

Re: Build Problems on a Dell r340

2020-07-31 Diskussionsfäden Bill MacAllister
On 2020-07-31 10:15, Bill MacAllister wrote: On 2020-07-31 01:04, Thomas Lange wrote: On Fri, 31 Jul 2020 00:46:40 -0700, Bill MacAllister said: ># uname -r >5.6.0-0.bpo.2-amd64 > But the problem persists: > [ 40.048619] megaraid_sas :02:00.0: C

Re: Build Problems on a Dell r340

2020-08-02 Diskussionsfäden Bill MacAllister
On 2020-07-31 13:31, Thomas Lange wrote: On Fri, 31 Jul 2020 12:23:54 -0700, Bill MacAllister said: > The stock buster kernel worked. Can you remind me what problems get > solved by > the backport kernel? The stock buster kernel works but now the newer backports

Problem with dirinstall

2021-02-12 Diskussionsfäden Bill MacAllister
ss list of: DETAULT XEN somehost.com LAST But, XEN never makes it into the class list. What am I missing? Am I misunderstanding how to specify the class list for dirinstall works? Bill -- Bill MacAllister

VMs end up without grub installed

2021-04-21 Diskussionsfäden Bill MacAllister
ld be looking at. Thanks in advance, Bill -- Bill MacAllister

Re: Ubuntu 22

2023-04-04 Diskussionsfäden Bill MacAllister
On 2023-03-31 03:59, Marc Hoppins via linux-fai wrote: I am a bit slow in responding but felt I could comment anyway. I think what our guy was referring to was that he must have made a Ubu22 basefile, either from a dist-upgraded ubu20 system or a modified ubu22 basefile, which does not work her