[Bug 933651] New: Yast2 reporting error during boot loader installation, grub2-install error ofpathname not found
http://bugzilla.suse.com/show_bug.cgi?id=933651 Bug ID: 933651 Summary: Yast2 reporting error during boot loader installation, grub2-install error ofpathname not found Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: PowerPC OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: normand@linux.vnet.ibm.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Yast2 reporting error during boot loader installation, grub2-install error ofpathname not found * do network install of PowerPC P8 baremetal with Tumbleweed-BE-DVD-ppc64-Build20150601-Media.iso from https://openqa.opensuse.org/tests/66009/asset/4141 and adding startshell=1 boot parameter. * from startshell only do exit to start yast * select /dev/sda for installation, and minimalX config * the install stopped with reported error message "error during boot loader installation" as per attached fresh_error_bootloader_installation.png * select Y push button to switch back to startshell do tarball of some of /var/log/* and /tmp/* and attached them in error_bootloader_install.tgz I assume the error is related to following lines extracted from y2log present in tarball: === 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 Perl-Bootloader: 2015-06-04 14:37:20 <3> pbl-yaml-3997.9 Core::RunCommand.1675: Error: '/usr/sbin/grub2-install --target=powerpc-ieee1275 --force --skip-fs-probe "/dev/disk/by-id/scsi-1IBM_IPR-0_6A9E2B0000000060-part1"' failed with exit code 1, output: 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 <<<<<<<<<<<<<<<< 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 Installing for powerpc-ieee1275 platform. 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 /usr/sbin/grub2-install: error: ofpathname: not found. 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 2015-06-04 14:37:20 <3> linux-v88h(3429) [bash] ShellCommand.cc(shellcommand):78 >>>>>>>>>>>>>>>> === -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #1 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #2 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #3 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #5 from Michel Normand
The issue here is: grub tries ofpathname --version which returns 1 if we on Bare Metal
ofpathname: is not supported on the PowerKVM Host platform
We should call grub2 with --no-nvram option. But that would require to implement PowerNV in YaST.
Right now, PowerNV is treated as CHRP platform.
I did a trial removing the exit 1 in line 1476 of ofpathname
(as suggested by Dinar) and manually tried the grub2-install.
===
sh-4.3# /usr/sbin/ofpathname --version
ofpathname: is not supported on the PowerKVM Host platform
ofpathname: Version 0.5
Written by: Nathan Fontenot
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #6 from Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #7 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #8 from Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #9 from Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #10 from Michel Normand
[CUT] ... You can try reinstall with dud=http://download.opensuse.org/repositories/home:/k0da:/branches:/openSUSE: /Factory/standard/ppc64/powerpc-utils-1.2.22-7.1.ppc64.rpm
* I did a trial with dud= but using the "full dud" created by Dinar from https://dl.dropboxusercontent.com/u/605074/ofpath.dud * There was no more boot loader install reported error The install completed and triggered machine reboot. * But after reboot the petitboot menu do not list installed OS in /dev/sda * so redo an install with startshell=1 and manually mount /dev/sda3 and chroot to retrieve the /var/log/yaST2 as stillnogrubconf.yast2.tgz tarball attached to this bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #11 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #12 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #13 from Michel Normand
http://bugzilla.suse.com/show_bug.cgi?id=933651
--- Comment #14 from Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
Dinar Valeev
http://bugzilla.suse.com/show_bug.cgi?id=933651
http://bugzilla.suse.com/show_bug.cgi?id=933651#c17
glen dsouza
http://bugzilla.suse.com/show_bug.cgi?id=933651
glen dsouza
participants (1)
-
bugzilla_noreply@novell.com