Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to configure the Kernel in Gentoo without boot partition

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-05-2011
Member
 
Join Date: May 2011
Posts: 55
How to configure the Kernel in Gentoo without boot partition
  

I recently purchased a laptop. The OS installed in that laptop is gentoo. I normally use laptop for chatting, gaming, downloading movies and internet surfing. In my laptop I don't have the boot partition. I follow the handbook from the gentoo website. I wanted to configure the kernal but I don’t know how to do that. I tried a lot but failed to configure the kernal. Is anyone aware about such issues? If yes then please do the needful.

Reply With Quote
  #2  
Old 29-05-2011
Member
 
Join Date: Nov 2009
Posts: 1,416
Re: How to configure the Kernel in Gentoo without boot partition

The issue that you have posted is not complicated. You can easily configure the kernel without any boot partition. To configure the kernel you need to execute the following commands:
Quote:
# emerge genkernel
# zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config
# genkernel all
After you execute the following commands you will be able to configure the kernel.
Reply With Quote
  #3  
Old 29-05-2011
Member
 
Join Date: May 2011
Posts: 55
Re: How to configure the Kernel in Gentoo without boot partition

I am very grateful to you for all the suggestions that you gave me to overcome the issue. To configure the kernel I executed all the commands that were specified by you but it didn’t work out. After I executed those commands I encountered an error displaying the message” * ERROR: Failed to compile the "bzImage" target”. I don’ know how to solve this error. I tried a lot but nothing worked out. Are you aware about this issue? If yes then please help me out.
Reply With Quote
  #4  
Old 29-05-2011
Member
 
Join Date: Nov 2009
Posts: 1,269
Re: How to configure the Kernel in Gentoo without boot partition

After I read your post I came to know about your issue. If you are having genkernel 3.4.11 then it has an error in it. The error is that it automatically copies the config prior to running clean or mrpoper. It also deletes the .config and creates a new config. The command:
Quote:
“echo '=sys-kernel/genkernel-3.4.11 >> /etc/portage/package.mask “
is used to mask 3.4.11 and run with 3.4.10.908. Never overwrite genkernel configs because it will be removed whenever you emerge genkernel. I personally execute the following commands: “kernel-config=/etc/kernels/kernel-config-$(uname -m)-$(uname -r)” and I don’t think uname-m works fine for x86 users. These are my suggestions related to your issue.
Reply With Quote
  #5  
Old 29-05-2011
Member
 
Join Date: Nov 2009
Posts: 1,035
Re: How to configure the Kernel in Gentoo without boot partition

The issue seems to be quite complicated. But I will surely help you out to overcome the issue. There are some other commands using which you can overcome the issue. The commands that you need to execute are as follows:
1. Initially use the command: “echo '=sys-kernel/genkernel-3.4.11 >> /etc/portage/package.mask” or “nano -w /etc/portage/package.mask”
2. After that the second command you need to execute is: “=sys-kernel/genkernel-3.4.11”
3. Finally use the command: “emerge genkernel”. After executing all the commands you will be able to configure the kernel as per your requirement.
Reply With Quote
  #6  
Old 29-05-2011
Member
 
Join Date: May 2011
Posts: 55
Re: How to configure the Kernel in Gentoo without boot partition

I executed all the commands that were specified by you but still the error was not solved. This time another error was displayed. When I executed all the commands that were specified by you, the error that occurred was”/etc/portage/package.mask directory is not found“. I don’t know about this package in my system. Where can I get this masked package? I tried to resolve this issue but still failed to do that. Can you help me out with this issue? If yes then please do the needful.
Reply With Quote
  #7  
Old 30-05-2011
Member
 
Join Date: Nov 2009
Posts: 823
Re: How to configure the Kernel in Gentoo without boot partition

There can be several reasons due to which you are facing this issue. To overcome this issue I can suggest you the two solutions that are mentioned below:
1. If want your kernel to work then you need to follow the instructions that are specified in Gentoo’s website. It should work out so that you can get your system working.
2. Second option is that you can try to configure the kernel manually. The guide for the same is also available in Gentoo’s website.
Try out these solutions and it will surely overcome your issue.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to configure the Kernel in Gentoo without boot partition"
Thread Thread Starter Forum Replies Last Post
Configure onboard & USB audio devices using ALSA in Gentoo Linux The#Gaelic Operating Systems 3 01-03-2012 09:38 AM
4K sector partition in Gentoo Vrishabh Operating Systems 5 03-06-2011 10:36 AM
Getting kernel compile error when using genkernel while installing Gentoo Ro-Man Operating Systems 5 03-06-2011 10:34 AM
Error 2 while compiling kernel in gentoo Virr Operating Systems 5 30-05-2011 08:08 PM
Nvidia driver 2.6.36 kernel In Gentoo mANICKAVASAN Monitor & Video Cards 4 25-11-2010 05:34 AM


All times are GMT +5.5. The time now is 06:42 PM.