Red Hat Bugzilla – Bug 196699
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):
MD5 (RHEL4-U3-ia64-AS-disc1.iso) = 76f383a3ed5572892084959289eedcce
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
*** This bug has been marked as a duplicate of 196698 ***