error when gnome is selected...

Steffen Grunewald steffen.grunewald at aei.mpg.de
Wed Jan 19 08:25:56 CET 2005


On Tue, Jan 18, 2005 at 07:36:35PM +0100, Emmanuel.Leguy wrote:
> Hello,
> 
> /usr/sbin/mkinitrd: device /dev/sda1 is not a block device
> Failed to create initrd image.
> 
> When I don't select the gnome-desktop-environment package the 
> installation is OK...
> 
> Any idea?

Yes. udev is the culprit, look back for about two weeks, the issue has
been discussed (in length by myself, with some fixes by Thomas).
As a workaround, you may set up a hook for configure:

echo $0 udev bug workaround
# work-around for udev bug
if [ -x $target/etc/init.d/udev ]; then
    chroot $target /etc/init.d/udev stop
    sleep 10
    chroot $target /etc/init.d/udev start
    sleep 10
fi


Steffen

-- 
Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de)
Albert-Einstein-Institut (MPI Gravitationsphysik, http://www.aei.mpg.de)
       Science Park Golm, Am Mühlenberg 1, 14476 Potsdam, Germany
e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}



More information about the linux-fai mailing list