Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Common grub install problems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sun Dec 22, 2002 5:51 pm    Post subject: Common grub install problems. Reply with quote

There is alot questions about the grub installation.

So heres a short sumup.

If you dont get any menu, then you probably havent set the correct name of grubs configuration file in /boot/grub/
You should save the grub.conf file in there and make a symlink to menu.lst for backwardscompatiblity.

some versions ago it was called menu.lst now its called grub.conf, just save the file as grub.conf and make a symlink like this
#ln -s /boot/grub/grub.lst /boor/grub/menu.lst

a typical grub.conf looks like this, (mine)
Code:

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

title=Linux 2.4.18
root (hd0,0)
kernel /boot/bzImage18 root=/dev/hda2 hdc=ide-scsi vga=793

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImageg root=/dev/hda2 hdc=ide-scsi vga=793

title=Vanilla Linux Testing
root (hd0,0)
kernel /boot/bzImage5 root=/dev/hda2 hdc=ide-scsi vga=793


i have /boot on /dev/hda1 and / (root fs) on /dev/hda2
which is why i have hd(0,0) (that is /dev/hda1, where boot is and where it will find the kernel image) i pass the root=/dev/hda2 option to the kernel, becuse that where my / is, and where it shall find init.
(the other options is for my cdburner and frambuffer)

when setting grub up, make sure you do the correct root(hd0,0) and setup(hd0)
if you have /boot on say /dev/hda2 then do root(hd0,1)
if you want it to be written on the first boot sector of some partition do setup(hd0,3) which will install it on /dev/hda2,
now if you have gentoo installed on hdb then use root(hd1,0) and so on.

another usual error ppl get is the stage1 and other files missing when running grub to install it, this is mostly becuse
you forgot to mount /boot when it is mounted and if there are no files there then reemerge grub.

I know i dont have the authority to post this sumup, but im hoping it will help somebody. and ppl can refer to this thred
in future, if i have left something out, please fill in.

check these thrads too:
https://forums.gentoo.org/viewtopic.php?t=15578
https://forums.gentoo.org/viewtopic.php?t=27226
_________________
NoManNoProblem

Get lost before you get shot.


Last edited by really on Thu Dec 26, 2002 3:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 323
Location: Australia

PostPosted: Sun Dec 22, 2002 8:58 pm    Post subject: Re: Common grub install problems. Reply with quote

antoe wrote:

some versions ago it was called menu.lst now its called grub.conf, just save the file as grub.lst and make a symlink like this#ls -s /boot/grub/grub.lst /boor/grub/menu.lst


Shouldn't that read grub.conf?
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Mon Dec 23, 2002 11:39 am    Post subject: Re: Common grub install problems. Reply with quote

BillyD wrote:
antoe wrote:

some versions ago it was called menu.lst now its called grub.conf, just save the file as grub.lst and make a symlink like this#ls -s /boot/grub/grub.lst /boor/grub/menu.lst


Shouldn't that read grub.conf?
au! yes. yes it should :D
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
omega
n00b
n00b


Joined: 07 Jul 2002
Posts: 3

PostPosted: Thu Dec 26, 2002 5:04 am    Post subject: Reply with quote

I think you might need:

#ln -s /boot/grub...[/b]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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