View previous topic :: View next topic |
Author |
Message |
rbanzai n00b
Joined: 28 Jan 2005 Posts: 13
|
Posted: Fri Jan 28, 2005 10:30 pm Post subject: Grub: no menu, but I can boot with the kernel command-FIXED |
|
|
I was going through a thread where someone had a similar problem. Grub started at the command line but if he entered "kernel (hd0,0)/kernel-blahblahblah and then "boot" he could boot up.
In that thread there was an issue of the symbolic link from menu.lst to grub.conf. His did not seem to be present but mine is there.
I've gone through reloading grub into the MBR and checking fstab. I used defaults from the manual but I still have the same problem. No matter what I do I can't get the grub menu to load.
I would love to post output of my grub.conf and fstab but there's no way for me to get that from my gentoo box to the laptop I'm using other than hand typing.
Any suggestions on an obvious place where I've screwed up?
thanks
Last edited by rbanzai on Wed Feb 02, 2005 12:24 am; edited 1 time in total |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Fri Jan 28, 2005 10:34 pm Post subject: |
|
|
Well couple things, can you post your grub.conf file and your setup, also what DO you get when you try to boot? Just a blank screen or a paticular error? _________________ Come and play in my land |
|
Back to top |
|
|
SuperYak Tux's lil' helper
Joined: 06 Jan 2005 Posts: 76 Location: 41''13'38'' N - 96''01'19'' W
|
Posted: Fri Jan 28, 2005 10:39 pm Post subject: |
|
|
post results of this command:
I had a similar problem, and it was because I had a directory under boot called boot, whereas i should have had a symbolic link.
here is how mine looks:
Code: | gentoo root # ls -la /boot
total 6719
drwxr-xr-x 5 root root 648 Jan 28 10:41 .
drwxr-xr-x 20 root root 576 Jan 21 08:28 ..
-rw-r--r-- 1 root root 0 Jan 20 16:16 .keep
lrwxrwxrwx 1 root root 27 Jan 28 10:41 System.map -> System.map-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 1070794 Jan 28 10:41 System.map-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 1090326 Jan 28 10:32 System.map-2.6.10-gentoo-r6.old
lrwxrwxrwx 1 root root 31 Jan 28 10:41 System.map.old -> System.map-2.6.10-gentoo-r6.old
lrwxrwxrwx 1 root root 1 Jan 20 11:28 boot -> .
lrwxrwxrwx 1 root root 23 Jan 28 10:41 config -> config-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 33971 Jan 28 10:41 config-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 33982 Jan 28 10:32 config-2.6.10-gentoo-r6.old
lrwxrwxrwx 1 root root 27 Jan 28 10:41 config.old -> config-2.6.10-gentoo-r6.old
-rw-r--r-- 1 root root 602572 Jan 21 10:21 fbsplash-emergence-1024x768
drwxr-xr-x 2 root root 592 Jan 21 10:25 grub
lrwxrwxrwx 1 root root 24 Jan 28 10:41 vmlinuz -> vmlinuz-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 1982085 Jan 28 10:41 vmlinuz-2.6.10-gentoo-r6
-rw-r--r-- 1 root root 2042767 Jan 28 10:32 vmlinuz-2.6.10-gentoo-r6.old
lrwxrwxrwx 1 root root 28 Jan 28 10:41 vmlinuz.old -> vmlinuz-2.6.10-gentoo-r6.old
|
Notice that boot is a symbolic link to "."
If your problem is due to this then you can:
|
|
Back to top |
|
|
rbanzai n00b
Joined: 28 Jan 2005 Posts: 13
|
Posted: Tue Feb 01, 2005 11:30 pm Post subject: |
|
|
When I boot I get the grub> command line and have to use the kernel command and "boot" to start the system.
Here's the contents of grub.conf
Code: | default 0
timeout 10
#splashimage=(hd0,0)/grub/splash.xpm.gz
title-Gentoo Linux 2.4.28-r5
root (hd0,0)
kernel /kernel-2.4.28-gentoo-r5 root=/dev/hda3
|
here's the output from ls -la /boot
Code: | drwxr-xr-x 4 root root 1024 Jan 28 06:54 .
drwxr-xr-x 20 root root 4096 Jan 28 00:18 ..
-rw-r--r-- 1 root root 0 Jan 28 00:40 .keep
-rw-r--r-- 1 root root 632727 Jan 28 06:54 System.map-2.4-28-gentoo-r5
-rw-r--r-- 1 root root 632727 Jan 28 06:55 System.map-2.4.28-gentoo-r5
lrwxrwxrwx 1 root root 1 Jan 27 19:51 boot -> .
-rw-r--r-- 1 root root 512 Jan 28 00:58 boot.0300
-rw-r--r-- 1 root root 26443 Jan 28 06:55 config-2.4.28-gentoo-r5
drwxr-xr-x 2 root root 1024 Jan 28 06:16 grub
-rw-r--r-- 1 root root 1484465 Jan 28 06:54 kernel-2.4.28-gentoo-r5
drwx------ 2 root root 12288 Jan 27 19:45 lost+found
-rw------- 1 root root 28160 Jan 28 00:58 map
|
Thanks again |
|
Back to top |
|
|
Tahoe_Strider Apprentice
Joined: 06 Jul 2003 Posts: 152 Location: Amador County, Awarded 9th Best Place to live in Rural America
|
Posted: Tue Feb 01, 2005 11:40 pm Post subject: |
|
|
It looks to me as if you've got a dash and not an = after "title"
I don't beleive you'd be able to select that option without the proper syntax. Mine looks like the following"
Code: | default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.24
root (hd0,5)
kernel /kernel-2.4.24 root=/dev/hda7 |
_________________ "It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people's minds." |
|
Back to top |
|
|
rbanzai n00b
Joined: 28 Jan 2005 Posts: 13
|
Posted: Wed Feb 02, 2005 12:24 am Post subject: |
|
|
Tahoe_Strider wrote: | It looks to me as if you've got a dash and not an = after "title" |
Yes, that was it.
Man I must've gone over that thing twenty times and I never noticed the error.
Thank you! |
|
Back to top |
|
|
|