Re: Lenny: Unable to mount initrd
My guess is that ext2, ext3 and cram fs are compiled as module for the
Lenny installer kernel. If so, it will not work if initrd contains
compressed ext image.
I know that the initrd images are build using cpio. The problem is
that etch kernel for s390 is not able to mount initrd if it is built
using cpio. I need to create a compressed file containing ext2
filesystem in order to be able to install etch.
This is the procedure I used:
cd /tmp; wget http://ftp.debian.org/debian/dists/etch/main/installer-s390/current/images/generic/initrd.debian
cd /tmp; rm -rf initrd initrd.gz; dd if=/dev/zero of=initrd
bs=10000000 count=1; /sbin/mke2fs -F -m0 initrd; mount -t ext2 -o loop
cd /mnt; cat /tmp/initrd.debian |gzip -d | cpio -i
cd /tmp; umount /mnt; gzip -9 initrd
mv initrd.gz initrd.debian
This is the only method I found to install Debian etch.
Why does Lenny install kernel does not say that it tried: ext2, ext3
and cramfs as Etch install kernel does?
On Mon, Aug 3, 2009 at 5:07 PM, Frans Pop<firstname.lastname@example.org> wrote:
> (No need to CC me.)
> On Monday 03 August 2009, Peter Senna Tschudin wrote:
>> How can I check if the kernel supports ext2, ext3 and cramfs? Looks
>> like it does not...
> $ cat /proc/filesystems
> But note the the installer will only get some file system modules
> available when additional installer components are loaded in the step
> after a mirror has been selected. The initrd is an initramfs (compressed
> cpio archive) and thus does not require any of these file systems, and
> thus they may not be enabled/included in the generic kernel and initrd.
> To UNSUBSCRIBE, email to debian-s390-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com