Results 1 to 10 of 14
I have been trying to build linux from source code and run it from my machine (intel platform). Here's what I did:
Code:
$make defconfig
$make
$make modules
#make modules_install
...
- 06-09-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 12
Problem running newly compiled kernel (2.6.39)...
I have been trying to build linux from source code and run it from my machine (intel platform). Here's what I did:
I am using Grub2. When I rebooted the new kernel was in the grub list all right. But booting from that kernel fails with no errors or warning. The screen just goes blank. The disk usage indicator LED also doesn't glow which I guess means that the kernel isn't being read from the disk. I rebooted using my older kernel and it booted properly. Then, when I listed my /boot directory, I noticed that there was no initrd.img for 2.6.39. kernel in there, which I think is the problem. Any suggestions?Code:$make defconfig $make $make modules #make modules_install #make install #update-grub
- 06-09-2011 #2Just Joined!
- Join Date
- Apr 2011
- Posts
- 12
I tried to make the init ramdisk manually:
#update-initramfs -c -k 2.6.39
#update grub
On rebooting, the same problem occured. So I tried booting in recovery mode. I worked. Although, the shell prompt is strange
Also, the directory structure is weird and there is no /boot or /home and a /root directory is present. vi editor is not present. Is this normal for manually compiled kernels? And why is it booting only in recovery mode? I am new to this so kindly help.Code:(initramfs)
- 06-09-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
What was your previous kernel before you tried to build/install 2.6.39? And is this 32-bit or 64-bit? I also assume (possibly incorrectly) that you are running an Intel processor?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-10-2011 #4Linux Newbie
- Join Date
- Dec 2010
- Posts
- 146
I fail to understand how did you start the new kernel when you did not copy it to /boot.
- 06-10-2011 #5Just Joined!
- Join Date
- May 2011
- Location
- NJ
- Posts
- 45
- 06-10-2011 #6
- 06-10-2011 #7
- 06-10-2011 #8Just Joined!
- Join Date
- Apr 2011
- Posts
- 12
2.6.35-22. intel 32-bit
- 06-10-2011 #9Linux Newbie
- Join Date
- Dec 2010
- Posts
- 146
- 06-10-2011 #10Just Joined!
- Join Date
- Apr 2011
- Posts
- 12


Reply With Quote
