fai-cd fixes for jessie

Andreas B. Mundt andi.mundt at web.de
Mon May 26 14:55:49 CEST 2014


Hi Thomas,

On Mon, May 26, 2014 at 01:39:10PM +0200, Thomas Lange wrote:
> >>>>> On Sun, 25 May 2014 23:05:17 +0200, "Andreas B. Mundt" <andi.mundt at web.de> said:
>
>     > today I gave the jessie packages in Debian and fai-cd a try.  I had to
>     > apply a few fixes to make it work for me:  Use the jessie repository
>     > for the nfsroot, and some file locations seem to have changed with
>     > recent grub.
>
>     > See attached patch.
> Hi Andi,
>
> thanks for the patch. I like to have wheezy and jessie support in
> fai-cd for some time. Do you know how I can distinguish between the
> two versions, or how I can detect which path I must use in fai-cd?

Hm, good question.  A quick search indicates that it's more complicated:

    http://askubuntu.com/questions/266429/error-file-grub-i386-pc-normal-mod-not-found

look inside /boot/grub
presence of i386-pc directory means this is a BIOS install
presence of x86_64-efi directory would indicate an EFI install

Perhaps check the grub version?  But it sounds even more complicated
if you have to take the EFI stuff into account.  I have to admit I
have no idea - sorry.

Best regards,

     Andi



More information about the linux-fai mailing list