[opensuse] after update, modprobe does not find libz.so.1
I already updated a 12.1 system to the latest 3.1.10-1.29. Was ok then. But with another machine I get an error when rebooting. It says modprobe cannot find libz.so.1 and then stops booting. Never had that stuff and cannot find solution on the net. Please help! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Markus Egg
I already updated a 12.1 system to the latest 3.1.10-1.29. Was ok then.
But with another machine I get an error when rebooting. It says modprobe cannot find libz.so.1 and then stops booting.
I am on Tumbleweed but location should be the same: 15:33 Crash: ~ > rpm -qfl /lib/libz.so.1 /lib64/libz.so.1 /lib/libz.so.1 /lib/libz.so.1.2.8 /lib64/libz.so.1 /lib64/libz.so.1.2.8 If they are not there for some reason, dl the rpm, extract the files, boot to a repair system or with a live cd, and place them in the proper location. Then try booting the system. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 08/06/14 21:37, schrieb Patrick Shanahan:
* Markus Egg
[06-08-14 14:54]: I already updated a 12.1 system to the latest 3.1.10-1.29. Was ok then.
But with another machine I get an error when rebooting. It says modprobe cannot find libz.so.1 and then stops booting.
I am on Tumbleweed but location should be the same:
15:33 Crash: ~ > rpm -qfl /lib/libz.so.1 /lib64/libz.so.1 /lib/libz.so.1 /lib/libz.so.1.2.8 /lib64/libz.so.1 /lib64/libz.so.1.2.8
If they are not there for some reason, dl the rpm, extract the files, boot to a repair system or with a live cd, and place them in the proper location. Then try booting the system.
These files are all there. I rebootet with the rescue option from the original CD, mounted / readonly to some directory /otherroot and I was able to find the files in the correct places of /otherroot/lib and /otherroot/lib64 . Obviously the update forgot to install a few things in /boot E.g. a initrd-3.1.10-1.29-debug is not there, didn't realize that in the beginning and was wondering why failsafe made the same error. Is there some way to get the failsafe files back? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-08 21:58, Markus Egg wrote:
Am 08/06/14 21:37, schrieb Patrick Shanahan:
* Markus Egg
[06-08-14 14:54]: I already updated a 12.1 system to the latest 3.1.10-1.29. Was ok then.
12.1 is obsolete and there are no updates, unless you create them yourself.
Obviously the update forgot to install a few things in /boot E.g. a initrd-3.1.10-1.29-debug is not there, didn't realize that in the beginning and was wondering why failsafe made the same error.
Is there some way to get the failsafe files back?
You have to mount the root from a live system of the same openSUSE release (at least, as close a kernel and utils as possible), mount boot if appropriate, bind mount proc, sys, and dev, then chroot to the mountplace of root. Then run mkinitrd. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Am 08/06/14 22:40, schrieb Carlos E. R.:
On 2014-06-08 21:58, Markus Egg wrote:
Am 08/06/14 21:37, schrieb Patrick Shanahan:
* Markus Egg
[06-08-14 14:54]: I already updated a 12.1 system to the latest 3.1.10-1.29. Was ok then.
12.1 is obsolete and there are no updates, unless you create them yourself.
I know that. That's why I also think of upgrading to 13.1. See my other posting.
Obviously the update forgot to install a few things in /boot E.g. a initrd-3.1.10-1.29-debug is not there, didn't realize that in the beginning and was wondering why failsafe made the same error.
Is there some way to get the failsafe files back?
You have to mount the root from a live system of the same openSUSE release (at least, as close a kernel and utils as possible), mount boot if appropriate, bind mount proc, sys, and dev, then chroot to the mountplace of root.
Then run mkinitrd.
That sounds complicated. :-( First: I do not have a live DVD or CD from 12.1 here afaics. :-( Can I even download the 12.1 live DVD? Is there some step by step instruction on the net? ME -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 08/06/14 23:56, schrieb Markus Egg:
Am 08/06/14 22:40, schrieb Carlos E. R.:
On 2014-06-08 21:58, Markus Egg wrote:
Am 08/06/14 21:37, schrieb Patrick Shanahan:
* Markus Egg
[06-08-14 14:54]:
[...]
Obviously the update forgot to install a few things in /boot E.g. a initrd-3.1.10-1.29-debug is not there, didn't realize that in the beginning and was wondering why failsafe made the same error.
Is there some way to get the failsafe files back?
You have to mount the root from a live system of the same openSUSE release (at least, as close a kernel and utils as possible), mount boot if appropriate, bind mount proc, sys, and dev, then chroot to the mountplace of root.
Then run mkinitrd.
That sounds complicated. :-( First: I do not have a live DVD or CD from 12.1 here afaics.
I finally found a openSUSE-12.1-KDE-LiveCD-x86_64.iso on another machine. Is there some step by step instruction how to go on? Does the Live CD work with RAID1? Thx in advance -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-08 23:56, Markus Egg wrote:
Am 08/06/14 22:40, schrieb Carlos E. R.:
...
Then run mkinitrd.
That sounds complicated.
Easier to do than explain :-)
:-( First: I do not have a live DVD or CD from 12.1 here afaics.
That's a problem. You must always have a current rescue cd, dvd, or usb stick, or you are hosed.
:-( Can I even download the 12.1 live DVD?
Even the netinstall CD would do, it is the smallest one. 200 MB. 32 bit: http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.1/iso/openSUSE... or 64 bit: http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.1/iso/openSUSE...
Is there some step by step instruction on the net?
For dowloading, or the chroot thing? You boot the rescue CD. You mount your root system somewhere, typically, "/mnt". If you use a separate boot, mount it too under it, that is, "/mnt/boot". Then you do: mount bind /proc /mnt/proc mount bind /sys /mnt/sys mount bind /dev /mnt/dev chroot /mnt Now you have a terminal that is, more or less, your installed system. Things run from it now. So, just do: mkinitrd -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Am 09/06/14 00:48, schrieb Carlos E. R.:
On 2014-06-08 23:56, Markus Egg wrote:
Am 08/06/14 22:40, schrieb Carlos E. R.:
...
Then run mkinitrd.
That sounds complicated.
Easier to do than explain :-)
:-( First: I do not have a live DVD or CD from 12.1 here afaics.
That's a problem. You must always have a current rescue cd, dvd, or usb stick, or you are hosed.
:-( Can I even download the 12.1 live DVD?
Even the netinstall CD would do, it is the smallest one. 200 MB.
32 bit:
http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.1/iso/openSUSE...
or 64 bit:
http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/12.1/iso/openSUSE...
Is there some step by step instruction on the net?
For dowloading, or the chroot thing?
You boot the rescue CD. You mount your root system somewhere, typically, "/mnt". If you use a separate boot, mount it too under it, that is, "/mnt/boot".
Then you do:
mount bind /proc /mnt/proc mount bind /sys /mnt/sys mount bind /dev /mnt/dev chroot /mnt
Now you have a terminal that is, more or less, your installed system. Things run from it now. So, just do:
mkinitrd
That did not work. mkinitrd gives: linux:/ # mkinitrd Kernel image: /boot/vmlinuz-3.1.10-1.29-desktop Initrd image: /boot/initrd-3.1.10-1.29-desktop Root device: /dev/disk/by-id/md-uuid-49818217:13c92065:79a2503c:31fc331d-part2 (/dev/md126p2) (mounted on / as ext4) Kernel Modules: thermal_sys thermal processor fan raid0 raid1 raid10 async_tx async_memcpy xor async_xor raid6_pq async_pq async_raid6_recov raid456 Features: acpi block usb md Bootsplash: openSUSE (1600x1200), openSUSE (1920x1200), openSUSE (800x600) Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 1. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. Perl-Bootloader: 2014-06-09 16:05:11 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED with 3. /dev/disk/by-id/md-uuid-49818217:13c92065:79a2503c:31fc331d-part2 is the / on the raid1, that is correct. The errors are somehow strange to me: /dev/sda3 202277 30354 161479 16% /boot on the SSD and was mounted as you said to /mnt/boot after chroot I checked and /boot was correct. M4-CT128M4SSD2_000000001137031962ED with 1 seems to be /dev/sda1 102396 24712 77684 25% /windows/S which is that 100MB Windows boot partition I also tried mounting all the Windows partitions to /mnt and also the /var partition but this did not help either. There is some change in /boot : linux:/ # ll -t /boot/ total 24346 lrwxrwxrwx 1 root root 26 Jun 9 14:42 initrd -> initrd-3.1.10-1.29-desktop -rw-r--r-- 1 root root 10159114 Jun 9 14:42 initrd-3.1.10-1.29-desktop drwxr-xr-x 2 root root 1024 Jun 9 14:37 grub lrwxrwxrwx 1 root root 27 Jun 8 19:29 vmlinuz -> vmlinuz-3.1.10-1.29-desktop but obviously that is not enough. 2 things come to my mind: 1) reinstalling from the OpenSuSE 12.1 DVD without formatting anything. Of course all the programs that have been installed by compiling are gone then. :-( 2) clean install of 13.1, but that takes ages again :-( Thx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-09 14:59, Markus Egg wrote:
Am 09/06/14 00:48, schrieb Carlos E. R.:
mkinitrd
That did not work. mkinitrd gives:
They are not errors, but warnings. Maybe important, or not. If it boots, they are not. You can do: ls -l /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED* to find out what that is.
I also tried mounting all the Windows partitions to /mnt and also the /var partition but this did not help either.
Yes, /var should be mounted, I was not aware you had it.
There is some change in /boot : linux:/ # ll -t /boot/ total 24346 lrwxrwxrwx 1 root root 26 Jun 9 14:42 initrd -> initrd-3.1.10-1.29-desktop -rw-r--r-- 1 root root 10159114 Jun 9 14:42 initrd-3.1.10-1.29-desktop drwxr-xr-x 2 root root 1024 Jun 9 14:37 grub lrwxrwxrwx 1 root root 27 Jun 8 19:29 vmlinuz -> vmlinuz-3.1.10-1.29-desktop but obviously that is not enough.
Why?
2 things come to my mind: 1) reinstalling from the OpenSuSE 12.1 DVD without formatting anything. Of course all the programs that have been installed by compiling are gone then. :-(
You can use the full DVD or the netinstall CD, to upgrade from 12.1 to 12.1, which does not format anything. On the other hand, those programs that you compiled yourself could have been installed to "/usr/local/", which can be a different partition, and thus not formatted on installs.
2) clean install of 13.1, but that takes ages again :-(
Yes, but this time you can create the adequate partitions. A separate home, a separate /usr/local, etc. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Am 09/06/14 15:10, schrieb Carlos E. R.:
On 2014-06-09 14:59, Markus Egg wrote:
Am 09/06/14 00:48, schrieb Carlos E. R.:
mkinitrd
That did not work. mkinitrd gives:
They are not errors, but warnings. Maybe important, or not. If it boots, they are not.
It did not boot :-(
You can do:
ls -l /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED*
to find out what that is.
I also tried mounting all the Windows partitions to /mnt and also the /var partition but this did not help either.
Yes, /var should be mounted, I was not aware you had it.
There is some change in /boot : linux:/ # ll -t /boot/ total 24346 lrwxrwxrwx 1 root root 26 Jun 9 14:42 initrd -> initrd-3.1.10-1.29-desktop -rw-r--r-- 1 root root 10159114 Jun 9 14:42 initrd-3.1.10-1.29-desktop drwxr-xr-x 2 root root 1024 Jun 9 14:37 grub lrwxrwxrwx 1 root root 27 Jun 8 19:29 vmlinuz -> vmlinuz-3.1.10-1.29-desktop but obviously that is not enough.
Why?
No boot. Still the same error about libz.so.1. :-(
2 things come to my mind: 1) reinstalling from the OpenSuSE 12.1 DVD without formatting anything. Of course all the programs that have been installed by compiling are gone then. :-(
You can use the full DVD or the netinstall CD, to upgrade from 12.1 to 12.1, which does not format anything.
I have the full 12.1 DVD which I used for installation at the beginning.
On the other hand, those programs that you compiled yourself could have been installed to "/usr/local/", which can be a different partition, and thus not formatted on installs.
/usr and /usr/local is no different partition.
2) clean install of 13.1, but that takes ages again :-(
Yes, but this time you can create the adequate partitions. A separate home, a separate /usr/local, etc.
I once had a separate /home partition. Disadvantage was that it's getting difficult if this partition is to small. But that was long ago. Are there better methods to enlarge a /home partition nowadays? Thx. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 09/06/14 17:28, schrieb Markus Egg:
Am 09/06/14 15:10, schrieb Carlos E. R.:
On 2014-06-09 14:59, Markus Egg wrote:
Am 09/06/14 00:48, schrieb Carlos E. R.:
mkinitrd
That did not work. mkinitrd gives:
They are not errors, but warnings. Maybe important, or not. If it boots, they are not.
It did not boot :-(
You can do:
ls -l /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001137031962ED*
to find out what that is.
I also tried mounting all the Windows partitions to /mnt and also the /var partition but this did not help either.
Yes, /var should be mounted, I was not aware you had it.
There is some change in /boot : linux:/ # ll -t /boot/ total 24346 lrwxrwxrwx 1 root root 26 Jun 9 14:42 initrd -> initrd-3.1.10-1.29-desktop -rw-r--r-- 1 root root 10159114 Jun 9 14:42 initrd-3.1.10-1.29-desktop drwxr-xr-x 2 root root 1024 Jun 9 14:37 grub lrwxrwxrwx 1 root root 27 Jun 8 19:29 vmlinuz -> vmlinuz-3.1.10-1.29-desktop but obviously that is not enough.
Why?
No boot. Still the same error about libz.so.1. :-( [...]
A new install with the 12.1 install DVD with only formatting /boot and swap did not help. Still the libz.so.1 error. During installation I noticed that the process complains about existing files and that several config files got to *.rpmnew, so this does not help. Now I would have to erase the root partition and that means that I will install 13.1 anyway. First I'll try the 13.1 KDE Live DVD. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 2014-06-08 23:56, Markus Egg wrote:
Am 08/06/14 22:40, schrieb Carlos E. R.:
...
Then run mkinitrd.
That sounds complicated.
Easier to do than explain :-)
:-( First: I do not have a live DVD or CD from 12.1 here afaics.
That's a problem. You must always have a current rescue cd, dvd, or usb stick, or you are hosed.
Well, it's not quite as strict as that - in many cases you'll be fine using a rescue CD from any reasonably close version. -- Per Jessen, Zürich (30.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-09 15:32, Per Jessen wrote:
Carlos E. R. wrote:
That's a problem. You must always have a current rescue cd, dvd, or usb stick, or you are hosed.
Well, it's not quite as strict as that - in many cases you'll be fine using a rescue CD from any reasonably close version.
True. In many cases. But there are cases where not... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (4)
-
Carlos E. R.
-
Markus Egg
-
Patrick Shanahan
-
Per Jessen