:: Re: [DNG] Won't boot after dist-upg…
Página Inicial
Delete this message
Reply to this message
Autor: Emiliano Marini
Data:  
Para: KatolaZ
CC: dng
Assunto: Re: [DNG] Won't boot after dist-upgrade
The 4.6 kernel could extract my .xz initrd though.

On Fri, Dec 16, 2016 at 11:06 AM, Emiliano Marini <
emilianomarini82@???> wrote:

> Alright,
>
> I did this:
>
> root@devuan:~# mkdir -p /tmp/initrd
> root@devuan:~# cd /tmp/initrd
> root@devuan:/tmp/initrd# zcat /boot/initrd.img-4.7.0-0.bpo.1-686 | cpio
> -idmv 2>/dev/null
> root@devuan:/tmp/initrd# ls
> bin conf etc init lib run sbin scripts
> root@devuan:/tmp/initrd# find . | cpio -o -c | xz -9 >
> /boot/initrd.img-4.7.0-0.bpo.1-686.xz
> 281152 blocks
> root@devuan:/tmp/initrd# ls -l /boot/initrd.img-*
> -rw-r--r-- 1 root root 14795981 dic 15 08:17 /boot/initrd.img-3.16.0-4-586
> -rw-r--r-- 1 root root 15916152 dic 15 07:57 /boot/initrd.img-4.6.0-0.bpo.
> 1-686
> -rw-r--r-- 1 root root 16239683 dic 16 09:32 /boot/initrd.img-4.7.0-0.bpo.
> 1-686
> -rw-r--r-- 1 root root 11799196 dic 16 11:08 /boot/initrd.img-4.7.0-0.bpo.
> 1-686.xz
> root@devuan:/tmp/initrd# file /boot/initrd.img-4.7.0-0.bpo.1-686.xz
> /boot/initrd.img-4.7.0-0.bpo.1-686.xz: XZ compressed data
>
> Sadly, booting with the 4.7 kernel and this new .xz initrd didn't work
> either.
>
>
> On Fri, Dec 16, 2016 at 10:56 AM, KatolaZ <katolaz@???> wrote:
>
>> On Fri, Dec 16, 2016 at 10:13:05AM -0300, Emiliano Marini wrote:
>>
>> >
>> > I tried the 4.6 kernel with the 4.7 initrd and it almost boot (at the
>> end
>> > init cannot access the root fs device). But the 4.6 kernel extracts the
>> 4.7
>> > initrd and loads de init process. This leads me to think it's a kernel
>> > issue.
>> >
>> > Tried booting the 4.7 to /bin/sh. Same results. It seems it cannot
>> extract
>> > the initrd?
>>
>> Yes, it seems that the kernel cannot extract the initrd, because (very
>> weird!) for some reason the 4.7 kernel you are trying to use lacks
>> builtin support to extract gzip (???). This looks pretty weird, but
>> might explain the problem.
>>
>> You should try to compress the initramfs with either bz2 or xz. It
>> seems that xz-utils is not installed in your system, so you should
>> first
>>
>> apt-get install xz-utils
>>
>> and then recreate the initramfs again. If xz is available, initramfs
>> should try to compress the initramfs with xz. Hopefully, the 4.7
>> kernel you are trying to install will have at least xz support...
>>
>> LetUsKnow
>>
>> My2Cents
>>
>> KatolaZ
>>
>> --
>> [ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]
>> [     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
>> [       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
>> [     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ]
>> [ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]

>>
>
>