LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-02-2011, 10:50 PM   #1
Username2
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
GRUB booting into command line


Hi.

Installed Gentoo today via LiveUSB, everything went fine, the usual.

But when I boot it goes into grub command line and I'm forced to boot via manually selecting the kernel, initrd etc (which works fine).

I'd rather have it so I can just press enter on my OS of choice though.

Anyone know what's up?

I've reinstalled GRUB a few times.
 
Old 08-03-2011, 12:29 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 398
Blog Entries: 72

Rep: Reputation: 65
Are you sure /boot/grub/grub.cfg has valid contents?
What's your harware configuration(I mean, where is grub installed, how many disks, how many partitions, etc)?
 
Old 10-04-2011, 08:26 AM   #3
linuxNewbie.
LQ Newbie
 
Registered: Oct 2011
Distribution: Debian, Crunchbang, Sabayon, Gentoo
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by Username2 View Post
Hi.

Installed Gentoo today via LiveUSB, everything went fine, the usual.

But when I boot it goes into grub command line and I'm forced to boot via manually selecting the kernel, initrd etc (which works fine).

I'd rather have it so I can just press enter on my OS of choice though.

Anyone know what's up?

I've reinstalled GRUB a few times.
Hi!

Check your /boot/grub/menu.lst

I had the same problem.
Grub counts from zero, so for example if your kernel is on /dev/sda3 make sure you specify the root as hd(0,2)

That worked for me...

Also, this might help: http://jbakshi.50webs.com/Linux_tuto...implified.html

Last edited by linuxNewbie.; 10-04-2011 at 08:41 AM.
 
Old 10-14-2011, 01:30 AM   #4
LordVan
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
You need to make sure that your grub.conf is set up correctly

here's an example:

# Default to first entry
default 0
# Automatically boot default after 30 sec
timeout 30

# linux 3.0.4 kernel
title=Linux 3.0.4 (Gentoo)
# boot from first HDD partition no 7
root (hd0,7)
kernel /linux-3.0.4-gentoonoradeon_preemptvol


Any kernel arguments should be put after the kernel filename.

If you are not sure on what root (...) is supposed to be you can go and try it out when you are in the "interactive" mode for grub as it has autocompletion with <TAB>
 
Old 10-14-2011, 05:08 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,062
Blog Entries: 7

Rep: Reputation: 223Reputation: 223Reputation: 223
I do not know which version of grub you are using but it sounds like you need a grub.cfg or menu.lst. If you boot it by typing it should be no problem to build your own from your text editor and place it in /boot/grub in either grub version.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get rid of grub, from grub command line preferably slow_footed_Buffalo Linux - Software 10 03-14-2011 03:45 AM
Booting Into Command Line ChrisWho Linux - General 19 04-14-2010 01:29 AM
Booting to command line? Barrien Linux - Newbie 2 09-04-2009 09:45 AM
booting to command line in grub nmistry Linux - Newbie 1 05-12-2004 08:48 PM
error booting redhat with grub command line shams Linux - Software 0 03-02-2004 07:23 PM


All times are GMT -5. The time now is 07:33 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration