today I performed a kernel update using the automatic updated from 2.6.22.17-0.1 to 2.6.22.18-0.2.
After rebooting the machine, it won’t come up anymore. It hangs up with the following error:
Waiting for device /dev/disk/by-id/scsi-SATA_ST3120023AS_3KA1AKAV-part2 to appear: ....................Could not find /dev/disk/by-id/scsi-SATA_ST3120023AS_3KA1AKAV-part2
I’ve tried to start with a knoppix CD, but there the drive is reachable and exits under this namings …
Try just using the device name and not the device ID name in fstab. Like /dev/sda2 which should be close, . Also, did you install any other hard drives lately? Perhaps left in a USB drive? Somtimes GRUB is finicky with these things. Simply do:
sudo vim /where/hard/drive/is/mounted/etc/fstab
And edito the line have to do with
/dev/disk/by-id/scsi-SATA_ST3120023AS_3KA1AKAV-part2
to
/dev/sda2
Assuming you have only one harddrive.
mount /dev/sda2 mnt/
mount --bind /dev /mnt/dev
chroot /mnt
mount /proc
mount /sys
mkinitrd
Kernel image: /boot/vmlinuz-2.6.22.18-0.2-default
Initrd image: /boot/initrd-2.6.22.18-0.2-default
Root device: /dev/sda2 (mounted on / as ext3)
Kernel Modules: processor thermal scsi_mod libata pata_amd sata_sil fan jbd mbcache ext3 edd sd_mod usbcore ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid
Features: block usb resume.userspace resume.kernel
Bootsplash: SuSE (1280x1024)
17537 blocks
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Command failed
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Command failed
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Command failed
The result after booting is still the same … I think the error messages are the problem … any hints?
It does sound like you are for some reason missing a kernel module which must be loaded to access the drive’s controller.
Use the installation DVD to boot into repair mode. Go to the boot loader section and re-install it. That will re-create the initrd. Beforehand, use the live CD to take a look at /etc/sysconfig/kernel which lists the modules that SuSE’s mkinitrd script will build into the initrd. Make sure what you need is in that list.