LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-03-2018, 05:30 AM   #1
CLS.
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Rep: Reputation: Disabled
Problems configuring FAI for installation on clients


Hi

I'm trying to use FAI (http://fai-project.org) to install a new Ubuntu System to my computer. I just had two days of headache and bug fixes with the configuration files, so maybe there is someone who could help:

The task partition reads a particular disk_config file from the config archive given over FAI_CONFIG_SRC boot option from my local installation server. I'm currently using localhost for testing purposes.

The partition scheme consists of a logical volume layer to create one logical volume out of all clients' disks.
On that there should be a layer of LUKS (cryptsetup) for a full disk encryption with AES.
On the third layer (encrypted) should be another LVM system defining the usable partitions like /, /home, /var etc.

I installed some clients with exactly this layout and the inner Debian / Ubuntu systems work great (the installation process is a lot better with Debian in this case).

After having fixed a thousand of this nasty bugs with the configuration file, I get struggled.

Error message by LVM:
Code:
Cannot determine size of /dev/crypt_format_system-volume - scheme unknown
Current config file for a client with three disks:
Code:
disk_config disk1 disklabel:msdos fstabkey:uuid align-at:512B bootable:1
primary  /boot/efi  512M   vfat  ro
primary  /boot      2G     ext2  ro
primary  -          200G-  -     -

disk_config disk2 disklabel:msdos fstabkey:uuid align-at:512B
primary  -          100%   -     -

# no config for disk3 - don't touch it

disk_config lvm
vg             system  disk1.3,disk2.1
system-volume  -       100%  -  -

disk_config cryptsetup
luks  -  system-volume  -  -  createopts="-c aes-xts-plain64 -v"

disk_config lvm
vg           ubuntu  crypt_format_system-volume
ubuntu-root  /       32G  ext4  rw,noatime,error=remount-ro
ubuntu-home  /home   4G   ext4  rw,noatime
ubuntu-usr   /usr    64G  ext4  rw,noatime
ubuntu-var   /var    8G   ext4  rw,noatime
ubuntu-tmp   /tmp    2G   ext2  rw,noatime
ubuntu-swap  swap    16G  swap  defaults
Thanks in advance for reading this long post
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] FAI Installation Ends in Kernel Panic kumaran21 Linux - Newbie 2 04-08-2013 05:56 PM
[Fully Automatic Installation / FAI] and Slackware... NoStressHQ Slackware 2 04-16-2012 08:46 AM
nagios installation and configuring on RHEL 5 - problems kabazzi Linux - General 1 04-23-2010 03:56 AM
network installation to laptop: Does anyone use FAI ? kiljoy001 Linux - Laptop and Netbook 2 08-09-2004 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration