LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07:34 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

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:	34
Size:	35.4 KB
ID:	20005  
 
Old 11-08-2015, 07:55 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Hit 'b' key?
 
Old 11-08-2015, 08:17 AM   #3
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
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, 08:26 AM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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 08:31 AM. Reason: spelling
 
1 members found this post helpful.
Old 11-08-2015, 10:20 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 489

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, 10:21 AM   #6
windstory
Member
 
Registered: Nov 2008
Posts: 489

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, 10:59 AM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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, 11:06 AM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 489

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 11:18 AM.
 
Old 11-08-2015, 11:32 AM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Cool.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 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