Hi, I'm testing with 4.2b1 and want to examine the
uncompressed-then-mounted contents of the initrd.lrp file.
On my running 3.1.1b3 I'd gunzip the lrp file via:
gunzip -c initrd.lrp > /tmp/initrd.minix
and then loop-mount the output as a minix filesys ... but that doesn't
work now :(
First que
If you read changelog, you may notice that LEAF moved from initrd to
initramfs, which is compressed CPIO archive. LEAF 3.x AFAIK hasn't cpio
utility, so if you want to examine content, you should just extract it
on generic Linux PC.
19.01.2012 16:13, groups, freeman пишет:
> Hi, I'm testing wit
Am 19.01.2012 15:13, schrieb groups, freeman:
> Hi, I'm testing with 4.2b1 and want to examine the
> uncompressed-then-mounted contents of the initrd.lrp file.
>
> On my running 3.1.1b3 I'd gunzip the lrp file via:
> gunzip -c initrd.lrp > /tmp/initrd.minix
>
> and then loop-mount the output as
> Hi, I'm testing with 4.2b1 and want to examine the
> uncompressed-then-mounted contents of the initrd.lrp file.
>
To change:
# gunzip < initrd.lrp > initrd
# mkdir ./tmprd && cd ./tmprd
# cpio -id < ../initrd
After modify, to re-compress:
# find . | cpio --create --format='newc' > ../initrd-new