Recover Redhat Linux 4 Grub Boot loader [Minimal Bash-like line editing is supported]
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recover Redhat Linux 4 Grub Boot loader [Minimal Bash-like line editing is supported]
Dear All,
I am trying to recover grub book loader on RHEL 4 update 2 through redhat 6 rescure disk. Redhat 4 installed on LVM disk. The rescue disk could not mount the local hardisk iamge in /mnt/sysimage. I have to manually mounted it through the command given below.
# lvm vgchange -a y volgroup1
# mount /dev/mapper/volgroup-rootvol
# chroot /mnt/sysimage
# grub-install /mnt/sysimage
after that command i recived the attached error. Pleae help me to solve this error.
I'd say RHEL 6 grub-install doesn't work with RHEL 4 libraries.
I don't know about RHEL, but http://vault.centos.org/ has the entire history of ISOs starting with 2.1. I'd download the appropriate Centos 4 ISO and try recovering your system with it.
Dear All,
I am trying to recover grub book loader on RHEL 4 update 2 through redhat 6 rescure disk. Redhat 4 installed on LVM disk. The rescue disk could not mount the local hardisk iamge in /mnt/sysimage. I have to manually mounted it through the command given below.
Code:
# lvm vgchange -a y volgroup1
# mount /dev/mapper/volgroup-rootvol
# chroot /mnt/sysimage
# grub-install /mnt/sysimage
after that command i recived the attached error. Pleae help me to solve this error.
You are using a very, VERY old copy of RHEL, and you're using another old version to try to rescue it. You have not provided any details about your hardware, but the bad ELF interpreter may indicate that you're using a 64 bit program on a 32 bit system...which will not work. RHEL 4 was both 32 and 64 bit...6 was not. I'd suggest you stop where you are, and load the CURRENT version of RHEL (after paying for support), or load the current CentOS. Restore your data from backup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.