LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2016, 01:46 AM   #1
mangya
Member
 
Registered: Jul 2015
Distribution: CentOS
Posts: 84

Rep: Reputation: Disabled
How to create Grub Rescue> mode?


Hello

OS: CentOS 7.2 Minimal running in VirtualBox.

I'm learning grub2 repair, and in that I have to experiment on both Grub> and Grub Rescue> shells.

I renamed file /boot/grub2/grub.cfg to grub.cfgx, and when rebooted, I was loaded to Grub> shell. I experimented whatever i needed to learn in this shell.

Now, I want to experiment in Grub Rescue> shell. But I don't what deliberate changes I have to make so that I will be booted to Grub Rescue> shell on next reboot.

Help is really appreciated.

Thanks
 
Old 04-03-2016, 08:09 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,054

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Now, I want to experiment in Grub Rescue> shell. But I don't what deliberate changes I have to make so that I will be booted to Grub Rescue> shell on next reboot.
The quote above doesn't make sense. The way it reads, you want to get a grub rescue prompt but you don't want to make any changes to be able to do this? Contradictory wishes. If that what you want, you might need to contact a local magician. Or did you mean to have the word 'know' between 'don't and 'what'?

You get the grub rescue prompt if grub cannot find the grub directory, the kernel, the normal.mod or linux.mod files. So move one or more from their proper locations and make a note of where you moved it to so you can move it/them back.
Make sure you have detailed info on how to repair the problem before beginning, at least a Linux Live CD.

Last edited by yancek; 04-03-2016 at 08:22 AM.
 
1 members found this post helpful.
Old 04-03-2016, 11:14 PM   #3
mangya
Member
 
Registered: Jul 2015
Distribution: CentOS
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
The quote above doesn't make sense. The way it reads, you want to get a grub rescue prompt but you don't want to make any changes to be able to do this? Contradictory wishes. If that what you want, you might need to contact a local magician. Or did you mean to have the word 'know' between 'don't and 'what'?
Sorry for late replay. I indeed missed 'know' word in between. That made a whole new meaning. Thanks for correcting and also saving me from contacting local magician .

I will try your suggestion as soon as I get home.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't solve grub failure grub rescue mode fandouli Linux - Newbie 12 03-01-2016 04:10 PM
GRUB rescue mode AN28 Linux - Newbie 2 10-31-2013 04:18 AM
How to escape from grub rescue mode?? Biswajit Das Linux - Desktop 2 11-19-2012 10:04 AM
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 09:30 AM
Fixing Grub from rescue mode sabresong Linux - General 5 02-23-2011 08:48 AM


All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration