Results 1 to 7 of 7
Hi everyone. I am now reporting from Knoppix, with Gentoo all configured.
Anyway, after doing all of the configuration, I rebooted and was unable to do much of anything. I ...
- 04-28-2005 #1
GRUB Issue (Given Prompt, Dunno What To Do)
Hi everyone. I am now reporting from Knoppix, with Gentoo all configured.
Anyway, after doing all of the configuration, I rebooted and was unable to do much of anything. I ended up in a prompt that was:
grub>
And I could enter options like "boot" (which told me I had to load a kernel first), "kernel" (which told me I need a definite path, but nothing is mounted), and such things.
I tried the options, using both definite paths and GRUB paths.
My mount points are:
/dev/hdb2 [hd(1,1)] = /boot
/dev/hdb4 [hd(1,3)] = /
My grub.conf is as follows:
Ahhhh!!!Code:# Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 10 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed splashimage=(hd1,1)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r3 # Partition where the kernel image (or operating system) is located root (hd1,3) kernel /kernel-2.6.11-gentoo-r3 root=/dev/hdb4 # The next four lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/hda1. title=Windows XP rootnoverify (hd0,0) makeactive chainloader +1
Fortunately, I am running in Knoppix, which is definitely the greatest Gentoo-boot option ever. Thanks to you all for helping me with the boot, and if you can fix this, I'll love you all forever!DISTRO=Arch
Registered Linux User #388732
- 04-28-2005 #2
To avoid confusion, I have deleted my last post.
Now then, my grub.conf currently looks like this:
There have been a few changes made:Code:# Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 10 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed splashimage=(hd1,1)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r3 # Partition where the kernel image (or operating system) is located root (hd1,1) kernel /boot/kernel-2.6.11-gentoo-r3 root=/dev/hdb4 # The next four lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/hda1. title=Windows XP rootnoverify (hd0,0) makeactive chainloader +1
"root (hd1,3)" to "root (hd1,1)"
"kernel /kernel-2.6.11-gentoo-r3" to "kernel /boot/kernel-2.6.11-gentoo-r3"
I am still getting this crazy prompt.
Does anyone know what to do? Thanks in advance.
EDIT:
Also, if it matters, I have GRUB installed on /dev/hdb, as my Linux partition is here. Should this be hda?DISTRO=Arch
Registered Linux User #388732
- 04-28-2005 #3
Try this at the grub>
The result should be (hd1,1)Code:find /grub/stage1
Then typeThen typeCode:root (hd1,1)
and hit TABCode:kernel (hd1,3)/kernel/
That should bring up a list of stuff, look for the name of your kernel in there.
Put it after kernel.
Now you can type boot and ENTER
I took this info from Nerderello's Grub tutorial.
Hope this helps.
P.S. You didn't use genkernel did you?How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 04-28-2005 #4Just Joined!
- Join Date
- Apr 2005
- Location
- UK
- Posts
- 25
When I had a phase with gentoo (I found Portage to be very Intriguing, so I had a go with it), I found LILO to work best, it's better if you want to use a framebuffer aswell.
Code:emerge lilo nano -w /etc/lilo.conf /sbin/lilo
- 04-28-2005 #5
No, I didn't use genkernel.
And I managed to fix some things. I can now boot into Gentoo from GRUB, but I have to type in all the commands by hand. I have to type:
root (hd1,3)
kernel /boot/kernel-2.6.11-gentoo-rc3
boot
So my new question is getting the graphical menu...
I have the menu.lst symlinked to my grub.conf. My new grub.conf is:
How do I get the graphical bootloader?Code:# Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 10 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed splashimage=(hd1,1)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r3 # Partition where the kernel image (or operating system) is located #root (hd1,1) #kernel /kernel-2.6.11-gentoo-r3 root=/dev/hdb4 kernel (hd1,3)/boot/kernel-2.6.11-gentoo-r3 root=/dev/hdb4 # The next four lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/hda1. title=Windows XP rootnoverify (hd0,0) makeactive chainloader +1
EDIT:
And tuvok, I've used LILO before in Mandrake. Personally, I find GRUB's config file easier to understand, and I prefer its appearance. If necessary, I will switch to LILO, though.DISTRO=Arch
Registered Linux User #388732
- 04-28-2005 #6Linux Engineer
- Join Date
- Mar 2005
- Location
- Where my hat is
- Posts
- 765
You may want to try this. I ran into the same problem, and for some reason, this worked.
In menu.lst, look for:
and change to:Code:color white/blue black/light-gray default 0 timeout 20 gfxmenu (hd1,1)/boot/message
Code:gfxmenu (hd1,1)/boot/message color white/blue black/light-gray default 0 timeout 20
Registered Linux user #384279
Vector Linux SOHO 6 / Vector Linux 7 RC 3.4
- 04-28-2005 #7Just Joined!
- Join Date
- Apr 2005
- Location
- UK
- Posts
- 25
I had similar issues with GRUB, so I gave up and went back to my LILO
Originally Posted by Cabhan
.
Here's some of my *Linux LILO config modified for your needs.
image=/boot/kernel-2.6.11-gentoo-rc3
label="gentoo"
#Correct this if it's wrong.
root=/dev/hdb3
#You don't really need this, but it looks alot better with a framebuffer.
#Change Resolution, to your monitor's.
append="video=vesafb:mtrr,ywrap,1024x768-32@85"
read-only


Reply With Quote
