LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-28-2005, 08:06 AM   #1
oprogue
Member
 
Registered: May 2004
Location: Southeastern USA
Distribution: SuSe, MEPIS, Knoppix, DSL
Posts: 84

Rep: Reputation: 15
grub prompt


Yesterday the laptop was running like a top (and has been for close to 7 months now since I loaded SuSe. This morning I booted up and it boots into grub and stares at me with a grub prompt ... now what do I do??

I have tried "boot", but I get error 8 kernel must be loaded. I've typed in "kernel", but get error 1, something about an absolute path name ... the only command that I've successfully launched was "reboot" ... which puts me back where I started ... grub>


This is SuSe 9.1 Personal with grub 0.94

Gets even better ... I can't even boot from a livecd??

Last edited by oprogue; 01-28-2005 at 09:24 AM.
 
Old 01-28-2005, 11:58 AM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Not being able to boot from a live CD is probably due to having booting from CD disabled in your bios.

grub commands are here:
http://www.redhat.com/docs/manuals/l...-commands.html

HTH,

Samsara
 
Old 01-28-2005, 03:26 PM   #3
oprogue
Member
 
Registered: May 2004
Location: Southeastern USA
Distribution: SuSe, MEPIS, Knoppix, DSL
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Samsara
Not being able to boot from a live CD is probably due to having booting from CD disabled in your bios.

Nope ... the bios is configured correctly for boot priority. I double checked just to humor this assumption (I regularly boot knoppix, slax, and a few other livecds).

I get the grub boot prompt, but issuing the command "boot" and others yields no results. This is the first problem I've experienced with this laptop.

Is there a way to reload grub? In doing a reload of grub will it detect the orginal install?
 
Old 01-28-2005, 08:07 PM   #4
oprogue
Member
 
Registered: May 2004
Location: Southeastern USA
Distribution: SuSe, MEPIS, Knoppix, DSL
Posts: 84

Original Poster
Rep: Reputation: 15
This is wacked ... memtest booted. Can anyone give me a sense of direction of what to do once grub loads?


... gonna have to try and load suse again ...
 
Old 01-29-2005, 07:54 AM   #5
oprogue
Member
 
Registered: May 2004
Location: Southeastern USA
Distribution: SuSe, MEPIS, Knoppix, DSL
Posts: 84

Original Poster
Rep: Reputation: 15
Unhappy

Ok ... I've managed to boot a SuSe 9.1 Pro DVD ... but I seem to be chasing myself with things. I've told it to upgrade, it runs through it's checks, repairs one of the hd partitions, then continues it's scan and reports a root partition can not be found to repair check all options and scan again, a second error after that says /etc/fstab can not be found. I go back one screen select all the scan options and the cycle repeats ... like the energizer bunny, it keeps going and going ... I've went through this process 4 times and don't think I'm making any progress.

I've rebooted the DVD and am attempting the repair option from the boot menu. Anyone know what the repair login and password is?
 
Old 01-29-2005, 08:26 AM   #6
oprogue
Member
 
Registered: May 2004
Location: Southeastern USA
Distribution: SuSe, MEPIS, Knoppix, DSL
Posts: 84

Original Poster
Rep: Reputation: 15
... well maybe rescue wasn't what I wanted after all. Gotta know what to do once you get to the prompt and I'm lost.

I've tried a new installation with the 9.1 Pro CD, but it wants to format my linux partitions (least they appear in red) and there is an error in red about the software ... I'll post both after I have breakfast.
 
Old 12-11-2005, 08:16 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I don't believe this!

Grub prompt is the best booting tool in the world because it boots every one of the 90+ system in my box.

Type

geometry (hd0)<----to see your partitions

find /boot/grub/menu.lst <----to find which partition has Grub's configuration file.

When Grub reports say it is in (hd0,0) then type

cat (hd0,0)/boot/grub/menu.lst will display the instructions how Grub boots your Suse

just follow the line starting with "root", then the "kernel" statment and finallly the "initrd" statement exactly as you see on the screen. When that is done type

boot

and Suse will fire up.

--------------------

A short cut if you don't want to bother with typing the kernel and initrd statements. On obtaining the partition that holds /boot/grub/menu.lst, say it is (hd0,0) type this at Grub prompt

configfile (hd0,0)/boot/grub/menu.lst

and your Suse will spring into life.
 
Old 12-13-2005, 12:02 PM   #8
bibh_lnxq
Member
 
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58

Rep: Reputation: 15
Apart from editing within grub as already posted here, there is a menu driven alternative in SuSE: boot from the install CD/DVD, choose Installation (*not* Rescue), go through all the motions of a new install until you get to the screen with install options. Choose Repair > Expert > Bootloader config > Reset (below to the right), popup with options, take Restore MBR. I have used it successfully quite often, after experimenting with other bootloaders (or when they chose to install in the MBR after I had told them not to :-)).
 
Old 12-13-2005, 02:07 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Hey, you can use the Grub prompt to restore Grub in the MBR!

If your Suse's root is in partition say hda3, which is (hd0,2) to Grub then this two lines at Grub prompt do a fine job.

root (hd0,2)
setup (hd0)

Common guys. Grub prompt is the best thing since slice bread. I boot my 90+ system in the box with it!!!
 
  


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 remove grub from the grub prompt haroon110 Fedora - Installation 7 12-22-2005 11:57 AM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - Newbie 3 12-11-2005 08:26 PM
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 01:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 06:23 PM


All times are GMT -5. The time now is 08:58 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration