Red Hat Bugzilla – Bug 196698
missing libreadline.so.4 library in netstg2.img
Last modified: 2007-11-30 17:07:25 EST
Description of problem:
libreadline.so.4 library in netstg2.img image is missing. parted application
cannot be started if system is booted from network.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Prior boot we had:
1. configured DHCPD (assign IP address and other network parameters)
2. configured TFTP (provides elilo + elilo.conf + vmlinuz +
3. copied all CDROMs to HTTP server.
While in EFI, issued command "lanboot".
It loads elilo and kernel.
4. Next step is provide information about HTTP server.
Then everything goes exactly as when booting from CDROM.
While examing environment, I found that CDROM rescue boot uses
stage2.img file and mounts it as root (using loop device). Network
boot uses netstg2.img file for the same purpose.
After looking into these files I found, that first one contains
libreadline.so and second no.
Run 'linux rescue' after booting 1st CDROM.
Choose 'Skip' when suggested to detect already installed OS.
In shell prompt enter following command:
# parted /dev/sdc
Following error will be shown.
parted: error while loading shared libraries: libreadline.so.4: cannot open
shared object file: No such file or directory
be able to run parted
The libreadline.so.4 library is in stage2.img and netstg2.img in RHEL-4 U5.
*** Bug 196699 has been marked as a duplicate of this bug. ***