View previous topic :: View next topic |
Author |
Message |
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Tue Sep 12, 2006 1:02 pm Post subject: panic after recompilation of the kernel |
|
|
Hello all gentoo´ser.
i got a problem at two ways.
After i recompiled the kernel with i get an Code: | can´t mount /dev/hda3 at /newroot | . So i started again with the livecd and typed Code: | find / -type f -exec grep newroot {} \; -print > file | to find all the stuff that contained that string. The system gaves me the linuxrc file in /usr/share/genkernel/generic/, but after one time i find that it was never found. I dont saved this file and i dont find it.
So i recompiled the kernel with make. But after that i get an kernelpanic Code: | can´t find something at block(3,3)
its nice if you can help me and if not.
regards gentux |
|
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Tue Sep 12, 2006 1:54 pm Post subject: |
|
|
You should try to configure and compile the kernel manually. |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Tue Sep 12, 2006 1:55 pm Post subject: |
|
|
Make the kernel by hand as instructed in the manual:
1. cd /usr/src/linux
2. make menuconfig
3. configure your kernel. Make SURE you get everything you need. If you aren't sure, press H for help. also, emerge pciutils because lspci is your friend.
4. make
5. emerge module-rebuild && module-rebuild rebuild
6. make modules_install install
7. edit /boot/grub/grub.conf. It should look similar to this:
example grub.conf, with vesafb-tng, asuming /boot is hda1 and / is hda3: |
default 0
hiddenmenu
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /vmlinuz root=/dev/hda3 vesafb:mtrr:3,ywrap,1280x1024-32@85
|
8. reboot and enjoy your kernel |
|
Back to top |
|
|
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Tue Sep 12, 2006 2:13 pm Post subject: |
|
|
thx,
after years of reading i got the information that devicedrivers for PCI is not good as module.
what do i with emerge module-rebuild && module-rebuild rebuild. is it faster as the way to recompile all again.
yes my grub.conf is the same until vesafb...
wath is with genkernel an the information that mount will mount /dev/hda3 at /newroot?
many many thx and maximus successus |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Tue Sep 12, 2006 10:25 pm Post subject: |
|
|
module-rebuild is a tool that automatically re-emerges packages that install kernel modules. It's pretty awesome. |
|
Back to top |
|
|
|