[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot-time messages, /init touch not found



The Wanderer wrote:
> songbird wrote:
>> The Wanderer wrote:
>>> songbird wrote:
>
>>>> doesn't work for me, hmm:
>>>>=20
>>>> # gunzip - < /boot/initrd.img-3.18.0-trunk-686-pae | cpio -i
>>>>=20
>>>> gzip: stdin: not in gzip format
>>>=20
>>> What does
>>>=20
>>> file /boot/initrd.img-3.18.0-trunk-686-pae
>>>=20
>>> report?
>>=20
>> /boot/initrd.img-3.18.0-trunk-686-pae: ASCII cpio archive (SVR4 with
>> no CRC)
>
> So it's not compressed at all.
>
> Try
>
> cpio -i < /boot/initrd.img-3.18.0-trunk-686-pae
>
> to expand it (again, from within an _empty_ directory).

  yes, that did not give an error.  but not much is in
there:  this is interesting...  :)

# cpio -i -v < /boot/initrd.img-3.18.0-trunk-686-pae
kernel
kernel/x86
kernel/x86/microcode
kernel/x86/microcode/GenuineIntel.bin
22 blocks

# du .
du .
16	./kernel/x86/microcode
20	./kernel/x86
24	./kernel
28	.
	

>>> Your initramfs may be compressed using a different tool, or may
>>> even not be compressed at all. Depending on exactly what the
>>> situation is, you may need to use one of several different
>>> commands, not all of which can be easily substituted into the above
>>> without changing syntax.
>>=20
>> yes, i do understand that.  :)
>>=20
>>=20
>> COMPRESS=3Dgzip in the config file for initramfs-tools.
>
> In that case, it's very strange that your initramfs does not appear to
> be gzip-compressed. (The more so since gzip is allegedly the default,
> even if no compression is specified.)
>
> What's the timestamp on this file, as reported by 'ls -l' or similar?
>
> If you 'update-initramfs -u -k all', does this file get updated? If so,
> is it still uncompressed afterwards?


  yes, that is what i did earlier today:

-rw-r--r-- 1 root root 15542670 Apr 25 12:07 initrd.img-3.18.0-trunk-686-pae


  not compressed.


>> hmm...
>>=20
>> using version 0.120 (testing).
>
> That's what I have installed, and the initrd.img for my currently active
> kernel - which is gzipped - was last updated on the 19th.

  i can't say when it was updated last before i updated it
earlier today.


  songbird


Reply to: