/srv/irclogs.ubuntu.com/2015/09/01/#ubuntu+1.txt

lordievaderGood morning.06:00
TJ-Could someone please tell me what "file /boot/initrd.img*" reports please?18:31
k1l_on a 14.04 its: /boot/initrd.img-3.13.0-62-generic: gzip compressed data, from Unix, last modified: Mon Aug 17 23:21:24 201518:32
TJ-No, for 15.1018:33
brainwashwhy?18:33
TJ-On my Wily test-bed there's no compression: "/boot/initrd.img-4.1.0-3-lowlatency: ASCII cpio archive (SVR4 with no CRC)"18:33
k1l_i dont have a 15.10 running right now :)18:33
brainwashprobably because intel microcode loading is enabled18:34
brainwashin /etc/default/intel-microcode18:34
brainwashsince 14.10 I guess18:35
brainwashactually since 15.0418:36
TJ-Ah, so 'file' is kind-of lying, as in it's a pre-pended early-initramfs image in front of the gzipped image18:38
TJ-I extracted the initrd.img to check some settings and was surprised that only the microcode was present :)18:39
TJ-Good; binwalk knows where it is: "21504         0x5400          gzip compressed data,"18:40
TJ-Got it "RD=/boot/initrd.img-4.1.0-3-lowlatency; dd if=$RD bs=$(binwalk $RD | awk '/gzip/{print $1}') skip=1 | file -" ==> "/dev/stdin: gzip compressed data,"18:43
brainwashgreat! was afk for a while :)18:45
TJ-What a pain that cpio has no option to report the size of what it reads; it's an expensive operation processing the file with binwalk18:50
en1gmai have the ubuntu 15.10 willy which was an alpha. is there a newer version out that i should get?18:59
TJ-OK, for completeness: can use cpio as long as we trust/assume block size is 512 bytes: "RD=/boot/initrd.img-4.1.0-3-lowlatency; dd if=$RD bs=$(cpio -t <$RD |& awk '/blocks/{print $1*512}') skip=1 | zcat | cpio -id "19:02
penguin42cpio is always a pita19:07
penguin42it's command line options seem to be designed primarily to confuse19:07
=== tomaw_ is now known as tomaw
=== jack is now known as Guest98856
=== brainwash_ is now known as brainwash
=== jack is now known as Guest7598

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!