From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LQNBd-000688-OU for garchives@archives.gentoo.org; Fri, 23 Jan 2009 14:39:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA1A5E07C5; Fri, 23 Jan 2009 14:39:06 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by pigeon.gentoo.org (Postfix) with ESMTP id 841FDE07C5 for ; Fri, 23 Jan 2009 14:39:06 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so2610852fga.14 for ; Fri, 23 Jan 2009 06:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/XIKTCc3pzX+YoS+0U4fJTmPh3S1EghRc8kJKhHzL/w=; b=qmUTCL3CkWJrwULllOHtZcOAd5IhAD+j8DrKoPLi0RdfaRx4/lxVQ3Xynd83GCCD+W knExPMOuIDMHC6X0U+pLGy619dmJrjwheiXm0c7Re8HrbkvVZwgNaLE7S29wdOjDpyFI aD4Q788XpxVorLbF7zqzUMuPVGTd46WRVkOOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Itd1+WmfLEGQ1u7fzrd03t7RxPaP54G2/e+gtv8RgIzsCKPKovtoVkEuxop6omZSjm qFPwvnEgwRi+yuohBfRe4n2OsFrvkPK1i6sWuNzOC6eRYr1TJrqNGqBhcX80wguuARZ+ KxgrCnYOd7Uq57izn3r+7dyyHh/ONPhNJMz1A= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.181.214.8 with SMTP id r8mr644039bkq.206.1232721545829; Fri, 23 Jan 2009 06:39:05 -0800 (PST) In-Reply-To: <49797FCB.5060205@j-schmitz.net> References: <49bf44f10901221812v19b510f5y93fe3f64d8b5b534@mail.gmail.com> <49792B5E.7070507@gmail.com> <49bf44f10901221903v2bed4d9ai49b7ba9e7c8d544@mail.gmail.com> <49797FCB.5060205@j-schmitz.net> Date: Fri, 23 Jan 2009 06:39:05 -0800 Message-ID: <49bf44f10901230639x5e29ae27x3085176168324b2a@mail.gmail.com> Subject: Re: [gentoo-user] Deleted my kernel .config From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d4badfc9-740c-4e4c-98cc-f28659c28226 X-Archives-Hash: 7a39d5a386e2917fc2a9bc1aedb296c5 >>>> Well, I deleted my kernel .config. Is there any way to magically >>>> re-create it from the compiled kernel image or any other way? >>>> >>>> - Grant >>>> >>>> >>>> >>>> >>> yes if you had selected 'kernel .config support' when you made the >>> kernel. that's in the 'General setup'. >>> if you did that you'll find /proc/config.gz over there. >>> >> >> I do have /proc/config.gz, but when I move it to >> /usr/src/2.6.25-hardened-r13 and run 'make oldconfig' it comes up with >> many differences. I'm booted into 2.6.25-hardened-r11 and there >> shouldn't be any config differences between that and r13. Does anyone >> know what's going on here? >> >> - Grant >> >> > do one of those two things and it should work: > > zcat /proc/config.gz >/usr/src/linux/.config > > or > > /usr/src/linux/scripts/extract-ikconfig /boot/YOURKERNEL > > /usr/src/linux/.config. > > Than run make oldconfig. Thanks a lot, *.gz* was supposed to tell me that. :) - Grant