[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8
From: |
Andrei Borzenkov |
Subject: |
Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8 |
Date: |
Sat, 11 Feb 2017 21:45:03 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
11.02.2017 20:19, Andy Smith пишет:
> Hello,
>
> On Sat, Feb 11, 2017 at 03:26:43PM +0000, Andy Smith wrote:
>> Here is what the config looks like if I interrupt the boot and go to
>> edit it:
>>
>> set root='(hd0,1)'; set legacy_hdbias='0'
>> legacy_kernel '/boot/vmlinuz-3.16.0-4-amd64'
>> '/boot/vmlinuz-3.16.0-4-amd64'
>> 'root=UUID=38420e46-6123-477d-ba23-baeba8ac0d59' 'ro'
>> legacy_initrd '/boot/initrd.img-3.16.0-4-amd64'
>> '/boot/initrd.img-3.16.0-4-amd64'
>
> Over on the xen-users list, Sarah Newman pointed out that the
> legacy_initrd line should not have a repeated argument:
>
> https://lists.xenproject.org/archives/html/xen-users/2017-02/msg00029.html
>
> If I edit away the repetition, so that the config line is:
>
> legacy_initrd '/boot/initrd.img-3.16.0-4-amd64'
>
> then this boots fine.
>
This was explicitly added in commit
9fb175ed9a48102543867f8006842628cc41217c. I do not understand the
purpose of this (is there any requirement that multiboot kernel/module
gets its name as the first parameter?)
@Vladimir? Either we need to revert this, or add similar handling to
legacy_initrd, but I miss why we need it in the first place.
> Should I report this in grub's bugzilla?
>
Sure. Although I still wonder why it fails. I.e. kernel should simply
extract the same initrd content twice, why it causes such effect?
- pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andy Smith, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andrei Borzenkov, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andy Smith, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andy Smith, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8,
Andrei Borzenkov <=
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Vladimir 'phcoder' Serbinenko, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Vladimir 'phcoder' Serbinenko, 2017/02/11
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andrei Borzenkov, 2017/02/12
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Vladimir 'phcoder' Serbinenko, 2017/02/12
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Vladimir 'phcoder' Serbinenko, 2017/02/24
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andrei Borzenkov, 2017/02/25
- Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8, Andy Smith, 2017/02/25