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 $target

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, fai-mi

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?

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;

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 swap2048swap

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 examp

Re: could not read device /dev/lvm

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

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 prim