This is a discussion on Accessing initrd.img - How? within the Debian Linux support forums, part of the Debian Linux category; --> Hello! I am trying to access initrd.img but no success so far! I am using mount -t cramfs initrd-xxx.img ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello! I am trying to access initrd.img but no success so far! I am using mount -t cramfs initrd-xxx.img -o loop but the filesystem is not recognized. I have the cramfs module loaded. I also tried to gunzip the initrd.img first. The same problem. What's wrong? Thanks |
| ||||
| Paulo da Silva wrote: > I am trying to access initrd.img but no success so far! > I am using > mount -t cramfs initrd-xxx.img -o loop > but the filesystem is not recognized. I have the cramfs module loaded. > I also tried to gunzip the initrd.img first. The same problem. > What's wrong? $ md5sum * b49a7955be5e286eff873a9bd157793a debian-31r0a-i386-binary-1.iso $ sudo sh -c '(umask 022 && mkdir /tmp/debian-31r0a-i386-binary-1) && mount -t iso9660 -o ro,nodev,nosuid,noatime,loop debian-31r0a-i386-binary-1.iso /tmp/debian-31r0a-i386-binary-1' $ cd /tmp/debian-31r0a-i386-binary-1/install $ <initrd.gz >/tmp/initrd gzip -d $ file /tmp/initrd /tmp/initrd: Linux rev 0.0 ext2 filesystem data $ sudo sh -c '(umask 022 && mkdir /tmp/initrd.d) && mount -t ext2 -o ro,nosuid,nodev,noatime,loop /tmp/initrd /tmp/initrd.d' $ mount | tail -1 /tmp/initrd on /tmp/initrd.d type ext2 (ro,nosuid,nodev,noatime,loop=/dev/loop1) $ |