Using fai-cd from Lenny to install Etch clients
David Ward
ansona10 at gmail.com
Mon Jan 4 22:50:48 CET 2010
Hmmm... I guess I was on the right track! Michael's suggestion worked
out fine. There is aufs source in Etch backports - build that against
whatever patch level you need on another Debian and create a deb file.
Copy it to the nfs root on the Lenny FAI server machine -
scp aufs-modules-2.6.18-6-486_0+20070806-1~bpo40+1+2.6.18.dfsg.1-24_i386.deb
Lenny:/srv/fai/nfsroot/live/filesystem.dir/root
On the Lenny -
chroot /srv/fai/nfsroot/live/filesystem.dir
dpkg -i
/root/aufs-modules-2.6.18-6-486_0+20070806-1~bpo40+1+2.6.18.dfsg.1-24_i386.deb
depmod -a 2.6.18-6-486
update-initramfs -u -v (verify it adds aufs)
Then exit the chroot and proceed with fai-cd -
fai-cd -m /fai-etch-partial-mirror my-cd.iso
You may need to remove aufs from /etc/fai/NFSROOT when running
make-fai-nfsroot for Etch. Aufs is apparently only needed in the initrd.
The other confusion for me is I expected to have the Lenny kernel (2.6.26-2)
running during the install on the target. I thought I was creating a Lenny
live CD to install an Etch 2.6.18-6 client. But instead the CD appears to
use the client kernel the whole time - can anybody clue me in?
Thanks,
Dave
On Wed, Dec 30, 2009 at 12:50 PM, David Ward <ansona10 at gmail.com> wrote:
> Thanks Michael, I see there is aufs source in Etch backports so I will try
> that. Seems odd there isn't more in FAI to address this... do you
> feel at all like I'm on the right track?
>
> Regards,
> Dave
>
>
> On Wed, Dec 30, 2009 at 10:38 AM, Michael Tautschnig <mt at debian.org>wrote:
>
>> [...]
>>
>> >
>> > Now after reading more I think I need to get aufs into my installer
>> (Lenny),
>> > and maybe my initrd or Etch filesystem too? Not sure. I can install
>> these
>> > on Lenny -
>> > aufs-modules-2.6-486
>> > and
>> > aufs-modules-2.6.26-2-486
>> >
>> > But then if I run fai-setup again debootstrap etch says -
>> > Couldn't find any package whose name or description matched
>> > "aufs-modules-2.6-486"
>> >
>>
>> I didn't check etch's package lists or backports or the like, but if you
>> can
>> somehow get those packages: /srv/fai/nfsroot/live/filesystem.dir is a
>> full-blown
>> system, so you can safely chroot into it and do the usual apt/dpkg stuff.
>>
>> > What to do... Help?
>>
>> Hope this helps :-)
>>
>> Best,
>> Michael
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100104/bcbe053f/attachment.htm
More information about the linux-fai
mailing list