Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't find my grub.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 5:20 am    Post subject: can't find my grub.conf Reply with quote

:? can't find my grub.conf
i have finished installing my gentoo :D
i installed bootsplash and ran rc-update
and i also copied the given initrd to /boot/grub
and i edited the grub initrd /initrd-2.4.26-gentoo-1024*768
but it is not booting that i have edit it everytime time i try to logon
when i tries editing grub.conf
there is no /boot/grub/grub.conf
there is not even /boot/grub directory exists
how can i fix it ?
i also want run bootsplash
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Sep 23, 2004 5:21 am    Post subject: Reply with quote

Is /boot mounted? Also, I remember that I had to manually make a /boot/grub/grub.conf a symlink to /boot/grub/menu.lst before it would work.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 5:41 am    Post subject: Reply with quote

mmmm'
i guess
if it is not mounted i will make it
but
what else can go wrong

GENTOO FORUM ROCKS :?:
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 23, 2004 7:27 am    Post subject: Reply with quote

A wrong path while installing grub. Do you have a boot partition?

Post your /etc/fstab

run

Code:

$ find / -iname grub


where is grub?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 5:20 pm    Post subject: Reply with quote

here is my fstab


<fs> mountpoint <type> <opts>
/de/hda1 /boot ext2 noauto,noatime
/dev/hda2 none swap sw
/dev/hda3 / ext3 noautime
/dev/cdrom /mnt/cdrom auto noauto
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 23, 2004 5:33 pm    Post subject: Reply with quote

and where is your grub config directory
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 5:43 pm    Post subject: Reply with quote

i have this when i run find / -iname grub
/usr/lib/grub
/usr/lib/grub/grub
/usr/portage/sys-boot/grub
and after mounting my /dev/hda1 on /boot
and running find / iname grub gives this one too
/boot/grub
but when i reboot i need to mount it again
and inorder to boot i have edit my grub commands
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 23, 2004 6:02 pm    Post subject: Reply with quote

Ok, you have your boot partition and boot config files in hda1. Which partition is the root Partition? hda3?

Well, do this:
Code:

$ mount /dev/hda1 /boot
$ cd /boot
$ mkdir boot
$ mv grub boot
$ cd /boot/boot/grub
$ touch menu.lst
$ ln -s menu.lst grub.conf
$ vim grub.conf (or nano -w or the test editor your like)


and the insert

Code:

timeout 10
default 0

title Gentoo
root (hd0,0)
kernel (hd0,0)/pathto_your_kernel_image root=/dev/hda3


I suppose that your kernel image is in /dev/hda1.

Save grub.conf and
Code:

$ grub
GNU GRUB  version 0.94  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

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


reboot and enjoy :)
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 6:14 pm    Post subject: Reply with quote

thanks
but i have a configured grub
but my problem is with mounting my /boot partiotion permenently
yes i have my root partition on /dev/hda3
how can i mount my /boot partion pemanent
#ls /boot/grub
it gives
e2fs-stage1-5 jfs_stage1-5 reiserfs-stage1-5 vsfats_stage1_5

and a lot moe files that usually resides in there
with splash.xpm.gz
could i run a splash screen too?
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 23, 2004 6:39 pm    Post subject: Reply with quote

googoo wrote:
thanks
but i have a configured grub
but my problem is with mounting my /boot partiotion permenently
yes i have my root partition on /dev/hda3
how can i mount my /boot partion pemanent
#ls /boot/grub
it gives
e2fs-stage1-5 jfs_stage1-5 reiserfs-stage1-5 vsfats_stage1_5

and a lot moe files that usually resides in there
with splash.xpm.gz
could i run a splash screen too?


i don't understand your question about mounting the boot partition. Do you the system to mount the boot partition by itself? Then see your /etc/fstab, you have namly:

/de/hda1 /boot ext2 noauto,noatime

noauto must go away. Chnage your /etc/fstab to

/de/hda1 /boot ext2 noatime

splashscreen for grub? Use (in grub.conf)

Code:

splashimage=(hd0,0)/boot/grub/splash.xpm.gz


change the partition number and path so it fits with your system
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Thu Sep 23, 2004 6:57 pm    Post subject: Reply with quote

i had edited everhthing like u said and i edited it
in the way they said in the bootsplash doc too
now it takes such a long time to load grub
and after bootin it gives me a funny screen with horizontal dotted lines
and if i press enter to boot it gives me this message

booting command-list
root (hd0,0)
file system type is ext2fs , partition type (not clear*)
kernel /kernel-2.4.26-gentoo-r6 root=dev/hda3 vga=791 video=vesa 1024*768
error ID file not found
press any key to continue
still i am having a black & white mode dirupted display
please help me fix this
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 23, 2004 7:05 pm    Post subject: Reply with quote

Perhaps this could help: https://forums.gentoo.org/viewtopic.php?t=49036
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Fri Sep 24, 2004 1:03 am    Post subject: Reply with quote

there appears to be a spelling error the various references to fstab

its /dev/hda1 but yours says /de/hda1
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Fri Sep 24, 2004 2:37 pm    Post subject: Reply with quote

ASIO_BOB wrote:
there appears to be a spelling error the various references to fstab

its /dev/hda1 but yours says /de/hda1


it was just a typing error made while posting
not in my fstab
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Fri Sep 24, 2004 2:44 pm    Post subject: Reply with quote

i reinstalled gentoo and recompiled my kernel
and added bootsplash too
but now my problem is my computer bootstraps
it is not showing my grub menu
and after the time out specified ie 50
it is booting mr to gentoo
first it shows some disrupted display
and after that it boots with splash mode
and after a while Iam getting a kernel panic message
can anyone help me !!??
thanks in advance
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Fri Sep 24, 2004 6:59 pm    Post subject: Reply with quote

which kernel panic message? Have you built the filesystem of the root partition in the kernel?

I would make the thing with the bootsplash and so at the very end, when everythin runs.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
googoo
n00b
n00b


Joined: 22 Sep 2004
Posts: 25
Location: nomansland

PostPosted: Fri Sep 24, 2004 7:41 pm    Post subject: Reply with quote

thanks pablo i got it fixed
this was the message i was getting
Kernel panic: VFS: Unable to mount root fs on hda3
Ii been 2.4 kernel
and yesterday only i compiled a 2.6 one
it was the problem with 2.6 kernel
then i changed my boot option in my grub.conf
from root=/dev/hda3 to 0303
here is my grub.conf

default=0
timeout=30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=googoonix
root=(hd0,0)
kernel=(hd0,0)/boot/bzImage root=0303 init=linuxrc ramdisk=8192 real_root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x317
initrd=/boot/initrd-gentoo-1024x768


is there any suggestions u can give
thank you
_________________
y can't we call mouse a rat
Back to top
View user's profile Send private message
jwb
n00b
n00b


Joined: 27 Aug 2004
Posts: 4
Location: LA, California

PostPosted: Thu Sep 30, 2004 7:55 am    Post subject: missing grub.conf file is usually invisible after install. Reply with quote

Your initial problem (missing grub.conf file) is an aspect of the system:
Changing GRUB Bootup Menu:
You will not be allowed to access the grub.conf file
if you boot from the disk it is on.
So boot from your installation CD
(a Linux boot floppy should also work),

... boot: *as you did at first*
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# nano -w /mnt/gentoo/boot/grub/grub.conf
edit to taste, then
# reboot
(Remember to remove boot media)
Obviously, "hda1" & "hda3" should be replaced with
the appropriate labels for your "boot" and "/" partitions.
This will work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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