Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-04-2009, 06:26 AM   #1
sumeet inani
Registered: Oct 2008
Posts: 905
Blog Entries: 26

Rep: Reputation: 49
When GRUB fails then command prompt appears then what to do

Hi I am using openSUSE 10.3.Sometimes GRUB fails & usual green screen with option for booting into openSUSE,windows does not appear instead the message is 'minimal bashline command supported'.How can I boot into my OS using command prompt without executing 'reboot'.
Old 07-04-2009, 03:47 PM   #2
LQ Newbie
Registered: Apr 2007
Distribution: Slackware w/grub (mostly), Debian, NetBSD
Posts: 5

Rep: Reputation: 1
I am not specifically familiar with openSUSE, since I use mostly Slackware, but in general the grub command line is made easier to use because it has an autocomplete function (use the "tab" key).

As you'll find in your /boot/grub/menu.lst, in general (and most likely openSUSE is the same), to boot in grub you need:

root (hdnum designationsometimes letter - but this is more often for BSD variants)
kernel /path/to/kernel
initrd /path/to/filesystem.image

so type boot and tab -> grub will give you a choice of possibilities for your computer. Remember that in grub the numbering system starts at 0, so you drive "hda" will be "hd0";"hdb" will be "hd1" and so on.
After choosing a number you do tab again, then grub will offer you the choices for partitions on that drive i,e hd0,0 will be hda1, etc

Do the same for kernel and initrd and then enter the command "boot"
If your entries are right, then you will boot into your OS, if not try again.

Grub "failure" that allows you to go to the command line is usually a problem with the entries on /boot/grub/menu.lst so after you do get into your OS, check that file and edit it. The use of a live distro can make this a lot easier.

Hope this helps . .
1 members found this post helpful.


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
GRUB command prompt, which stage?? adnankhawer Linux - Newbie 4 02-23-2009 10:49 AM
Linspire-Live CD partially boot, command grub:\ appears Josil Linspire/Freespire 2 04-15-2006 06:43 PM
how do I boot a cd from a grub command prompt? mangolicious Linux - Software 3 02-12-2006 07:17 PM
the command prompt always appears.... melinda_sayang Programming 5 01-09-2005 10:06 AM
GRUB booting into it's command prompt .. after choosing Windows on last install~ Mustard010 Linux - General 7 12-01-2004 08:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 PM.

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