View previous topic :: View next topic |
Author |
Message |
Guyver3 n00b
Joined: 11 Aug 2003 Posts: 22 Location: UK
|
Posted: Tue Aug 12, 2003 8:42 am Post subject: genkernel question?? |
|
|
Hello all has anyone managed to get genkernel to work on there system i have tried with both the x86 and Pentium4 discs and neither will do it the x86 gets to make modules then says :aborting the pentium4 discs get a little further they do the image then something pops up saying mv: couldnt stat System.map no such file but it completes i checked the /boot directory and there they are but if i go through the rest of the install when it comes to rebooting and getting the grub screen as soon as it tries to boot it says about the kernel not found initrd not found or it says something like that it has to be a direct link or bootblock any help on this would be much appreciated as i dont want to give up and go back to windows the system specs are
Pentium 4 2.00ghz
512mb DDR
60gb seagate barracuda
Intel 845g (brookdale) chipset
Intel graphics (onboard)
SB live 5.1
and other usb devices not connected until i can get it going |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Aug 12, 2003 9:22 am Post subject: |
|
|
The "Couldn't stat System.map" is normal -- this warning will disappear when you already have a System.map in /boot I guess.
Is your /boot mounted when you issue "genkernel"?
Did you substitute "KV" with the real kernel version? |
|
Back to top |
|
|
Guyver3 n00b
Joined: 11 Aug 2003 Posts: 22 Location: UK
|
Posted: Tue Aug 12, 2003 9:53 am Post subject: |
|
|
as far as i know yeah it is i can view its contents and if i run the mount command its shows up as for the -KV yeah i did change them to the ones that im using i.e kernel-2.4.20-gentoo-r5 and initrd-2.4.20-gentoo-r5 |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Aug 12, 2003 9:55 am Post subject: |
|
|
With grub, you can use tabcompletion if it complaints. Perhaps you can try that... are your (hdX,Y) settings correct? |
|
Back to top |
|
|
Guyver3 n00b
Joined: 11 Aug 2003 Posts: 22 Location: UK
|
Posted: Tue Aug 12, 2003 10:39 am Post subject: |
|
|
i set it up as per the instructions i.e (hd0,0) and i know this is a bit of a silly question but when u say tab completion u mean u can get grub to find the files like if u type part of the name then hit tab?? |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Aug 12, 2003 11:50 am Post subject: |
|
|
Yup. When you boot your system and receive the grub prompt, you can select your kernel and press "e" to edit it. You'll see two to three lines that you will remember from the grub.conf file. Select the "kernel (hd..." line and press "e" again (again to edit it).
Then you can delete the line and start with "kernel (hd0,0)/" and then press tab. It'll show you all possible options (not necessarily kernelimages).
Note: anything you do at the grub prompt is not permanent: editing a line is only for that session; after rebooting, the line is back to the default state. |
|
Back to top |
|
|
Guyver3 n00b
Joined: 11 Aug 2003 Posts: 22 Location: UK
|
Posted: Tue Aug 12, 2003 12:36 pm Post subject: |
|
|
Thx for all the help i will try that when i get home from work and cross my fingers it works!!! hopefully be back to using a decent os for a change!!!!! lol |
|
Back to top |
|
|
Guyver3 n00b
Joined: 11 Aug 2003 Posts: 22 Location: UK
|
Posted: Wed Aug 13, 2003 9:49 am Post subject: |
|
|
thx for all the help Sven what u suggested did stop grub from the complaints and i edited the grub.conf to suit now it works fine as far as booting it up getting grub then loading the kernel hit another snag but sorted that out it was the onboard intel graphics it didnt like put a old card i had lying around and bingo away it went i cant thankyou enough for the help glad to see some forums like to get involved and help users |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Wed Aug 13, 2003 10:15 am Post subject: |
|
|
np; have fun with Gentoo |
|
Back to top |
|
|
|