Hi Michael, On Tue, 2008-04-08 at 10:07 +0200, Michael Tautschnig wrote:
> > Just curious, am I the only one with suddenly weird grub & kernel > > install issues using Fai 3.2.4 and etch+etch security repository ? > > > > I'm guessing some etch/security update somehow messed something up. I > > just want to exclude this before I dive in further. > > > > Could you maybe sort of explain _what_ the problem is? Did you change > anything? I explicitly did not go into detail yet because I did not change anything and the problem appeared after the weekend, the days I do other things then playing with fai :) And if someone had the same issues they'd definitively recognize this from my posting. I had to manually make the /boot/grub directory because without it grub is complaining about it not existing (then make it?!). This complete config, with the same kernel ran fine last week, I'm quite puzzled why this is happening now. The remaining errors I get are during install time(sorry for the long post): Setting up fai-client (3.2.4-1) ... Errors were encountered while processing: linux-image-2.6.24.4-20080325-unionfs224-etch1 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up linux-image-2.6.24.4-20080325-unionfs224-etch1 (20080325.unionfs224.etch1) ... Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. initrd.img(/boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1 ) points to /boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1 (/boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.24.4-20080325-unionfs224-etch1.postinst line 583. vmlinuz(/boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1 ) points to /boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1 (/boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.24.4-20080325-unionfs224-etch1.postinst line 583. Running postinst hook script /usr/sbin/update-grub. Searching for GRUB installation directory ... No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ### User postinst hook script [/usr/sbin/update-grub] exited with value 1 dpkg: error processing linux-image-2.6.24.4-20080325-unionfs224-etch1 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.24.4-20080325-unionfs224-etch1 ERROR: 65280 65280 ERROR: chroot /target aptitude -R -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install linux-image-2.6.24.4-20080325-unionfs224-etch1 memtest86+ grub lilo- cfengine2 syslog-ng ifenslave fai-client ntp cron debconf-utils discover file hdparm less nfs-common rdate openssh-client openssh-server strace sysutils bash sudo vim-tiny time locales console-common pciutils usbutils openipmi ipmitool iproute sysstat puppet psmisc sqlite return code 255 install_packages: executing chroot /target apt-get clean install_packages: executing chroot /target dpkg --configure --pending <....> Using mkinitramfs-kpkg to build the ramdisk. initrd.img(/boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1 ) points to /boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1 (/boot/initrd.img-2.6.24.4-20080325-unionfs224-etch1) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.24.4-20080325-unionfs224-etch1.postinst line 583. vmlinuz(/boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1 ) points to /boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1 (/boot/vmlinuz-2.6.24.4-20080325-unionfs224-etch1) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.24.4-20080325-unionfs224-etch1.postinst line 583. Running postinst hook script /usr/sbin/update-grub. Searching for GRUB installation directory ... No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ### User postinst hook script [/usr/sbin/update-grub] exited with value 1 dpkg: error processing linux-image-2.6.24.4-20080325-unionfs224-etch1 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.24.4-20080325-unionfs224-etch1 ERROR: 256 256 ERROR: chroot /target dpkg --configure --pending return code 1 install_packages: executing chroot /target dpkg -C The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: linux-image-2.6.24.4-20080325-unionfs224-etch1 Linux kernel binary image for v install_packages: executing chroot /target apt-get clean 2 errors during executing of commands E: Sub-process /usr/bin/dpkg returned an error code (1) Exit code task_instsoft: 620 Calling task_configure Executing shell: MP-BASE/10-misc MP-BASE/10-misc OK. tnx, Roel.
