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 1LZHof-0001yw-Uw for garchives@archives.gentoo.org; Tue, 17 Feb 2009 04:44:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15ED1E0263; Tue, 17 Feb 2009 04:44:16 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id A241AE0263 for ; Tue, 17 Feb 2009 04:44:15 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.38,219,1233532800"; d="scan'208";a="73893914" Received: from unknown (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 17 Feb 2009 04:44:13 +0000 Received: from [192.168.1.71] (unknown [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id CF672137BD3 for ; Tue, 17 Feb 2009 04:44:11 +0000 (GMT) Message-Id: <519795F9-54B4-414E-9DBD-F27681F161C9@stellar.eclipse.co.uk> From: Stroller To: gentoo-user@lists.gentoo.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 (Apple Message framework v930.3) Subject: Re: [gentoo-user] Grub broke out of the blue Date: Tue, 17 Feb 2009 04:44:07 +0000 References: X-Mailer: Apple Mail (2.930.3) X-Archives-Salt: c8ef4216-7bcb-42f7-9bdc-231920207e6d X-Archives-Hash: 6866a3f7186b4bd6c6b3621249d11e5c On 17 Feb 2009, at 04:17, 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. > > What might have cause this? $ cat /var/log/portage/elog/sys-boot:grub-0.97-r6:20090117-194927.log LOG: preinst To avoid automounting and autoinstalling with /boot, just export the DONT_MOUNT_BOOT variable. WARN: postinst *** IMPORTANT NOTE: you must run grub and install the new version's stage1 to your MBR. Until you do, stage1 and stage2 will still be the old version, but later stages will be the new version, which could cause problems such as an unbootable system. This means you must use either grub-install or perform root/setup manually! For more help, see the handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto LOG: postinst To interactively install grub files to another device such as a USB stick, just run the following and specify the directory as prompted: emerge --config =grub-0.97-r6 Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell grub where to install in a non-interactive way. $ Stroller.