Results 31 to 40 of 40
The only thing I get is
boot
grub
lost+found
Nothing more, nothing less....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-19-2008 #31Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
The only thing I get is
boot
grub
lost+found
Nothing more, nothing less.
- 09-19-2008 #32
- 09-19-2008 #33Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
Nothing.... What could I have done wrong that my kernel is not showing up??
I did emerge gentoo-sources and I configured the kernel, did the make module_install command... and I typed in make -j then I did arch/x86/whatever was next.......
How do I fix this?
- 09-19-2008 #34Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
If I CHROOT into the system and type in ls -l /usr/src/linux, I get this:
lrwxrwxrwx 1 root root 22 sep 16 21:32 /usr/src/linux -> Linux-2.6.25-gentoo-r7
Does that mean the kernel was not installed in the right place?
- 09-19-2008 #35Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
cp arch/i386/boot/bzImage /boot/kernel-2.6.24-gentoo-r5
I remember that I only typed /boot/kernel not /boot/kernel-2.6.25-gentoo-r7.... is that it?
- 09-19-2008 #36
No thats to do with compiling the kernel rather than where you have the kernel located. While you have chrooted then check if /usr/src/linux/arch/i386/boot/bzImage exists (assuming i386 install) or similar from handbook for the system you have installed. If it does then copy it to /boot ... if it does not then you need to create the kernel again. If you had typed /boot/kernel rather than /boot/kernel-2.6.24-gentoo-r5 then you would just have a kernel image kernel in the /boot folder
- 09-19-2008 #37Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
I reconfigured the kernel, or reinstalled it. This time I typed in cp arch/x86/boot/bzImage /boot/kernel-2.6.25-gentoo-r7.....
Rebooted and, IT WORKS!
I guess that was it. Now I need to get xfce working.
- 09-19-2008 #38
Glad you have things working ... kernel name was not the issue otherwise it would have been listed in /boot information you posted
- 09-20-2008 #39Just Joined!
- Join Date
- Sep 2008
- Posts
- 38
Now that I got it working... There are a couple problems.
1. is that I cannot get internet working. Unfortunately, I am currently emerging xfce4 from the installation CD (CHROOTED into the system). This is slower but the only way I can install xfce right now it seems. The problem is that our network requires nameservers, for some odd reason. It is a good cable connection but it will not do actual urls without the name server 24.247.24.53. I also use 24.247.25.53 as well. I can ping IP addresses, and that works fine, but now actual urls.
I have edited the network files to include the nameserver, I have read up on it... still nothing. It says that it cannot find host Google when I try to ping google.
Second minor problem is that it always boots to the grub comand line. If I want it to boot into my system I type:
kernel (hd0,0)/boot/kernel02.6.25-gentoo-r7 root=/dev/hda3
then:
boot (hd0,0)
That works.
How can I set it to automatically boot gentoo?
- 09-20-2008 #40Just Joined!
- Join Date
- Dec 2006
- Posts
- 26
*edit*
about your nameserver... nameservers go into /etc/resolv.conf
I pointed mine to my gateway
If you have already setup /etc/init.d/net.eth0, I would do...Code:nameserver 192.168.1.254 nameserver *removed due to security reasons*
and if domain resolution works again, I would emerge dhcpcd *as soon as possible*Code:/etc/init.d/net.eth0 restart
*/edit*
If I recall correctly...
mount your boot partition (hda1?) to /boot/
(mount /dev/hda1 /boot)
Make a grub.conf in /boot/grub, my grub.conf looks like this.
Where kernel is the path to your current kernel. (the one you pulled out ofCode:timeout 5 default 0 static rescue shell title Gentoo Linux root (hd0,0) kernel /boot/kernel root=/dev/hda3
/usr/src/<kernel you compiled>/arch/<arch type>/boot/bzImage
Once you do this, set your grub up
recap on what I did to install kernel (obviously you have a kernel installed, but this is just in case you need it, and an explanation of what it does.)Code:# grub grub> root (hd0,0) grub> setup (hd0) grub> quit
This is basically how to re-compile and install your kernel on gentoo.Code:mount /dev/hda1 /boot cd /usr/src/linux-2.6.25-gentoo-r7 make menuconfig ... added UDF (for dvd), alsa (for audio), and video stuff (for 3d acceleration) ... make && make modules_install mv /boot/kernel /boot/kernel.old cp ./arch/x86/boot/bzImage /boot/kernel
Mount boot partition into /boot/
Move to kernel source code tree.
make menuconfig <- start configuration manager
added needed items
make && make modules_install <-- compiled
Renamed current kernel to kernel.old (backed it up)
copied newly compiled kernel (bzImage) to /boot/ and named it kernel.


Reply With Quote

