Errors while running fai-setup

Muniven Shekar-PTH473 Shekar.Muniven at motorola.com
Wed Aug 29 11:15:32 CEST 2007


Thomas,


In  fai-cd version="fai-cd 2.4.3, 6 october 2006"  the initrd image was
creared using the function create_initrd_image() as shown below. But in
new fai-cd version="fai-cd 3.2, 5 august 2007" its not there .

The question is how is initrd.img and vmlinuz are being created in the
$NFS root/boot/ in the new fai-cd v 3.2? 

create_initrd_image() {

    local kdir=$NFSROOT/lib/modules/$kernelversion

    echo "Creating initrd image with kernel $kernelversion"
    mkdir -p $tmp/boot/grub
    sed "s/_VERSION_/$isoversion/" < /etc/mkinitrd-cd/id.txt >
$NFSROOT/id.txt
    mkinitrd-cd $kdir $tmp/boot/initrd.img full "$isoversion"
}

Thanks,
Shekar 


-----Original Message-----
From: linux-fai-bounces at uni-koeln.de
[mailto:linux-fai-bounces at uni-koeln.de] On Behalf Of Muniven
Shekar-PTH473
Sent: Tuesday, August 28, 2007 5:45 PM
To: linux-fai
Subject: RE: Errors while running fai-setup

Thomas,

I have gone past this error by including linux-image-686 in NFSROOT: 
cp: cannot stat
`/home/symbol/nfs_root/live/filesystem.dir/boot/vmlinuz-*


Now I am getting the following error:

cp: cannot stat
`/home/symbol/nfs_root/live/filesystem.dir/boot/initrd.img-*': No such
file or directory
Aborting
Removing `local diversion of /sbin/discover-modprobe to
/sbin/discover-modprobe.distrib'

How the initrd.img is being created in the $NFS_ROOT/boot/ ?  

Thanks,
Shekar 



More information about the linux-fai mailing list