From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 59FE3138A1C for ; Sat, 28 Feb 2015 10:56:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19811E0914; Sat, 28 Feb 2015 10:56:33 +0000 (UTC) Received: from lyseo.edu.ouka.fi (unknown [82.128.138.2]) by pigeon.gentoo.org (Postfix) with ESMTP id 04E16E0903 for ; Sat, 28 Feb 2015 10:56:31 +0000 (UTC) Received: from [10.5.53.5] (unknown [194.213.219.13]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by lyseo.edu.ouka.fi (Postfix) with ESMTPSA id C08BD1400986 for ; Sat, 28 Feb 2015 12:56:23 +0200 (EET) Subject: Re: [gentoo-user] About to attempt EFI install, which modules to compile? References: <20150226220236.86380f90bf91cdce3e769179@gmail.com> <116D7CF7-CF72-4706-9EE4-FF27AB355621@iki.fi> <54F053AF.2090600@alectenharmsel.com> From: Matti Nykyri Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (11D201) In-Reply-To: <54F053AF.2090600@alectenharmsel.com> Message-Id: Date: Sat, 28 Feb 2015 11:56:23 +0100 To: "gentoo-user@lists.gentoo.org" Content-Transfer-Encoding: quoted-printable 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 (1.0) X-Archives-Salt: 1408681a-edc7-4d45-884f-fb0a40b3e2c4 X-Archives-Hash: b3e989991aff68b371b8a52baa540469 > On Feb 27, 2015, at 12:23, Alec Ten Harmsel wrot= e: >=20 >=20 > On 02/27/2015 01:09 AM, Matti Nykyri wrote: >>> On Feb 27, 2015, at 5:57, Matti Nykyri wrote: >>>=20 >>> Make a partition for gentoo and format it. Untar stage3 and portage snap= shot to it (snapshot is faster than rsync). Chroot. Emerge portage and grub.= I copied kernel from my old system to /boot. If you don't have this build a= new one. Run grub2-mkconfig -o /boot/grub/grub.cfg (mkdir if it doesn't exi= sts. (http://wiki.gentoo.org/wiki/GRUB2) >> Manually modify grub.cfg so that the root drive will match the setup of t= he new system. (Something like this /dev/sdb2 -> /dev/sda2 and hd1,2 -> hd0,= 2) >=20 > If you're using grub2, you should not be manually editing grub.cfg, just > /etc/default/grub and running grub2-mkconfig. The computer I'm on right > now boots with EFI, and I've never had to manually touch grub.cfg. I don't usually use any LiveCD. I just prepare the HDD of the new system in a= n old box. The old system had no efi and different hard drive setup. In that scenario it is necessary to manually intervene. Grub can not guess c= orrectly... --=20 -Matti=