Re: fai-setup fails : chroot pb

2007-08-10 Diskussionsfäden Thomas Lange
 On Fri, 10 Aug 2007 14:35:48 +0200 (CEST), Jean-Paul BALOCHE [EMAIL 
 PROTECTED] said:

 FAIDEB40:/srv/fai# fai-setup -vv
 Account $LOGUSER=fai already exists.
 Make sure that all install clients can
 log into this account without a password.
 /var/log/fai/.ssh/known_hosts remained unchanged.
 /var/log/fai/.ssh/authorized_keys created.
 User account fai set up.
 Using configuration files from /etc/fai
 Creating FAI nfsroot in /srv/fai/nfsroot.
 By default it needs more than 250 MBytes disk space.
 This may take a long time.
 /srv/fai/nfsroot already exists. Removing /srv/fai/nfsroot
 Creating base system using debootstrap version 0.3.3.2
 Calling debootstrap etch /srv/fai/nfsroot
 http://192.168.1.203/debmirror/debian
 I: Retrieving Release
 I: Retrieving Packages
 I: Retrieving Packages
 I: Resolving dependencies of required packages...
 I: Resolving dependencies of base packages...
 W: Failure trying to run: chroot /srv/fai/nfsroot mount -t proc proc /proc
 Aborting
I think your local mirror is broken. Please try again using an
official mirror.

-- 
regards Thomas


Re: No kernel installed with amd64 setup

2007-08-10 Diskussionsfäden Thomas Lange
 On Fri, 10 Aug 2007 11:18:29 +0200, Vincent Batoufflet [EMAIL 
 PROTECTED] said:

 I have a problem with my FAI setup. My FAI server is an i386 system and 
 provide setup for both i386 and amd64 systems.

 My amd64 nfsroot was created on a amd64 system an copied on the server. 
 FAI works fine with i386 setups. But with amd64 I have an error in my 
 /var/log/fai/current/error.log at the end of the FAI setup.

 shell.log:ERROR: No kernel was installed. Have a look at shell.log
 software.log:Couldn't find any package whose name or description matched 
 linux-image-486
Have a look at software.log and check if your client really belongs to
the class AMD64 and not to I386.

-- 
regards Thomas


No kernel installed with amd64 setup

2007-08-10 Diskussionsfäden Vincent Batoufflet

Hi,

I have a problem with my FAI setup. My FAI server is an i386 system and 
provide setup for both i386 and amd64 systems.


My amd64 nfsroot was created on a amd64 system an copied on the server. 
FAI works fine with i386 setups. But with amd64 I have an error in my 
/var/log/fai/current/error.log at the end of the FAI setup.


shell.log:ERROR: No kernel was installed. Have a look at shell.log
software.log:Couldn't find any package whose name or description matched 
linux-image-486



I have 2 files 'I386' and 'AMD64' in my 'package_config' folder, it 
works for the first architecture (i386):


/vol/fai/config/package_config/I386:
PACKAGES aptitude
linux-image-2.6-686

/vol/fai/config/package_config/AMD64:
PACKAGES aptitude
linux-image-2.6-amd64



Any idea, is there anything I missed ?


Thanks in advance,

--
Vincent Batoufflet

Buf Compagnie
3 rue Roquepine 75008 Paris, FRANCE
tel +33 1 42 68 18 28 - fax +33 1 42 68 18 29


Re: No kernel installed with amd64 setup

2007-08-10 Diskussionsfäden Thomas Lange
 On Fri, 10 Aug 2007 14:56:00 +0200, Vincent Batoufflet [EMAIL 
 PROTECTED] said:


 The only noticeable error I have found in 'software.log' is: Couldn't 
 find any package whose name or description matched linux-image-486, 
 the one reported in 'shell.log'.

 In my /var/log/fai/current/FAI_CLASSES I have:

 DEFAULT
 LINUX
 AMD64
 FAIBASE
 DHCPC
 GRUB
 work118
 LAST

Salut Vincent,

this looks very good. Is your sources.list for the client OK? Please
check using the command file /tmp/target/sbin/ifconfig (during
installation) if you are really installing 64bit packages or maybe only 32bit.

If you join the IRC chnnel #fai on irc.debian.org I can help you much
quicker, you can then also post more logs to paste.debian.net.

-- 
regards Thomas


fai-setup fails : chroot pb

2007-08-10 Diskussionsfäden Jean-Paul BALOCHE
Hi everybody,

I'm setting up fai 3.1.8 on a debian 4.0 and when I run the fai-setup
command, it fails.
Here is the error message : W: Failure trying to run: chroot
/srv/fai/nfsroot mount -t proc proc /proc
Aborting

When I try manualy to execute this command, it fails to :
FAIDEB40:/srv/fai# chroot /srv/fai/nfsroot/
chroot: cannot run command `/bin/bash': No such file or directory

so I copied the /bin directory into /srv/fai/nfsroot, but it is the same ?

What am I doing wrong ? Have you got an Idea ?

thanks for your help.

Jean-Paul


For more details, you will find below all the logs :

FAIDEB40:/srv/fai# fai-setup -vv
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/var/log/fai/.ssh/known_hosts remained unchanged.
/var/log/fai/.ssh/authorized_keys created.
User account fai set up.
Using configuration files from /etc/fai
Creating FAI nfsroot in /srv/fai/nfsroot.
By default it needs more than 250 MBytes disk space.
This may take a long time.
/srv/fai/nfsroot already exists. Removing /srv/fai/nfsroot
Creating base system using debootstrap version 0.3.3.2
Calling debootstrap etch /srv/fai/nfsroot
http://192.168.1.203/debmirror/debian
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
W: Failure trying to run: chroot /srv/fai/nfsroot mount -t proc proc /proc
Aborting