LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 11-08-2015, 08:34 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
how to fix booting linux?


I've install centos 7.1 x64 as guest on windows 10 x64' virtualbox as host.

And I installed xampp and updated, and installed Virtualbox' guest additions.

Then, After rebooting I got wierd screen as this photo.

I want to boot the 3rd one.

Please let me know how to fix this.

Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	centosW.jpg
Views:	26
Size:	35.4 KB
ID:	20005  
 
Old 11-08-2015, 08:55 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Hit 'b' key?
 
Old 11-08-2015, 09:17 AM   #3
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by Emerson View Post
Hit 'b' key?
Or ENTER.

But if your question is how to boot the third line without interrupting the boot process and interacting with the boot loader, you will have to set the default boot entry.

See the grub manual http://www.gnu.org/software/grub/man...b.html#default
or the very good Arch Linux wiki on this subject https://wiki.archlinux.org/index.php/GRUB#Configuration
 
2 members found this post helpful.
Old 11-08-2015, 09:26 AM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Hi.

Yes. In Debian it's in /etc/default/grub
Code:
GRUB_DEFAULT=0
0 is the first line so make it say 2, need sudo to do that then (at lest here) run:
Code:
update-grub

Last edited by jamison20000e; 11-08-2015 at 09:31 AM. Reason: spelling
 
1 members found this post helpful.
Old 11-08-2015, 11:20 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
My box' grub shows this.

Code:
GRUB_TIMEOUT=5
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
 
Old 11-08-2015, 11:21 AM   #6
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by berndbausch View Post
Or ENTER.

But if your question is how to boot the third line without interrupting the boot process and interacting with the boot loader, you will have to set the default boot entry.

See the grub manual http://www.gnu.org/software/grub/man...b.html#default
or the very good Arch Linux wiki on this subject https://wiki.archlinux.org/index.php/GRUB#Configuration
Thanks for your kindness, but it's so difficult for me.
 
Old 11-08-2015, 11:59 AM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Interesting. I assume save will remember which one you arrowed up or down to last? I will have to try that, I have my grub set to 3 so it boots to (2nd one in my GRUB list) GRUB-invaders if I miss the GRUB_TIMEOUT=15 that I set,,, I used:
Code:
sudo vi /etc/default/grub
...
 
1 members found this post helpful.
Old 11-08-2015, 12:06 PM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by jamison20000e View Post
Interesting. I assume save will remember which one you arrowed up or down to last? I will have to try that, I have my grub set to 3 so it boots to (2nd one in my GRUB list) GRUB-invaders if I miss the GRUB_TIMEOUT=15 that I set,,, I used:
Code:
sudo vi /etc/default/grub
...
jamison20000e, you're right! It works!

At "/etc/default/grub", I changed "saved" to"4".

Quote:
GRUB_TIMEOUT=5
GRUB_DEFAULT=4
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
And after reboot, I got my booting screen.

Thanks a lot!

Last edited by windstory; 11-08-2015 at 12:18 PM.
 
Old 11-08-2015, 12:32 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Cool.
 
  


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
booting up/starting my computer, I need to go to Ubuntu Recovery to fix it Judith K Linux - Newbie 6 09-17-2014 12:15 PM
Multi-Booting fix with Opensuse 13stein.j Linux - General 1 06-09-2013 11:38 PM
[SOLVED] booting slackware may get stuck during syslogd. an explanation and a fix nass Slackware 3 04-23-2012 04:07 AM
Dual booting Vista and Slackware; How Can I Fix My MBR if I Bust it? Dark Jirachi Linux - General 3 09-16-2007 01:21 PM
how do i fix lilo when i get a LIL- while booting saqres Linux - General 6 10-07-2004 04:34 PM


All times are GMT -5. The time now is 12:57 PM.

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