Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

what do I do with "grub>" after reboot?

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
25 posts • Page 1 of 1
Author
Message
Invincible_777
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Sat Nov 06, 2004 7:05 pm
Location: Washington, USA

what do I do with "grub>" after reboot?

  • Quote

Post by Invincible_777 » Fri Nov 12, 2004 2:46 am

So i reboot, and i get: GNU GRUB ....

grub>
(there is text where the space is, but i think that is irrelevent)

so what do i do with this dang prompt?!
i did edit /grub.conf, and i installed it in the livecd with the "grub" command. I thought i would get a graphical loader...

spent nearly all day working on the second half of the installation. :!: Fluxbox awaits :!:
Carry out the bigger will for your life....
Top
snowbum
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Sun Mar 14, 2004 9:38 pm
Location: peace

  • Quote

Post by snowbum » Fri Nov 12, 2004 5:28 am

The dang prompt shouldn't appear when you boot if you really did everything properlly. Sorry to have to say it like that. Are you sure you edited /boot/grub/grub.conf? Are you sure you used grun to install it in the correct place on the correct harddisk? I'm sure you'll get it. If not, post again with more details please.
Last edited by snowbum on Fri Nov 12, 2004 5:46 am, edited 1 time in total.
The sun shall be turned to darkness and the moon into blood...
Top
commonloon
Tux's lil' helper
Tux's lil' helper
Posts: 133
Joined: Tue Apr 13, 2004 7:19 pm
Location: Marin, CA

did you do "setup" ?

  • Quote

Post by commonloon » Fri Nov 12, 2004 5:35 am

After you emerge grub you must not only create a grub.conf on boot, but install grub on the mbr (master boot record). Simple:

<code>
grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
</code>

The 1st statement says 1st ide disk, 1st partition. 2nd statement is put the boot loader on 1st disk. Maybe you did already? If you did them perhaps there is a typo in your grub.conf and it isn't pointing to where the boot loader is, e.g.:

grub> root (hd0,1)

and in your grub.conf you have:

root (hd0,0)

...just guessing.
Calling fly fishing a hobbie is like calling brain surgery a job.
Top
marakid
n00b
n00b
Posts: 18
Joined: Wed Nov 10, 2004 4:56 pm
Location: Bologna,Italy

  • Quote

Post by marakid » Fri Nov 12, 2004 9:35 am

I have the same problem... no errors reported when I grub-install, and I tried with grub> setup(hd0) too.

I can boot by manually typing the commands i stored in /boot/grub/grub.conf, but seems like grub doesn't see that file.

The other problem that I have (maybe as something to do with that one) is that while booting the kernel I get an error from fsck.ext2: "no such file or directory while trying to open /dev/BOOT - the superblock could not be read or does not describe a correct ext2 filesystem"

Maybe something is wrong with my /boot filesystem?
Top
snowbum
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Sun Mar 14, 2004 9:38 pm
Location: peace

  • Quote

Post by snowbum » Fri Nov 12, 2004 1:53 pm

marakid wrote:I have the same problem... no errors reported when I grub-install, and I tried with grub> setup(hd0) too.

I can boot by manually typing the commands i stored in /boot/grub/grub.conf, but seems like grub doesn't see that file.

The other problem that I have (maybe as something to do with that one) is that while booting the kernel I get an error from fsck.ext2: "no such file or directory while trying to open /dev/BOOT - the superblock could not be read or does not describe a correct ext2 filesystem"

Maybe something is wrong with my /boot filesystem?
Unless you have a symlink, there is no such device as /dev/BOOT. You have to actually put a device there. /dev/xxxx is different than /boot. /boot is a directory. /dev/xxxx is a device. You may mount /dev/xxxx on /boot. However they are still different. Try lilo. Maybe you'll understand it better. It doesn't really let you make mistakes.
The sun shall be turned to darkness and the moon into blood...
Top
marakid
n00b
n00b
Posts: 18
Joined: Wed Nov 10, 2004 4:56 pm
Location: Bologna,Italy

  • Quote

Post by marakid » Sat Nov 13, 2004 2:24 am

Corrected the mistake with fsck.ext2: I forgot to delete the sample lines in fstab, so I had those wrong device name (like /dev/BOOT) before the right ones /dev/hdaN.

Now I'm using LILO and my system boots OK!

Thank you.
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Mon Nov 15, 2004 8:48 pm

Followup

After converting my system into dual-boot, I reinstalled grub in the MBR with grub-install and with the grub prompt.

Now, instead of the normal menu, I get a grub prompt.

If I type

Code: Select all

kernel /nitro-2
boot
it works, also for windows.

But I'd like to have a graphical menu again... I tried reformatting my /boot partition, but still no go.

*edit: found http://bugs.gentoo.org/show_bug.cgi?id=39392, but my menu.lst is already symlinked to grub.conf. Using version 0.94

Does anyone have a clue where to start looking?
If you can't dazzle them with brilliance, baffle them with bullshit.
Top
commonloon
Tux's lil' helper
Tux's lil' helper
Posts: 133
Joined: Tue Apr 13, 2004 7:19 pm
Location: Marin, CA

a couple ideas...

  • Quote

Post by commonloon » Tue Nov 16, 2004 4:13 am

as root:

fdisk -l /dev/hda # where hda is your boot drive

mount /boot
ls - l /boot /boot/grub

cat /boot/grub/grub.conf

...make sure everything matches expectations. You might also go into grub and type root then hit tab. Devices available should show... post results and get some more eyes on it.
Calling fly fishing a hobbie is like calling brain surgery a job.
Top
Kill_Kenny
n00b
n00b
User avatar
Posts: 15
Joined: Sun Oct 26, 2003 1:03 am
Location: Hell, Idaho, USA

  • Quote

Post by Kill_Kenny » Tue Nov 16, 2004 6:46 am

I'm having the grub prompt problem too. A few months ago I switched from lilo to grub ver 0.94.x and everything worked flawlessly. I started getting the prompt on boot after grub updated to the testing version 0.95.x. I did the symlink thing for menu.lst and nothing changed. I then swithced back to the stable x86 branch and reinstalled grub 0.94.x (sorry, I don't remember the dot version). After emerging, i did the grub install:

grub>root (hd0,4)
grub>setup (hd0)
grub>quit

No errors were reported but when I reboot, I get grub 0.95 prompt not the 0.94 that is installed. Tried to reinstall grub 4 or 5 times, same thing, it is reverting to the previously installed unstable version.

What's happening here?
All artists are masochists.

"This movie was filmed in 3B, three beers and it looks pretty good, eh?"
Top
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

  • Quote

Post by Phlogiston » Tue Nov 16, 2004 12:53 pm

A friend has the same problem. I found this bug here:

http://bugs.gentoo.org/show_bug.cgi?id=39392

So which version of grub do you use?
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

  • Quote

Post by cokey » Tue Nov 16, 2004 1:16 pm

why not just boot off the live cd, chroot and make sure the grub.conf and fstab is fine? Also with the gentoo install you should have the grub bootmenu with the gentoo logo...
https://otw20.com/ OTW20 The new place for off the wall chat
Top
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

  • Quote

Post by Phlogiston » Tue Nov 16, 2004 1:25 pm

yes but this is/(was) a bug..
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
elpierco
n00b
n00b
User avatar
Posts: 59
Joined: Sun Sep 28, 2003 7:47 am
Location: Lawrence Kansas

Having the same problem

  • Quote

Post by elpierco » Fri Nov 19, 2004 11:07 pm

So I am also having the same problem on my laptop...
anyone resolve this issue?
Top
Phlogiston
Veteran
Veteran
User avatar
Posts: 1925
Joined: Tue Jan 27, 2004 12:05 pm
Location: Europe, Swizerland

  • Quote

Post by Phlogiston » Fri Nov 19, 2004 11:23 pm

Try to use an older version of grub, like 0.92 or something like that.
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Top
elpierco
n00b
n00b
User avatar
Posts: 59
Joined: Sun Sep 28, 2003 7:47 am
Location: Lawrence Kansas

I tried LILO and it worked

  • Quote

Post by elpierco » Sat Nov 20, 2004 12:09 am

So LiLo worked like a charm the first time but then I got that red box with my two options in a blam! contrast white...in other words I miss the colorful screen and smoothness of GRUB...I will try that out. Thanks
Top
Kill_Kenny
n00b
n00b
User avatar
Posts: 15
Joined: Sun Oct 26, 2003 1:03 am
Location: Hell, Idaho, USA

  • Quote

Post by Kill_Kenny » Sun Nov 21, 2004 2:05 am

I tried to revert to an older version but grub 0.95 stayed installed on /boot even after doing grub install to that device.

How do I override the 0.95 version?
All artists are masochists.

"This movie was filmed in 3B, three beers and it looks pretty good, eh?"
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

  • Quote

Post by cokey » Sun Nov 21, 2004 2:28 am

delete it? you may want to format the mbr before emerging the new/old grub as well with fdisk /mbr
https://otw20.com/ OTW20 The new place for off the wall chat
Top
Kill_Kenny
n00b
n00b
User avatar
Posts: 15
Joined: Sun Oct 26, 2003 1:03 am
Location: Hell, Idaho, USA

  • Quote

Post by Kill_Kenny » Sun Nov 21, 2004 2:36 am

I'll try that. I didn't know you could reformat just the MBR.

Thanks
All artists are masochists.

"This movie was filmed in 3B, three beers and it looks pretty good, eh?"
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

  • Quote

Post by cokey » Sun Nov 21, 2004 3:24 am

np, thats what im here for :wink:
https://otw20.com/ OTW20 The new place for off the wall chat
Top
j3rm
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Wed Jun 19, 2002 5:13 am
Location: Tennessee
Contact:
Contact j3rm
Website

um, what was the solution?

  • Quote

Post by j3rm » Wed Dec 01, 2004 9:25 pm

So, am I correct in thinking that the grub-0.95 gui is totally broken without solution? Everything I've read (including the bug report) does not provide any answer whatsoever to the problem (getting a grub> prompt instead of the gui) except to use grub-0.94 instead. All of my settings are correct, and I still get the prompt when I reboot with grub-0.95. Someone clarify this, please!
"We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders")
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Fri Dec 17, 2004 10:49 pm

/kick

still having this problem... Upgrading to 0.94 didn't work, as previously mentioned. Tried reformating the mbr... Nothing works... Tried all suggestions of bug 39392... Anyone? The symlink to menu.lst is there...
If you can't dazzle them with brilliance, baffle them with bullshit.
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Fri Dec 17, 2004 11:03 pm

Out of interest, does the recursive symlink exist in /boot? (boot -> .)

Edit: Let's get the symlink name right...
Last edited by Maedhros on Sun Dec 19, 2004 11:34 am, edited 1 time in total.
No-one's more important than the earthworm.
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

  • Quote

Post by cokey » Sat Dec 18, 2004 12:05 pm

i just reinstalled and found there to be no problem...
https://otw20.com/ OTW20 The new place for off the wall chat
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Sat Dec 18, 2004 10:16 pm

I think I've found the problem here. It seems that the newest version of the grub ebuild doesn't make a symlink from /boot/boot to /boot, but in fact makes a new directory. In order to fix it you have to copy everything from /boot/boot to /boot/grub, then delete the /boot/boot directory and make a symlink from /boot/boot to /boot.

That expains why when you downgrade grub to an older version the problem doesn't disappear, since the ebuild thinks the symlink is present but it is in fact a directory.
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Thu Mar 03, 2005 6:49 pm

Please follow up to http://forums.gentoo.org/viewtopic-t-161569.html

Moved from Installing Gentoo.
No-one's more important than the earthworm.
Top
Post Reply

25 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic