This works without problems (SL 4.4 / 2.6.9-42.0.3.ELsmp / x86_64)
mkdir -p /mnt/initrd
dd if=/dev/zero of=initrd bs=1k count=1200
mke2fs -i4096 -m0 -F initrd
mount initrd /mnt/initrd -t ext2 -o loop
umount /mnt/initrd
What does not work is
gzip -cd initrd-2.6.9-42.0.3.ELsmp.img > xx
mount xx /mnt/initrd -t ext2 -o loop
The error is:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
What am I doing wrong?