Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
After upgrade REHL 6 to 7 and rebooting the server which is implemented on HP Gen9 a grub terminal show up and I can't boot up the os .
Do you have any clue how to solve this issue without loss the data which was implemented on this server.
grub> reboot
HP ProLiant System BIOS P89 v2.00 (12/27/2015)
(C) Copyright 1982 - 2015 Hewlett Packard Enterprise Development LP
Early system initialization, please wait...
Anyway, this looks like one of these cases where you use the installation cd and boot from cd and select installation until you get to the point where the machine's hard drive is analyzed and the installer recognizes an installed linux system and offers you to boot it. (SuSE Linux always worked like that and Siduction offers a separate menu entry in its on-cd grub.) And then you reinstall grub.
If your installation cd doesn't offer that option, you likely have to find some live cd and boot that one and then chroot into the previously mounted system partition of your hard drive. (And then reinstall grub, obviously.)
There's plenty of instructions on the net on how to chroot. Also, I've only done this with other distributions (openSUSE and Ubuntu), so I can't really give you any detail on how to it on RedHat.
Your not getting a grub-rescue that is a good thing,t If you know where your grub.cfg is located can do something like this
configfile (hd0,gpt?)/grub2/grub.cfg
Is one of the partitions a boot partition?
can try something like this from the grub menu
Code:
linux (hd0,gpt?)/vmlinuz-?? root=/dev/mapper/lvm/VolGroup-lv_root
initrd (hd0,gpt?)/initrd-???
where the ? you will have to fill the appropiate variables.
Code:
ls (hd0,gpt?)/
will give insight on what is on the partition.
Then reinstall grub
Last edited by colorpurple21859; 05-29-2020 at 07:07 PM.
Your not getting a grub-rescue that is a good thing,t If you know where your grub.cfg is located can do something like this
configfile (hd0,gpt?)/grub2/grub.cfg
Is one of the partitions a boot partition?
can try something like this from the grub menu
Code:
linux (hd0,gpt?)/vmlinuz-?? root=/dev/mapper/lvm/VolGroup-lv_root
initrd (hd0,gpt?)/initrd-???
where the ? you will have to fill the appropiate variables.
Code:
ls (hd0,gpt?)/
will give insight on what is on the partition.
Then reinstall grub
When I try to list I find the below output , Can I have a way to boot from it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.