LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-06-2015, 09:39 AM   #1
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Rep: Reputation: 9
Unhappy RHEL 7 - Unable to boot from GRUB2 command line


Hi,

I was attending a training for rhel7 and hence was trying some things to recover from a broken grub. So below i s what i did.

I am running a test rhel7 machine on VM Workstation 10

1. I moved my /boot/grub2/grub.cfg to /var in my test rhel7 machine and then rebooted.

2. So as expected system put me in
Quote:
grub>
command prompt; so i tried to boot the system manually using the below command set:
Code:
set root=(hd0,msdos1)
linux /vmlinuz-x.x.x. ... [followed by all different parameters]
initrd /initramfs-x.x.x ..
boot
System started to boot until it throws a weird error saying CPU has been disabled by guest OS, please reboot or reset the machine.

Now i have tried rebooting/resetting my VM multiple times and also tested this on multiple different systems; but without any luck. Now it seems to be some kind of kernel panic but i cannot seem to figure why it is panicking and how could i fix it.

However after restoring the grub.cfg from live cd things work(which they should).

So can anyone please guide me here if you have any insight on this.

Last edited by Rohit_4739; 10-06-2015 at 09:40 AM.
 
Old 10-06-2015, 12:16 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The strange message is from Vmware, see http://kb.vmware.com/selfservice/mic...rnalId=2000542.

As to your problem, is it possible that you mistyped some kernel parameter? Also, my grub.cfg contains a number of other commands:

Code:
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod xfs
        set root='hd1,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  87005ff6-8a28-4a37-9a6a-14a6801899b5
        else
          search --no-floppy --fs-uuid --set=root 87005ff6-8a28-4a37-9a6a-14a6801899b5
        fi
        linux16 /vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=auto console=ttyS1
        initrd16 /initramfs-3.10.0-229.el7.x86_64.img
Perhaps your problem is caused by a missing module.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mint 15 boots into grub2 command line ektron Linux - Newbie 9 10-14-2013 09:13 PM
[SOLVED] GRUB 0.97 Defaults to Command Line (RHEL 6) alpo85 Linux - Software 4 11-25-2012 10:27 PM
[SOLVED] How to see the RedHat Subcription via command line in RHEL 5 mail4vijay Linux - General 6 04-08-2011 12:42 AM
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 09:05 AM
Issue with line command in RHEL- 5 pramod.srk Linux - Newbie 2 11-10-2009 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration