Putting this in config/scripts/FAIBASE/50-mkinitrd is all I needed.
Apparently I over-complicate things
#! /bin/bash
error=0 ; trap error=$((error|1)) ERR
# create an initrd that will actually boot
TARGETVERSION=$(/bin/ls $target/lib/modules)
mkinitramfs -r $target \
-o
I am trying to make a custom fai-cd using the experimental builds.
Basically I booted a virtual machine from the gnomehost template using the ISO:
http://www.informatik.uni-koeln.de/fai/fai-cd/fai-cd-3.2.16.iso
and then updated it to 3.2.23~beta25+experimental1, and then ran fai-setup,
Ah, ok. I was using 3.2.20.1, I will try the experimental branches.
I think it should work (should, because the crypto stuff is still somewhat
untested) if you change the sda2 definition to
primary -:encrypt 4096- --
This is only true, however, for the experimental builds; please
Is there a file somewhere that I can tell fai-cd to add dm_mod, dm_crypt, or
any other kernel module to the fai-cd initrd?
I'm trying to use 3.2.20.1 on an fai-cd on debian-lenny and I get an:
ERROR: could not read device /dev/lvm
when I use:
disk_config sda bootable:1
primary /boot 250ext3 rw,errors=remount-ro
- - -
disk_config lvm
vg my_pvsda2
my_pv-_swap swap2048swapsw
my_pv-_root / 2048ext3 rw
On Fri, 23 Oct 2009, James S. White wrote:
I'm trying to use 3.2.20.1 on an fai-cd on debian-lenny and I get an:
ERROR: could not read device /dev/lvm
when I use
I am an idiot. I forgot to define USE_SETUP_STORAGE=1 in the class/MYBASE.var
file. My apologies...
On Fri, 23 Oct 2009, James S. White wrote:
I even get the could not read device /dev/lvm error when I use the
cut-n-paste example from the wiki
Where would the :encrypt go in this recipe if I wanted to encrypt the partition
before laying down a volume group?
# Simple LVM example
disk_config sda bootable:1
primary /boot 500 ext3 rw
primary - 4096- - -
disk_config lvm
vg my_pvsda2
my_pv-_swap swap2048
Hey guys,
i noticed that FAI isn't picking up my system's hostname from my DNS
servers.
it SHOULD be picking them up right? or do i have to explicity set the
host address related to hostname in
/srv/fai/nfsroot/live/filesystem.dir/etc/hosts?
TIA
-James
it if it weren't. also i do an ifconfig
and everything to doublecheck before reboot and also all the system
messages during install and everything seems to match up.
TIA
-James
okee dokee
thanks for the help
Henning Sprang wrote:
James wrote:
[...]
pings fine and no funny logs
I'm out of ideas, then.
Only checking if the problem exist with a slightly older fai version
might be interesting.
As I said, the last one I tested is 3.2.6 - and as long as my wifi
here.
TIA,
James
Thomas Lange wrote:
On Wed, 25 Jun 2008 13:24:23 -0700, James [EMAIL PROTECTED] said:
Here's the log snippet:
Using config file: /var/lib/fai/config/disk_config/SETUPSTORAGE
SYNTAX ERROR in config file line 12, size: 500-3G
logical /usr
that contain those type of disk descriptions.
So i have to hard define disks like 500-4000 instead of 500-4G
or 500-4000 instead of 500-10%
TIA,
James
i just used the example file in FAI
/usr/share/doc/fai-doc/examples/simple/disk_config/SETUPSTORAGE
i didn't edit anything
Michael Tautschnig wrote:
I've upgraded to the latest FAI with SETUP_STORAGE
i tried using the default SETUP_STORAGE disk layout but it doesn't like
the lines that
Here's the log snippet:
Using config file: /var/lib/fai/config/disk_config/SETUPSTORAGE
SYNTAX ERROR in config file line 12, size: 500-3G
logical /usr 500-3Gext3 rw
tuneopts=-c0 -i0
Mapping disk name disk1 to sda
setup_harddisks version 0.42fai
Probing disks:
Michael Tautschnig wrote:
Hi James,
[...]
Please update your SVN checkout to revision 4838, that should hopefully fix your
LVM problem. Still, I've no idea about the mdadm-thing, I'll try to debug this
some time time in February (sorry, quite busy ATM).
Best,
Michael
Michael,
I checked
Christoph Kluenter wrote:
On Monday 14 January 2008 21:58:31 James wrote:
Hi Will,
I'm not in any hurry but the config files would be nice anyway if it's
not inconvenient.
I'm still playing with the whole thing in general so it'd be nice to see
a working config.
The wiki-Page describes
oh also here's my disk_config layout:
# Simple LVM example
disk_config sda bootable:1
primary /boot 500 ext3 defaults
primary - 4096- - -
disk_config lvm
vg lvmtestsda2
lvmtest-swap swap1048swapsw
lvmtest-root / 1048xfsdefaults
Carsten Aulbert wrote:
James wrote:
Oh also on top of the error i pass the entire installation and get
the following as well.
I boot into the new installation and it searches for ROOT filesystem
but fails.
Error =
Check root=bootarg cat /proc/cmdline
or missing
James wrote:
Carsten Aulbert wrote:
James wrote:
Oh also on top of the error i pass the entire installation and get
the following as well.
I boot into the new installation and it searches for ROOT filesystem
but fails.
Error =
Check root=bootarg cat /proc/cmdline
to instruct a boot floppy/cd to grab that class.
Maybe a guide for the impatient on creating a class by example and cut
out the big details.
i personally would find that useful. :D
Thanks
-James
Henning Sprang wrote:
James wrote:
do i just do a
# make-fai-bootfloppy -s TEST ip=::dhcp
nfsroot=127.x.x.x:/srv/fai/nfsroot
cause that's my understanding now. if not please let me know
Hmm, I didn't use the bootfloppy in that way(i just use a proper dns and
dhcp setup
on floppy i don't exactly have a choice
of which class to boot.
I don't comprehend text as well as examples.
So the more examples of actual config scenarios the better for me.
Appreciate the help
Thanks
-James
23 matches
Mail list logo