[06:00] <lordievader> Good morning.
[18:31] <TJ-> Could someone please tell me what "file /boot/initrd.img*" reports please?
[18:32] <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 2015
[18:33] <TJ-> No, for 15.10
[18:33] <brainwash> why?
[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:34] <brainwash> probably because intel microcode loading is enabled
[18:34] <brainwash> in /etc/default/intel-microcode
[18:35] <brainwash> since 14.10 I guess
[18:36] <brainwash> actually since 15.04
[18:38] <TJ-> Ah, so 'file' is kind-of lying, as in it's a pre-pended early-initramfs image in front of the gzipped image
[18:39] <TJ-> I extracted the initrd.img to check some settings and was surprised that only the microcode was present :)
[18:40] <TJ-> Good; binwalk knows where it is: "21504         0x5400          gzip compressed data,"
[18:43] <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:45] <brainwash> great! was afk for a while :)
[18:50] <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 binwalk
[18:59] <en1gma> i have the ubuntu 15.10 willy which was an alpha. is there a newer version out that i should get?
[19:02] <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:07] <penguin42> cpio is always a pita
[19:07] <penguin42> it's command line options seem to be designed primarily to confuse