From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ph8Rg-0000VR-AF for garchives@archives.gentoo.org; Sun, 23 Jan 2011 22:30:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 314EEE09AA; Sun, 23 Jan 2011 22:28:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E27D0E09AA for ; Sun, 23 Jan 2011 22:28:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6F00D1B403A for ; Sun, 23 Jan 2011 22:28:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.88 X-Spam-Level: X-Spam-Status: No, score=-2.88 required=5.5 tests=[AWL=-0.281, BAYES_00=-2.599] 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 f42jh+d-Zb4Y for ; Sun, 23 Jan 2011 22:28:36 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id D9EBF1B4006 for ; Sun, 23 Jan 2011 22:28:35 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ph8QB-0001A6-7l for gentoo-user@gentoo.org; Sun, 23 Jan 2011 23:28:31 +0100 Received: from adsl-69-234-182-203.dsl.irvnca.pacbell.net ([69.234.182.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jan 2011 23:28:31 +0100 Received: from w41ter by adsl-69-234-182-203.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jan 2011 23:28:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] [cookbook] grub2 for idiots like me Date: Sun, 23 Jan 2011 14:28:15 -0800 Message-ID: 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@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-182-203.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110121 Thunderbird/3.3a2 X-Archives-Salt: X-Archives-Hash: 701feaac617527097d0173e93d9ab303 Okay, I genuinely have grub2 installed and doing exactly what it's supposed to do: boot your machine using only partition LABELS, not device names/numbers. Below are a series of steps that *any* gentoo fan should recognize and be comfortable with. If you are not familiar with any of these steps, you really *should* become familiar with them. If you don't *want* to become familiar with them, have you tried ubuntu? First, skip grub-1.98 and go for grub-1.99-rc1 because it's much better. Yes, you could unmask sys-boot/grub-9999, but that's way more trouble than it's worth. Learn to do it the way it's meant to be done and you will be pleased with your new skills :) You need to get the source tarball first. Many different ways to do that, but my brain-dead way is to use firefox and enter this URL: ftp://alpha.gnu.org/gnu/grub/ Click on the file grub-1.99~rc1.tar.gz to start downloading it. If you don't know where firefox is saving the file, shame on you. You should become familiar with building software in your own home directory. At work or school you may not have root privileges, so be brave now and learn how easy it is: $ cd $ mkdir src $ cd src $ tar -xvzf /grub-1.99~rc1.tar.gz $ cd grub-1.99~rc1 Many projects will include the 'configure' file as part of the tarball, but grub2 does not. Lots of files like configure.ac, config.in, etc, but you won't find 'configure' this time. So, you need to create a brand new 'configure' by running the autogen.sh script that the grub2 devs include for that purpose. (You may need to emerge sys-devel/autogen if you don't already have it.) $ ./autogen.sh (tons of screen output> $ mkdir build $ cd build $ ../configure --prefix=$HOME $ make all install This step, if it works, will install grub stuff in ~/sbin ~/bin ~/etc ~/share and ~/lib/grub. The directories should be created if they don't already exist, I think. Up to now your system files have not been touched because you are not root and therefore you are not able to break your system. I'm taking a break now to answer any questions about problems you may encounter, and because I've had enough beer for today already. All of this should be old material for gentooers. If it's new to you, then please try the steps above just to learn the basics of building (any) linux software. Even if you fail you will learn in the process.