[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with mkinitrd



Hi Herbert,
thanks for your answer.
I had a mistake in fstab, /dev/hda11 was still /mnt/debian insthead of /.
I corrected that, but there is still a problem with "ldd":

sun:/# dpkg --configure kernel-image-2.4.19-686
Setting up kernel-image-2.4.19-686 (2.4.19-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "de_DE@euro",
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ldd: ./: No such file or directory
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.19-686 (--configure):
 subprocess post-installation script returned error exit status 29
Errors were encountered while processing:
 kernel-image-2.4.19-686

here the version of initrd-tools:
dpkg --list |grep initrd
ii  initrd-tools   0.1.33         Tools to generate an initrd image.


sun:/# cat /etc/fstab
/dev/hda11              /               ext2     defaults       1 2
/dev/hda7               /mnt/suse       ext3     noauto,user    1 2
# /dev/hda5             /data1          auto     noauto,user    0 0
/dev/hda9               /home           ext2     noauto,user    1 2
/dev/hda10              /mnt/redhat     ext2     noauto,user    1 2
/dev/hda12              /public         ext2     defaults       1 2
/dev/hda1               /mnt/win98      vfat     noauto,user    0 0
/dev/hda6               /mnt/win2000    vfat     noauto,user    0 0
proc                    /proc           proc     defaults       0 0
devpts                  /dev/pts        devpts   defaults       0 0
usbdevfs                /proc/bus/usb   usbdevfs noauto         0 0
/dev/hda8               swap            swap     pri=42         0 0
/dev/fd0                /media/floppy   auto     noauto,user,sync 0 0
/dev/cdrom              /media/cdrom    auto     ro,noauto,user,exec 0 0
#


sun:/# cat /proc/filesystems 
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   tmpfs
nodev   shm
nodev   pipefs
        ext2
        minix
        iso9660
nodev   nfs
nodev   devpts
        ext3
nodev   usbdevfs


Am Dienstag, 5. November 2002 10:59 schrieben Sie:
> Pierre Burri <pierre@globeall.de> wrote:
> > partition and a "mount -t proc proc /proc". Everything worked fine until
> > the kernel installation (apt-get -y installation
> > kernel-image-2.4.19-686). The problem is with "mkinitrd" that doesn't
> > find the root partition. I can reproduce the problem by invoking directly
> > mkinitrd.
> > I would greatly appreciate some help.
> >
> > Here the terminal output:
> > sun:/# dpkg --configure kernel-image-2.4.19-686
> > Setting up  (2.4.19-3) ...
> >
> > /usr/sbin/mkinitrd: Cannot determine root device
>
> What version of initrd-tools are you using?
>
> Please show me the content of /etc/fstab and /proc/filesystems.

-- 
My Sites: http://linux-age.com & http://www.globeall.de

Pierre Burri
Tel. +49 (0)30 757 02 517
Fax: +49 (0)30 757 02 518



Reply to: