Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse]
  • From: monty tuvalieau <mtuvalieau@xxxxxxxxx>
  • Date: Thu, 18 Oct 2012 20:36:39 -0700
  • Message-id: <CADF5anNF=oNLsDzF79j0EJp4nCt8QLcrkCb5OumibiU5+hhzEg@mail.gmail.com>
On Tue, Oct 16, 2012 at 10:47 PM, Carl Fletcher <caf4926@xxxxxxxxx> wrote:
On 17/10/12 05:50, monty tuvalieau wrote:

Folks,

I did a fresh install of 12.2 (amd64) today and then went on to update all
packages. Well, the ssytem no longer boots for one or more reasons.

1. I noticed that while installeng "some" updates, somehow the grub2
location
got changed... to a differnt drive and partition (/dev/sdj2 instead of
/dev/sdk2). The device.map looks ok to me.

--------------------------------------------------------------------------------------------------------------
# Kernel image: /boot/vmlinuz-3.4.6-2.10-desktop
# Initrd image: /boot/initrd-3.4.6-2.10-desktop
# KMS drivers: nouveau
# Root device:
/dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z4NEAC818873-part1
(/dev/sdi1) (mounted on / as reiserfs)
# Resume device:
/dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z4NEAC818873-
part8 (/dev/sdi8)
# modprobe: Module hid_generic not found.
# WARNING: no dependencies for kernel module 'hid-generic' found.
# Kernel Modules: thermal_sys thermal processor fan pata_atiixp
scsi_transport_sas libsas mvsas raid_class mpt2sas ata_generic scsi_dh
scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua reiserfs button wmi
video
mxm-wmi i2c-algo-bit drm drm_kms_helper ttm nouveau xhci-hcd hid-logitech-dj
# Features: acpi kms plymouth block usb resume.userspace resume.kernel
#
# Kernel image: /boot/vmlinuz-3.4.6-2.10-xen
# Initrd image: /boot/initrd-3.4.6-2.10-xen
# KMS drivers: nouveau
# Root device:
/dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z4NEAC818873-part1
(/dev/sdi1) (mounted on / as reiserfs)
# Resume device:
/dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z4NEAC818873-
part8 (/dev/sdi8)
# modprobe: Module hid_generic not found.
# WARNING: no dependencies for kernel module 'hid-generic' found.
# Kernel Modules: hwmon thermal_sys thermal processor fan pata_atiixp
scsi_transport_sas libsas mvsas raid_class mpt2sas ata_generic xennet cdrom
xenblk scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua reiserfs
button wmi video mxm-wmi i2c-core i2c-algo-bit drm drm_kms_helper ttm
nouveau
usb-common usbcore pcmcia_core pcmcia mmc_core ssb ohci-hcd uhci-hcd
ehci-hcd
xhci-hcd hid usbhid hid-logitech-dj
# Features: acpi kms plymouth block usb resume.userspace resume.kernel
# Perl-Bootloader: 2012-10-16 17:19:22 ERROR: Command
'/usr/sbin/grub2-install
--force --skip-fs-probe /dev/sdj2 >/var/log/YaST2/y2log_bootloader 2>&1'
failed with code 256 and output: /usr/sbin/grub2-probe: error: cannot find a
GRUB drive for /dev/sdj2. Check your device.map.
#
# There was an error generating the initrd (1)
# warning: %postun(udev-182-4.14.1.x86_64) scriptlet failed, exit status 1
#
2012-10-16 17:19:22|install|udev|182-4.21.1|x86_64|root@opt6238|openSUSE
Current updates|
a5df28daac5ca549ab87bb00e3ec1c57fd432af0862e58ce2250b9fe83fe67d5
2012-10-16
17:19:22|install|timezone|2012f-1.4.1|x86_64|root@opt6238|openSUSE
Current updates|
7f51572a65be5bb730dcbc893018d03dfcc8ded82280de5223238293b3265a0e
# 2012-10-16 17:20:56 mdadm-3.2.5-3.17.1.x86_64.rpm installed ok
# Additional rpm output:
# Scanning scripts ...
# Resolve dependencies ...
# Install symlinks in /lib/mkinitrd/setup ...
# Install symlinks in /lib/mkinitrd/boot ...
#
------------------------------------------------------------------------------------------------------------------

2. /var/log/zypp/history shows lots of other problems:

a. many packages produced this type of error (probably related to the
error above)
------------------------------------------------------------------------
2012-08-24 19:48:23|install|systemd-sysvinit|44-10.1.1|x86_64|root@opensuse|
InstallationImage|
972c9334b2dd9144f2a03addbb70280e37af9a2b6f633c6ff5f84e979d56dbb1
# 2012-08-24 19:48:24 mkinitrd.rpm installed ok
# Additional rpm output:
# warning: /usr/src/packages/BUILD/openSUSE-images-11.4/gnome_cd-
x11/var/cache/zypp/packages/InstallationImage/mkinitrd.rpm: Header V3
RSA/SHA256 Signature, key ID 3dbdc284: NOKEY
# Updating /etc/sysconfig/kernel...
# Scanning scripts ...
# Resolve dependencies ...
# Install symlinks in /lib/mkinitrd/setup ...
# Install symlinks in /lib/mkinitrd/boot ...
# sh: /etc/sysconfig/bootloader: No such file or directory
# GetBootloader(): Cannot determine the loader type at
/usr/lib/perl5/vendor_perl/5.16.0/Bootloader/Tools.pm line 730.
# There was an error generating the initrd (1)
# warning: %posttrans(mkinitrd-2.7.1-62.6.1.x86_64) scriptlet failed, exit
status 1
---------------------------------------------------------------------------------------------------------------

b. many other packages produced this type of error

--------------------------------------------------------------------------------------------------------------
# 2012-10-16 13:23:58 gvfs-backends-1.12.3-3.2.2.x86_64.rpm installed ok
# Additional rpm output:
# /usr/share/glib-2.0/schemas/org.freedesktop.Tracker.Extract.gschema.xml:
Error on line 5 char 1: <enum id='org.freedesktop.Tracker.TrackerVerbosity'>
not (yet) defined.. This entire file has been ignored.
#

--------------------------------------------------------------------------------------------------------------

c. and some other random error types
-------------------------------------------------------------------------------------------------------------
# 2012-10-16 13:12:55 bootsplash-branding-openSUSE-12.2-11.6.15.noarch.rpm
installed ok
# Additional rpm output:
# Updating /etc/sysconfig/bootsplash...
# Scanning scripts ...
# Resolve dependencies ...
# Install symlinks in /lib/mkinitrd/setup ...
# Install symlinks in /lib/mkinitrd/boot ...
# Perl-Bootloader: 2012-10-16 20:12:55 ERROR: Command
'/usr/sbin/grub2-install
--force --skip-fs-probe /dev/sdj2 >/var/log/YaST2/y2log_bootloader 2>&1'
failed with code 32512 and output: sh: /usr/sbin/grub2-install: No such file
or
directory
#
# There was an error generating the initrd (1)
# warning: %post(bootsplash-branding-openSUSE-12.2-11.6.15.noarch) scriptlet
failed, exit status 1
---------------------------------------------------------------------------------------------------------------

3. doing a check on the grub installation yields:


sdk2:
__________________________________________________________________________

File system: reiserfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sdk2
and looks at sector 121393304 of the same hard drive
for core.img, but core.img can not be found at this
location.
Operating System:
Boot files: /grub2/grub.cfg /boot/grub2/grub.cfg

--------------------------------------------------------------------------------------------------------

fixing and regenerating the grub.cfg file starts booting till I get an error
that the root partition cannot be mounted and the FS type is not known.
I have confirmed by booting another openssue partition that the root
partition
in question is actually fine.

This is the second time I have run into this issue in a week's time. I
don't
know if it is worth salvaging the system or reinstalling afresh a third
time.
On the other hand I cannot keep reinstalling after a failed update.

Any ideas or suggestions?

Monty

OK
But if you updated the kernel version in your output is wrong.
3.4.6-2.10-desktop

Check this
http://forums.opensuse.org/content/128-re-install-grub2-dvd-rescue.html

At least that you could chroot to the installed system - run: grub2-mkconfig
-o /boot/grub2/grub.cfg
And then:

grub2-install /dev/sda



Actually, I was not too worried about how to re-install or configure grub2.
As it turns out, I figured out the problem. My first two installs were
from a USB stick.
For some reason, grub2 configured the install location as /dev/sd<n> and when I
removed the USB stick after installation the grub2 entry was pointing
to the wrong
partition.

I installed from DVD and for some puzzling reason, grub2 install
location was now
(arbitrarily?) set with the unique by id identifier
/dev/disk/by-id/<unique-partition-id>
and I do not have this problem with grub2 now.

However, I checked the install logs and I still see errors reported
all over the place,
but the system seems to be working fine. It is scary to see tens of
installation errors
and feel comfortable that I have a working system.

Monty.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
References