Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB doesnt' start with menu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mauog
n00b
n00b


Joined: 04 Mar 2005
Posts: 5

PostPosted: Tue Mar 08, 2005 11:16 am    Post subject: GRUB doesnt' start with menu Reply with quote

Hi all,
I installed gentoo with grub but grub starts with grub shell prompt and not with menu.
If I tells grub configfile (hd0,0)/grub/grub.conf grub is able to read config file and it shows me menu.
In /boot/grub there is the link
lrwxrwxrwx 1 root root 9 Mar 3 12:13 menu.lst -> grub.conf

Do you know why grub refuses to start displaying me menu?

Thank you
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2249
Location: Paris - France

PostPosted: Tue Mar 08, 2005 11:18 am    Post subject: Reply with quote

HI! :)
Could you please post your /boot/grub/grub.conf?
thx :wink:
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Tue Mar 08, 2005 11:20 am    Post subject: Reply with quote

Tien??? toi ici????

could you also post the outputs for fdisk -l and confirm that /boot was mounted when you setted grub up and tell us what command do you used to do this?

ps : and just to be sure, add the output for
Code:

ls -l boot
ls -l boot/grub
Back to top
View user's profile Send private message
mauog
n00b
n00b


Joined: 04 Mar 2005
Posts: 5

PostPosted: Tue Mar 08, 2005 11:24 am    Post subject: Reply with quote

This is my grub.conf
************************************************

default 0
timeout 30
spalshimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/hda3 vga=0x314 video=neofb:mtrr,ywrap
Back to top
View user's profile Send private message
mauog
n00b
n00b


Joined: 04 Mar 2005
Posts: 5

PostPosted: Tue Mar 08, 2005 11:28 am    Post subject: Reply with quote

aries root # ls -l /boot
total 2055
-rw-r--r-- 1 root root 661110 Mar 7 15:19 System.map-2.4.26-gentoo-r9
drwxr-xr-x 3 root root 1024 Mar 3 15:57 boot
-rw-r--r-- 1 root root 22876 Mar 7 15:20 config-2.4.26-gentoo-r9
drwxr-xr-x 2 root root 1024 Mar 3 15:55 grub
-rw-r--r-- 1 root root 1391675 Mar 7 15:19 kernel-2.4.26-gentoo-r9
drwx------ 2 root root 12288 Mar 2 15:15 lost+found
aries root # ls -l /boot/grub
total 979
-rw-r--r-- 1 root root 30 Mar 3 12:18 device.map
-rw-r--r-- 1 root root 11264 Mar 3 15:55 e2fs_stage1_5
-rw-r--r-- 1 root root 10256 Mar 3 15:55 fat_stage1_5
-rw-r--r-- 1 root root 9216 Mar 3 15:55 ffs_stage1_5
-rw-r--r-- 1 root root 182 Mar 7 12:18 grub.conf
-rw-r--r-- 1 root root 1495 Mar 3 15:55 grub.conf.sample
-rw-r--r-- 1 root root 11456 Mar 3 15:55 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Mar 3 12:13 menu.lst -> grub.conf
-rw-r--r-- 1 root root 9600 Mar 3 15:55 minix_stage1_5
-rwxr-xr-x 1 root root 196836 Mar 3 15:55 nbgrub
-rwxr-xr-x 1 root root 197860 Mar 3 15:55 pxegrub
-rw-r--r-- 1 root root 12864 Mar 3 15:55 reiserfs_stage1_5
-rw-r--r-- 1 root root 33856 Mar 3 15:55 splash.xpm.gz
-rw-r--r-- 1 root root 512 Mar 3 15:55 stage1
-rw-r--r-- 1 root root 135148 Mar 3 15:55 stage2
-rwxr-xr-x 1 root root 196900 Mar 3 15:55 stage2.netboot
-rw-r--r-- 1 root root 135148 Mar 3 20:26 stage2.old
-rw-r--r-- 1 root root 8896 Mar 3 15:55 vstafs_stage1_5
-rw-r--r-- 1 root root 12840 Mar 3 15:55 xfs_stage1_5


fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 6007 MB, 6007357440 bytes
15 heads, 63 sectors/track, 12416 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 67 31626 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 68 597 250425 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part3 598 12416 5584477+ 83 Linux
Back to top
View user's profile Send private message
mauog
n00b
n00b


Joined: 04 Mar 2005
Posts: 5

PostPosted: Tue Mar 08, 2005 11:29 am    Post subject: Reply with quote

grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 22 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+22 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2249
Location: Paris - France

PostPosted: Tue Mar 08, 2005 11:30 am    Post subject: Reply with quote

Enlight wrote:
Tien??? toi ici????

:P lol ça m'arrive

And ultimately try to change this:
kernel /kernel-2.4.26-gentoo-r9 root=/dev/hda3 vga=0x314 video=neofb:mtrr,ywrap

to this:
kernel (hd0,0)/kernel-2.4.26-gentoo-r9 root=/dev/hda3 vga=0x314 video=neofb:mtrr,ywrap
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue Mar 08, 2005 11:51 am    Post subject: Reply with quote

Please, use the Grub Error Collection thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum