[opensuse-factory] Perl-Bootloader Error: did not find for hd0 in the device map appears after installation umounts devices then reboots after 1st half of installation
Hello all, Is any one else getting this message in VirtualBox 4.2.18 with openSUSE 13.1? I'm using openSUSE-13.1-DVD-x86_64-Build0091-Media.iso. It appears after the first half of the installation just after the umount of partitions. ------------------------------------------------------------------ Perl-Bootloader: 2013-11-12 12:49:20 <3> yast-7780.1 Core::GRUB2::GrubDev2UnixDevices v215: Error: did not find a match for hd0 in the device map sh: /usr/bin/grub2-editenv: No such file or directory sh: /usr/bin/grub2-editenv: No such file or directory sh: /usr/bin/grub2-editenv: No such file or directory Perl-Bootloader: 2013-11-12 12:51:23 <3> Yast-7780.1 FileIO::ReadFile.85: Error: Failed to open /etc/default/grub_installdevice: No such file or directory Perl-Bootloader: 2013-11-12 12:51:23 <3> Yast-7780.1 FileIO::ReadFile.85: Error: Failed to open /etc/default/grub: No such file or directory Perl-Bootloader: 2013-11-12 12:51:23 <3> yast-7780.1 Core::GRUB2::GrubDev2UnixDevices v215: Error: did not find a match for hd0 in the device map sh: /usr/bin/grub2-editenv: No such file or directory sh: /usr/bin/grub2-editenv: No such file or directory sh: /usr/bin/grub2-editenv: No such file or directory Thanks, Roman
В Tue, 12 Nov 2013 18:17:42 -0500
Roman Bysh
Hello all,
Is any one else getting this message in VirtualBox 4.2.18 with openSUSE 13.1? I'm using openSUSE-13.1-DVD-x86_64-Build0091-Media.iso.
It appears after the first half of the installation just after the umount of partitions.
------------------------------------------------------------------ Perl-Bootloader: 2013-11-12 12:49:20 <3> yast-7780.1 Core::GRUB2::GrubDev2UnixDevices v215: Error: did not find a match for hd0 in the device map sh: /usr/bin/grub2-editenv: No such file or directory
During package installation mkinitd is called more than once which in turn calls update-bootloader; unfortunately this happens before grub2 itself is installed which leads to errors. I do not know how to fix it. This involves ordering dependencies (Before/After) which cannot be expressed in RPM that only knows about Requires. The right fix would be delay mkinitrd until all packages are installed. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 13 Nov 2013 05:09, Andrey Borzenkov
В Tue, 12 Nov 2013 18:17:42 -0500 Roman Bysh
пишет: Hello all,
Is any one else getting this message in VirtualBox 4.2.18 with openSUSE 13.1? I'm using openSUSE-13.1-DVD-x86_64-Build0091-Media.iso.
It appears after the first half of the installation just after the umount of partitions.
------------------------------------------------------------------ Perl-Bootloader: 2013-11-12 12:49:20 <3> yast-7780.1 Core::GRUB2::GrubDev2UnixDevices v215: Error: did not find a match for hd0 in the device map sh: /usr/bin/grub2-editenv: No such file or directory
During package installation mkinitd is called more than once which in turn calls update-bootloader; unfortunately this happens before grub2 itself is installed which leads to errors. I do not know how to fix it. This involves ordering dependencies (Before/After) which cannot be expressed in RPM that only knows about Requires.
The right fix would be delay mkinitrd until all packages are installed.
How about addin a few lines with: "test -x /path/to/needed/command || exit 123" into mkinitrd and update-bootloader ? That would at least stop the worst behavior, and would be independed from rpm. Another way would be to delay the installation of (mkinitrd, dracut) until AFTER bootloader (grub, gummiboot, lilo) is installed. Either by sorting and grouping packages to be installed, or by dependencies. E.g. (mkinitrd, dracut) Require: bootloader (grub, gummiboot, lilo) Provide: bootloader As it is, mkinitrd has Require: perl-Bootloader , BUT perl-Bootloader does NOT Require: [any-bootloader] There the chain is broken! The situation as it is can't be called good, wise, or clever. - Yamaban.
participants (3)
-
Andrey Borzenkov
-
Roman Bysh
-
Yamaban