Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
**solved thank you!** new user GRUB issue - 2004.2
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
applemac
n00b
n00b


Joined: 06 Sep 2004
Posts: 14
Location: Worcester, UK

PostPosted: Mon Sep 06, 2004 9:10 pm    Post subject: **solved thank you!** new user GRUB issue - 2004.2 Reply with quote

Hi, to get one thing out i am really new to linux and can just manage to get around the command line.
I have just installed Gentoo 2004.2 that was featured on this month Linux Format.
Installed stage1 (as thats all that came with the dvd) on a dual P3 650mhz machine running the 'smp' option from the live cd. With the acception of using the 2.6.7 kernel and the gentoo-dev-sources i have followed the the install guide in the handbook, with 1 execption section 7 i used this instead of the code listing 12/13?

make && make modules install && make install

My problem is i have gone through the install (all 8 hours of it) and got to the first reboot. Once the PC was starting up again i turned it off, as i needed sleep :P.
Went to turn it on to carry on this morning and i get GRUB, select the correct install screen breifly goes black then i get grub again? I know i have done something wrong and i am hopeing this is solveable without restarting.
I went to the GRUB console to try to boot it that way but i get the following error:
"error 8: kernel must be loaded before booting"
How do i accomplish this?
My grub.conf is as follows:

# which listing to boot as default. 0 is first 1 is second etc
default 0
# how many secs to wait b4 booting
timeout 30
# nice fat spash screen
# comment out if dont have gfx card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=gentoo linux 2.6.7-r11
# part where kernal image is
root (hd0,0)
kernal /kernal-2.6.7-gentoo-r11 root=/dev/hda3 vga=792

I shortcuted the commented lines as it was late :P

When i try to run the kernel line at GRUBs command prompt it errors and says file not found.

sorry for the long post but i dont fancy another 8 hour install as my other half will kill me.

Thanks in advance

Andy


Last edited by applemac on Tue Sep 07, 2004 11:47 am; edited 1 time in total
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Mon Sep 06, 2004 9:31 pm    Post subject: Reply with quote

Quote:
title=gentoo linux 2.6.7-r11
# part where kernal image is
root (hd0,0)
kernal /kernal-2.6.7-gentoo-r11 root=/dev/hda3 vga=792


I'm guessing that this is a typo in the post.. and not actual grub.conf typo??
kernal instead of kernel?

I would pop the LiveCD in and.. chroot back into the system and check the file name value for your kernel. I'm surprised you didn't use the bzImage-kernelversion scheme.

Here is the procedure:

1. Reboot with LiveCD.. i'd stick with the smp kernel

2. mount partitions
Code:
mount /dev/hda3 /mnt/gentoo/
mount /dev/hda1 /mnt/gentoo/boot

etc etc

3. get in there
Code:
cd /mnt/gentoo/
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile


4. check your kernel name
Code:
ls -al /boot


5. is it what you have stated in grub.conf?.. if not edit grub.conf
Code:
nano -w /boot/grub/grub.conf


6. reboot

Hope this helps
hanji
Back to top
View user's profile Send private message
applemac
n00b
n00b


Joined: 06 Sep 2004
Posts: 14
Location: Worcester, UK

PostPosted: Tue Sep 07, 2004 7:55 am    Post subject: Reply with quote

hanj wrote:
Quote:
title=gentoo linux 2.6.7-r11
# part where kernal image is
root (hd0,0)
kernal /kernal-2.6.7-gentoo-r11 root=/dev/hda3 vga=792


I'm guessing that this is a typo in the post.. and not actual grub.conf typo??
kernal instead of kernel?


Yeah thanks for that looks like that is going to be the problem, damn dyslexia. I will give it a go at lunch time when i go home for lunch cheers.

One thing looking in /boot i dont have a file called kernel-2.6.7-gentoo-r11 but i do have one called vmlinuz-2.6.7-gentoo-r11 shall i change the kernel line to use this?
Back to top
View user's profile Send private message
alexynr
n00b
n00b


Joined: 23 Mar 2004
Posts: 45

PostPosted: Tue Sep 07, 2004 11:36 am    Post subject: Reply with quote

Yes....change the line to the vmlinuz one
Back to top
View user's profile Send private message
applemac
n00b
n00b


Joined: 06 Sep 2004
Posts: 14
Location: Worcester, UK

PostPosted: Tue Sep 07, 2004 11:46 am    Post subject: Reply with quote

Thank You! Hanj and alexynr changed the line and it now boots, it's currently installing X.org x server.
Now it's booting it wont auto start the network, but that is an issue for another time and another thread.

Once again thanks.
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Sep 07, 2004 1:57 pm    Post subject: Reply with quote

Great to hear applemac! Good luck on the rest.

hanji
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