[opensuse] Offline Upgrade (DVD boot method) to 42.3: problems with kernel and grub
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In one computer (Isengard), on /etc/default/grub I got:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda2 splash=verbose showopts resume=/dev/disk/by-label/Swap splash=silent quiet showopts"
which I had to change back to the correct one:
GRUB_CMDLINE_LINUX_DEFAULT=" showopts resume=/dev/disk/by-label/Swap splash=verbose"
Why change that line at all, adding the same options (not
replacing) with unpredictable results?
On another computer (Minas-Tirith), I get a similar issue:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-label/Swap splash=verbose console=tty1 loglevel=3 showopts resume=/dev/disk/by-label/Swap splash=silent quiet showopts"
It seems that what it thinks are the correct options are added to the end
of the line.
Correct line:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-label/Swap splash=verbose console=tty1 loglevel=3 showopts"
On this computer I got a grub error during the update, of which I took a
photo; fortunately it did not impede reboot, but I have no idea what it
means.
Execution of command *[[*/usr/sbin/grub2-install* ... failed.
Exit code 1
Error output: Installing for i386-pc platform.
/usr/sbin/grub2-install: error: the drive hd0 is defined multiple times in
the device map /boot/grub2/device.map
Well, the file contains:
(hd0) /dev/sda
(hd0) /dev/sda
(hd1) /dev/sdb
This error I can find in the /var/log/YaST2/y2log-1.gz file:
2018-01-26 13:36:54 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found initrd image: /boot/initrd-4.4.104-18.44-default
2018-01-26 13:36:54 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found linux image: /boot/vmlinuz-4.4.103-18.41-default
2018-01-26 13:36:54 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found initrd image: /boot/initrd-4.4.103-18.41-default
2018-01-26 13:36:55 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: /run/lvm/lvmetad.socket: connect failed: No such file or directory
2018-01-26 13:36:55 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
2018-01-26 13:36:58 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found Windows 10 (loader) on /dev/sda1
2018-01-26 13:37:00 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found Windows Recovery Environment (loader) on /dev/sda2
2018-01-26 13:37:02 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Found openSUSE 42.2 (x86_64) on /dev/sda9
2018-01-26 13:37:05 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: done
2018-01-26 13:37:05 <1> install(3382) [Ruby] lib/cheetah.rb:178 Status: 0
2018-01-26 13:37:05 <1> install(3382) [Ruby] bootloader/device_map.rb:36 writing device map: Device Map: {"hd0"=>"/dev/sda", "hd1"=>"/dev/sdb"}
2018-01-26 13:37:05 <1> install(3382) [Ruby] lib/cheetah.rb:158 Executing "/usr/sbin/grub2-install --target\=i386-pc --force --skip-fs-probe /dev/sda4".
2018-01-26 13:37:05 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: Installing for i386-pc platform.
2018-01-26 13:37:05 <3> install(3382) [Ruby] lib/cheetah.rb:206 Error output: /usr/sbin/grub2-install: error: the drive hd0 is defined multiple times in the device map /boot/grub2/device.map.
2018-01-26 13:37:05 <3> install(3382) [Ruby] lib/cheetah.rb:178 Status: 1
2018-01-26 13:37:05 <3> install(3382) [Ruby] yast2/execute.rb:63 Execution of command "[["/usr/sbin/grub2-install", "--target=i386-pc", "--force", "--skip-fs-probe", "/dev/sda4"]]" failed.
Exit code: 1
Error output: Installing for i386-pc platform.
/usr/sbin/grub2-install: error: the drive hd0 is defined multiple times in the device map /boot/grub2/device.map.
2018-01-26 13:37:05 <1> install(3382) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "OK" at 0x7f7590078220 from function key F10
2018-01-26 13:38:45 <1> install(3382) [Ruby] bootloader/mbr_update.rb:20 Stage1:
Carlos E. R. composed on 2018-01-26 20:12 (UTC+0100):
Correct line:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-label/Swap splash=verbose console=tty1 loglevel=3 showopts"
Does "showopts" have any meaning other than for/within Grub Legacy Gfxboot? AFAIK, its placement on the cmdline determines whether and which parameters are visible in the graphical menu's edit field. -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-01-27 07:01, Felix Miata wrote:
Carlos E. R. composed on 2018-01-26 20:12 (UTC+0100):
Correct line:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-label/Swap splash=verbose console=tty1 loglevel=3 showopts"
Does "showopts" have any meaning other than for/within Grub Legacy Gfxboot? AFAIK, its placement on the cmdline determines whether and which parameters are visible in the graphical menu's edit field.
It doesn't, and I don't write it (but I forgot to remove it here). I wrote a Bugzilla last July asking for its removal, Bug 1047222. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (2)
-
Carlos E. R.
-
Felix Miata