grub problem

Leif Tramann leif at tramann.de
Fri Aug 3 13:45:20 CEST 2007


> > Leif, please check your NFSROOT, in the logs that you posted there were also
> > some more really unexpected errors. Just check, whether all the scripts/binaries
> > that were reported in your error.log really aren't there.

where can i find those?

> better check software.log from the installation. I expect that either grub is
> not in the client's packages-to-be-installed list or that some other error in
> the apt call prevented grub from being installed.

$ cat software.log | grep grub
install_packages: executing chroot /tmp/target aptitude -R -y -o
Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
install memtest86+ dhcp3-client grub lilo- linux-image-generic cfengine2
cron debconf-utils discover file hdparm jove less linuxlogo nfs-common
nscd rdate rsync rsh-client openssh-client openssh-server strace
sysutils tcsh time exim4 eject locales console-common pciutils usbutils
  discover-data exim4 exim4-base exim4-config exim4-daemon-light file
grub 
Get:25 http://archive.ubuntu.com feisty/main grub 0.97-20ubuntu6 [379kB]
Selecting previously deselected package grub.
Unpacking grub (from .../grub_0.97-20ubuntu6_i386.deb) ...
Setting up grub (0.97-20ubuntu6) ...

and there is also an folder called grub:

$ ls -la boot | grep grub
drwxr-xr-x  2 root root    4096 2007-07-31 20:30 grub

> Which version of FAI are you using?
FAI 3.1.3ubuntu1, 20 Dec 2006

> Could you please re-run make-fai-nfsroot with -v option, and look
> exactly at what it is printing? (it sometimes exits O.K. but has major
> error, I saw in the rhel-branch some days ago).

and now the output from make-fai-nfsroot -v (I hope i found the relevant rows)
in the 3rd step it seems that grub is beeing installed...  (see: >>>>>>>>>>>>>>>>>>>>>>>>>>>)
at the end there is an error: E: Broken packages ERROR: 25600 25600 is that relevant?
==========================================================================
root at coruscant:/# make-fai-nfsroot -v
[...]
Creating base system using debootstrap version 0.3.3.2ubuntu3
Calling debootstrap feisty /srv/fai/nfsroot http://archive.ubuntu.com/ubuntu
I: Retrieving Release
[...]
I: Validating findutils
I: Retrieving gcc-4.1-base
I: Validating gcc-4.1-base
I: Retrieving gettext-base
I: Validating gettext-base
I: Retrieving gnupg
I: Validating gnupg
I: Retrieving gpgv
I: Validating gpgv
I: Retrieving grep
I: Validating grep
I: Retrieving gzip
I: Validating gzip
I: Retrieving hostname
[...]
I: Extracting findutils...
I: Extracting gcc-4.1-base...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
[...]
I: Unpacking findutils...
I: Unpacking gcc-4.1-base...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
[...]
I: Configuring libdb4.3...
I: Configuring grep...
I: Configuring hostname...
[...]
I: Unpacking ethtool...
I: Unpacking gettext-base...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking ifupdown...
[...]
I: Configuring the base system...
[...]
I: Base system installed successfully.
Creating base.tgz
Upgrading /srv/fai/nfsroot
[..]
Setting up fai-client (3.1.3ubuntu1) ...
Setting up fai-nfsroot (3.1.3ubuntu1) ...
[...]
Adding additional packages to /srv/fai/nfsroot:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>    fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw hwinfo portmap bootpc rsync lftp rsh-client less dump reiserfsprogs usbutils psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect libnet-perl console-tools console-common expect iproute udev subversion sysvinit upstart- >>>>>>>>>>>>>>grub<<<<<<<<<<<<< lilo read-edid 
[...]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>    install fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw hwinfo portmap bootpc rsync lftp rsh-client less dump reiserfsprogs usbutils psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect libnet-perl console-tools console-common expect iproute udev subversion sysvinit upstart- >>>>>>>>>>>>grub<<<<<<<<<<<<< lilo read-edid
[...]
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  fai-nfsroot: Depends: fai-client but it is not going to be installed
  libnet-perl: Depends: perl (>= 5.6.0-16) but it is not going to be installed
  sysutils: Depends: procinfo but it is not going to be installed
E: Broken packages
ERROR: 25600 25600
install_packages: executing chroot /srv/fai/nfsroot apt-get clean
install_packages: executing chroot /srv/fai/nfsroot dpkg --configure --pending
install_packages: executing chroot /srv/fai/nfsroot dpkg -C
install_packages: executing chroot /srv/fai/nfsroot apt-get clean
„/etc/fai/apt“ -> „/srv/fai/nfsroot/etc/fai/apt“
„/etc/fai/apt/sources.list“ -> „/srv/fai/nfsroot/etc/fai/apt/sources.list“
„/etc/fai/fai.conf“ -> „/srv/fai/nfsroot/etc/fai/fai.conf“
„/etc/fai/fai.conf.save“ -> „/srv/fai/nfsroot/etc/fai/fai.conf.save“
„/etc/fai/fai.conf.save.1“ -> „/srv/fai/nfsroot/etc/fai/fai.conf.save.1“
„/etc/fai/make-fai-nfsroot.conf“ -> „/srv/fai/nfsroot/etc/fai/make-fai-nfsroot.conf“
„/etc/fai/menu.lst“ -> „/srv/fai/nfsroot/etc/fai/menu.lst“
„/etc/fai/NFSROOT“ -> „/srv/fai/nfsroot/etc/fai/NFSROOT“
Shadow passwords are now on.
Kernel 2.6.17.13-ubuntu1-fai-kernels installed into the nfsroot.
Kernel 2.6.17.13-ubuntu1-fai-kernels copied to /srv/tftp/fai/vmlinuz-install
DHCP environment prepared. If you want to use it, you have to enable the dhcpd and the tftp-hpa daemon.
BOOTP environment prepared.
Removing `local diversion of /sbin/discover-modprobe to /sbin/discover-modprobe.distrib'
make-fai-nfsroot finished properly.
==========================================================================

Regards

Leif



More information about the linux-fai mailing list