Problems with lenny

2008-11-17 Diskussionsfäden Nikola Knežević

Hi,

I'm trying to install lenny/amd64 on a test VM, from fai-server which  
is hosted on lenny/amd64. Installation goes well each time, but kernel  
never gets installed! This is what I see in the fai.log:


Selecting previously deselected package linux-image-2.6.26-1-amd64.
Unpacking linux-image-2.6.26-1-amd64 (from .../linux-image-2.6.26-1- 
amd64_2.6.26-8_amd64.deb) ...
Ok, Aborting, since the bootloader might not handle an initrd/ 
initramfs image.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.26-1- 
amd64_2.6.26-8_amd64.deb (--unpack):

 subprocess pre-installation script returned error exit status 1

In grub's prompt, there is only memtest86+ entry...

Where should I look for the cause of this error?

Best,
Nikola


Re: Problems with lenny

2008-11-17 Diskussionsfäden Thomas Lange
 On Mon, 17 Nov 2008 14:21:43 +0100, Nikola Kne?evi? [EMAIL PROTECTED] 
 said:

 Selecting previously deselected package linux-image-2.6.26-1-amd64.
 Unpacking linux-image-2.6.26-1-amd64 (from .../linux-image-2.6.26-1- 
 amd64_2.6.26-8_amd64.deb) ...
 Ok, Aborting, since the bootloader might not handle an initrd/ 
 initramfs image.
Which bootloader do you install? Maybe there's no bootloaded installed.
-- 
regards Thomas


Re: Problems with lenny

2008-11-17 Diskussionsfäden Nikola Knežević

On 17 Nov 2008, at 14:36 , Thomas Lange wrote:


Selecting previously deselected package linux-image-2.6.26-1-amd64.

Unpacking linux-image-2.6.26-1-amd64 (from .../linux-image-2.6.26-1-
amd64_2.6.26-8_amd64.deb) ...
Ok, Aborting, since the bootloader might not handle an initrd/
initramfs image.
Which bootloader do you install? Maybe there's no bootloaded  
installed.


Hi,
I'm installing grub. The machine has GRUB in one of its classes.  
fai.log says that grub is installed.


Re: Problems with lenny

2008-11-17 Diskussionsfäden Michael Tautschnig

 On 17 Nov 2008, at 14:36 , Thomas Lange wrote:

 On Mon, 17 Nov 2008 14:21:43 +0100, Nikola Kne?evi? 
 [EMAIL PROTECTED] said:

 Selecting previously deselected package linux-image-2.6.26-1-amd64.
 Unpacking linux-image-2.6.26-1-amd64 (from .../linux-image-2.6.26-1-
 amd64_2.6.26-8_amd64.deb) ...
 Ok, Aborting, since the bootloader might not handle an initrd/
 initramfs image.
 Which bootloader do you install? Maybe there's no bootloaded  
 installed.

 I've tried both grub and lilo, and the problem is still there. I traced 
 the problem to preinst script in linux-image package, but I don't know 
 what to do next. I added into the configspace/debconf this line:
 linux-image-2.6.26-1-amd64  linux-image-2.6.26-1-amd64/preinst/ 
 bootloader-initrd-2.6.26-1-amd64 boolean true

 Still, no luck :(

 I don't know what I'm doing wrong. My configuration is almost the same  
 as the default one, expect I'm using a new class.


There must be something wrong with your /etc/kernel-img.conf, which is copied by
the hook instsoft.FAIBASE (so you must have the class FAIBASE defined for this
to work).  Either you are missing it entirely, or it doesn't have do_initrd =
yes. Well, then there is the question of which FAI version your configuration
is based upon, because we didn't have the kernel-img.conf stuff in versions
before 2.10 I think (which is like ages ago :-) ).

Best,
Michael



pgpRkaHwJfYNv.pgp
Description: PGP signature


Re: Problems with lenny

2008-11-17 Diskussionsfäden Nikola Knežević

On 17 Nov 2008, at 23:34 , Michael Tautschnig wrote:

I don't know what I'm doing wrong. My configuration is almost the  
same

as the default one, expect I'm using a new class.



There must be something wrong with your /etc/kernel-img.conf, which  
is copied by
the hook instsoft.FAIBASE (so you must have the class FAIBASE  
defined for this
to work).  Either you are missing it entirely, or it doesn't have  
do_initrd =
yes. Well, then there is the question of which FAI version your  
configuration
is based upon, because we didn't have the kernel-img.conf stuff in  
versions

before 2.10 I think (which is like ages ago :-) ).



Ha! Thank you :)

That was the problem. I forgot to copy instsoft.FAIBASE to  
instsoft.NSL, and that was causing me the headaches :(


Best,
Nikola


Re: Problems with lenny

2008-11-17 Diskussionsfäden Thomas Neumann

hiya

Michael Tautschnig schrieb:

There must be something wrong with your /etc/kernel-img.conf, which is copied by
the hook instsoft.FAIBASE (so you must have the class FAIBASE defined for this
to work).  Either you are missing it entirely, or it doesn't have do_initrd =
yes. Well, then there is the question of which FAI version your configuration
is based upon, because we didn't have the kernel-img.conf stuff in versions
before 2.10 I think (which is like ages ago :-) ).
Just as a data point - I started out with FAI 3.2.4 on debian/etch and 
based my installation scripts on the
provided config space. Currently the nfsroots are based on Debian Lenny 
(32bit and 64bit version) and
install Debian Etch and Lenny (+ Ubuntu 8.04 LTS and SLES10 SP1) without 
problems. (32 and 64bit
archs of all distributions from the same config space.) The scripts are 
heavily customized by now of course,

so that's why I said it's just a data point.

Maybe you could upload a zip of your config space and we can have a look 
at it?



Btw. is anybody interested in how i pulled this of? If yes, then I would 
try to clean up our config space
and provide it to the public. (It currently contains some sensitive 
data, which I don't want outsider to see.)
Additionally there's some stuff that isn't coded very well and really 
should be redone in a better way. .;;
The previously mentioned debootstrap issues is one of these. Well. 
Works for me. For now...


Next milestone would be to install all distrib/archs from a 64bit 
nfsroot and keep the 32bit one just for

compatibility reasons (hardware too old).

tschüß
thomas