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

Re : Mkinitrd problems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 11.07.2005 10:59:28, gandrel a écrit :
Hello list.

Yesterdey I spotted two problems with mkinitrd:

$Id: mkinitrd,v 1.201 2004/05/16 22:00:48 herbert Exp $

from Sid with up to date updates.


1. In /usr/sbin/mkinitrd script is (or was) with "find" in line 601

There is:

 find /proc/scsi -type d -mindepth 1 -maxdepth 1 \

and should be:

 find /proc/scsi -mindepth 1 -maxdepth 1 -type d \

If not "find" shouts about sequence of options and arguments.

2. mkinitrd don't produce output.

I run:

mkinitrd -o "image_name" "version"

and there is no output file.

Critical bug?

I run minitrd with option "-k" and build initrd image with mkcramfs.


Anybody else can confirm those errors? Or they are just on my system.


If you use the -o option with a relative path, it doesnt create the initrd.

Try to specify an absolute path: -o /boot/initrd.img   for example

I don't know if it is a bug or a feature

Jean-Luc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC0jybXit3lz9m7V4RAq11AKCTbN7DrOOoDmJQ1rhAu11hovPCZgCbBd9V
/juZcfhs00bUorTY1bRkq7I=
=SSY+
-----END PGP SIGNATURE-----





Reply to: