From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-164373-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C3B39138CD0 for <garchives@archives.gentoo.org>; Thu, 21 May 2015 08:33:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7B2EE09E3; Thu, 21 May 2015 08:33:15 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 80E6EE09C3 for <gentoo-user@lists.gentoo.org>; Thu, 21 May 2015 08:33:13 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 3FC0B3EDDE for <gentoo-user@lists.gentoo.org>; Thu, 21 May 2015 09:33:12 +0100 (BST) Date: Thu, 21 May 2015 09:33:05 +0100 From: Neil Bothwick <neil@digimed.co.uk> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2 Message-ID: <20150521093305.112c9eb8@digimed.co.uk> In-Reply-To: <3916007.y9DcYGrn0A@wstn> References: <CADqA9uYkvDWYGfrHtBmR+wQuCx5-ffHO+tw0jtiMSnwdKmv7DQ@mail.gmail.com> <143216357.Wm6szaRcrP@wstn> <20150520213511.47ffde31@digimed.co.uk> <3916007.y9DcYGrn0A@wstn> Organization: Digital Media Production X-Mailer: Claws Mail 3.11.1-100-gf3d358 (GTK+ 2.24.28; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ROuu8cL7/8IFXuYbxxn.sjq"; protocol="application/pgp-signature" X-Archives-Salt: 86cc1992-2c63-42ab-817a-f2825aaf77e2 X-Archives-Hash: c82d9764c03fe086fc001fa66d72bf4f --Sig_/ROuu8cL7/8IFXuYbxxn.sjq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 21 May 2015 09:13:44 +0100, Peter Humphrey wrote: > This is my grub.conf (copied in from my e-mail yesterday): >=20 > root (hd0,0) > timeout 10 > default 0 > fallback 3 > color white/blue black/light-gray > splashimage /grub/splash.xpm.gz >=20 > title=3DGentoo Linux 3.18.12 > kernel /boot/kernel-x86_64-3.18.12-gentoo root=3D/dev/md5 > net.ifnames=3D0 irqpoll >=20 > title=3DGentoo Linux 3.18.12, no X > kernel /boot/kernel-x86_64-3.18.12-gentoo root=3D/dev/md5 > softlevel=3Dnox net.ifnames=3D0 irqpoll >=20 > title=3DGentoo Linux 3.18.12, no network > kernel /boot/kernel-x86_64-3.18.12-gentoo root=3D/dev/md5 > softlevel=3Dnonet net.ifnames=3D0 irqpoll >=20 > title=3DRescue System 3.18.11 > kernel /boot/kernel-x86_64-3.18.11-gentoo-rescue root=3D/dev/sda8 > net.ifnames=3D0 irqpoll >=20 > title=3DRescue System 3.18.12 > kernel /boot/kernel-x86_64-3.18.12-gentoo-rescue root=3D/dev/sda8 > net.ifnames=3D0 irqpoll >=20 > I copied it into /etc/grub.d/05_linux. /etc/defaults/grub is all > comments. >=20 That's a GRUB1 file, GRUB2 uses a different syntax so your first entry would become menuentry "Gentoo Linux 3.18.12" { linux /boot/kernel-x86_64-3.18.12-gentoo root=3D/dev/md5 net.ifnames=3D0 = irqpoll } Also, you need to copy 40_custom and then add your lines to that. This is because files in /etc/grub.d are executed, so it needs to be a shell script. --=20 Neil Bothwick A wok is what you throw at a wabbit. --Sig_/ROuu8cL7/8IFXuYbxxn.sjq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVdmEEACgkQum4al0N1GQOamACgh5B9M/C3ts9fmN/OYu42+N+U 5jQAoIBrZdHcfyv+AV21BvR9itjJW2ut =Xdbm -----END PGP SIGNATURE----- --Sig_/ROuu8cL7/8IFXuYbxxn.sjq--