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 1LZTe8-0005gI-Tq for garchives@archives.gentoo.org; Tue, 17 Feb 2009 17:22:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA5FDE01DC; Tue, 17 Feb 2009 17:22:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9654CE01DC for ; Tue, 17 Feb 2009 17:22:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 03937B54F8 for ; Tue, 17 Feb 2009 17:22:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.436 X-Spam-Level: X-Spam-Status: No, score=-3.436 required=5.5 tests=[AWL=0.163, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gcUo3JQHkUq5 for ; Tue, 17 Feb 2009 17:22:04 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id CAA2BB5504 for ; Tue, 17 Feb 2009 17:22:02 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LZTdv-0005FV-Pw for gentoo-user@gentoo.org; Tue, 17 Feb 2009 17:21:59 +0000 Received: from athedsl-415530.home.otenet.gr ([79.131.175.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Feb 2009 17:21:59 +0000 Received: from realnc by athedsl-415530.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Feb 2009 17:21:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Grub broke out of the blue Date: Tue, 17 Feb 2009 19:21:53 +0200 Organization: Lucas Barks Message-ID: References: <20090217080854.7fdb1f40@krikkit> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-415530.home.otenet.gr User-Agent: Thunderbird 2.0.0.19 (X11/20090215) In-Reply-To: <20090217080854.7fdb1f40@krikkit> Sender: news X-Archives-Salt: 1c74d1c4-4db4-47c2-890f-8d3f7f2c0008 X-Archives-Hash: 581eaf0510b4c8291d61288cfef0f6cf Neil Bothwick wrote: > On Tue, 17 Feb 2009 06:17:07 +0200, Nikos Chantziaras wrote: > >> I've no idea how it broke, but after an emerge --sync, a kernel >> (gentoo-sources) update was there. After I compiled the kernel, I did >> the usual "make modules_install && make install". I edited grub.conf >> only to the point of changing the booted kernel to the >> new one (just a matter of changing -r1 to -r2 at the end of the kernel >> filename). I reboot, Grub stops working. It just displays "GRUB" and >> hangs there. > > Could you have inadvertently made more of a change to grub.conf than > that? Grub is notoriously fragile when it comes to its config file? No, the change was a simple change of 1 byte ("1" -> "2"). > Why did you edit it in the first place? As you used make install,you will > have symlinks from vmlinuz and vmlinuz.old to the new and previous > kernels. Use these in GRUB and there's no need to edit anything. That won't work for me because I keep two different kernels (one for vmware and one for native) and I sometimes rebuild one of them after reconfiguring. With that approach I would end up with the "Native" Grub entry trying to boot the vmware kernel. One thing that could be at fault is that I had grub installed into hd0,2 (sda3) which is an ext4 partition. /boot is sda4 and is ext3. But I'm sure grub should work no matter where you install it. I can even install it on sda1 which is NTFS and it works. Hell, I can even install it on the swap partition. I guess the reason it broke will remain a mystery :P