Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
<SOLVED>*** No rule to make target `menuconfig'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Special Ed
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2011
Posts: 99

PostPosted: Tue Apr 12, 2011 3:49 am    Post subject: <SOLVED>*** No rule to make target `menuconfig' Reply with quote

Ok, I was updating my kernel to 2.6.38-zen. After I configed the kernel I found I couldnt access my grub partition (sdb1) cause of no ext2 support. I found a couple of posts in the forum about adding ext support as a module and make modules etc, but I guess during a depclean sometime the sources for my current working kernel (2.6.37-zen) were removed. Now I cant do a make menuconfig, I get *** No rule to make target `menuconfig'. I can't re-emerge the .37 sources. All I can get are the .38 sources. Help? 8O
_________________
Ed

Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's

Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1


Last edited by Special Ed on Tue Apr 12, 2011 7:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1510

PostPosted: Tue Apr 12, 2011 3:54 am    Post subject: Reply with quote

Use a live cd to boot up and chroot into your install. from there you can copy your new kernel to your /boot partition. Just be sure to add ext2 support as a module or built in.
My preferred method for ext2 support is the option on the ext4 driver that allows it to double for ext2, but that is simply a matter of personal preference, since my root and /home are ext4 anyway.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Special Ed
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2011
Posts: 99

PostPosted: Tue Apr 12, 2011 4:06 am    Post subject: Reply with quote

Ahso. I never thought of that. I'll try that method. Thanks!!
_________________
Ed

Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's

Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4122
Location: Houston, Republic of Texas

PostPosted: Tue Apr 12, 2011 4:59 am    Post subject: Re: *** No rule to make target `menuconfig' Reply with quote

Special Ed wrote:
I can't re-emerge the .37 sources. All I can get are the .38 sources. Help? 8O


you can always append an "=" to the beginning of a package name to force a specific version. Mind you, when you do so, you have to include the 'sys-kernel' part too, e.g.:

Code:

emerge -v =sys-kernel/zen-sources-2.6.37_p20110325


and to recover your old .config, boot up into 2.6.37 if you haven't already, make sure the kernel symlink points to 2.6.37 and not 2.6.38 (eselect kernel list - if it's wrong, set it with eselect kernel set NUMBER)
then cd /usr/src/linux and zcat /proc/config.gz > .config

Should now be able to run menuconfig and pick right back up where you left off with 2.6.37
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Special Ed
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2011
Posts: 99

PostPosted: Tue Apr 12, 2011 6:10 am    Post subject: Reply with quote

ah, the ol' equal sign I didnt know about LOL I was able to get it done usin the livecd method swordmaster suggested. Usin 2.6.38.2-zen now!

But I'm gonna write down your method for next time cause we both know there will be a next time, Cach :D


Thanks!
_________________
Ed

Alienware m17x R1
Intel Core2 Extreme x9000 x86-64
4gigs of ram
Dual 9800m GT's

Win7 on sda1
Gentoo 2.6.38.2-zen on sdb1
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9120

PostPosted: Wed Apr 13, 2011 2:10 am    Post subject: Re: *** No rule to make target `menuconfig' Reply with quote

cach0rr0 wrote:
Mind you, when you do so, you have to include the 'sys-kernel' part too
No. The category is only required if the package manager cannot guess the package based on the supplied short name.
Code:
# emerge -p =gentoo-sources-2.6.36-r8

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.36-r8  USE="-build -deblob -symlink"
#
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4122
Location: Houston, Republic of Texas

PostPosted: Wed Apr 13, 2011 7:37 pm    Post subject: Re: *** No rule to make target `menuconfig' Reply with quote

Hu wrote:
No. The category is only required if the package manager cannot guess the package based on the supplied short name.
Code:
# emerge -p =gentoo-sources-2.6.36-r8



i stand corrected! That's something I've been doing for what...7 years now? And the idea probably came from some special case way back then that required the full atom (is that even the right term?).
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Wed Apr 13, 2011 7:44 pm    Post subject: Reply with quote

yep - at least chromium comes to my mind, which can be expanded to www-client/chromium and games-action/chromium.

but for about 95% of the packages, that package name suffices.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum