Re: initramfs on experimental fai-cd

2009-10-28 Diskussionsfäden James S. White
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

initramfs on experimental fai-cd

2009-10-27 Diskussionsfäden James S. White
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,

Re: LVM on crypt

2009-10-26 Diskussionsfäden James S. White
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

adding modules to the fai-cd initrd

2009-10-26 Diskussionsfäden James S. White
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?

could not read device /dev/lvm

2009-10-23 Diskussionsfäden James S. White
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

Re: could not read device /dev/lvm

2009-10-23 Diskussionsfäden James S. White
- - - 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

Re: could not read device /dev/lvm

2009-10-23 Diskussionsfäden James S. White
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

LVM on crypt

2009-10-23 Diskussionsfäden James S. White
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

FAI not picking up hostname from DNS

2008-06-27 Diskussionsfäden James
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

Re: FAI not picking up hostname from DNS

2008-06-27 Diskussionsfäden 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

Re: FAI not picking up hostname from DNS

2008-06-27 Diskussionsfäden 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

Re: setup storage can't use % or G

2008-06-26 Diskussionsfäden James
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

setup storage can't use % or G

2008-06-25 Diskussionsfäden James
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

Re: setup storage can't use % or G

2008-06-25 Diskussionsfäden 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

Re: setup storage can't use % or G

2008-06-25 Diskussionsfäden James
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:

Re: FAI with LVM

2008-01-25 Diskussionsfäden James
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

Re: FAI with LVM

2008-01-21 Diskussionsfäden James
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

Re: FAI with LVM

2008-01-21 Diskussionsfäden James
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

Re: FAI with LVM

2008-01-21 Diskussionsfäden James
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

Re: FAI with LVM

2008-01-21 Diskussionsfäden James
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

Re: FAI Classes

2008-01-17 Diskussionsfäden James
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

Re: FAI Classes

2008-01-17 Diskussionsfäden 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

FAI Classes

2008-01-16 Diskussionsfäden James
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