From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VZcXx-0005sh-VK for mharc-grub-devel@gnu.org; Fri, 25 Oct 2013 04:15:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZcXq-0005ps-SK for grub-devel@gnu.org; Fri, 25 Oct 2013 04:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZcXl-0008Rr-Go for grub-devel@gnu.org; Fri, 25 Oct 2013 04:14:58 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:45186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZcXl-0008Rm-9b for grub-devel@gnu.org; Fri, 25 Oct 2013 04:14:53 -0400 Received: by mail-wg0-f49.google.com with SMTP id x12so3393475wgg.28 for ; Fri, 25 Oct 2013 01:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=noKqlOxFimfs9P0zdnJhFViUajOV6w0NU7BEhd1nTAE=; b=o2PmzdMx/62JehlNGm0I3NmMgTeDOApHrf2H4AJzTz4coKpPTuXnEcBK8/PUTO7ifT 2/z6ftU+9gWJG+sPmVNMUY9JzSNFEwL0bN9nwwHOJ3fZYuvyfpMzLUUKztTqemU1tvlR A0GF8ndsw41Srj1aTsaVMxiz6nVVSzUOyraxLHS7ttHMvqA0hZK81gOBEGohGoGWF9qe ks30bAa7nvoG7BbEqCGzP+OqNiTqQsc5E24Xavnkea2rcQX5N0QsM+CmEjytdUxsKPK8 2TP6KdTq72QZzhUBbNjSbqgld20CR6hQc4o0TUqwpSNbrDt2wFINT4BJfm4c4QNa2hKM V6LA== X-Received: by 10.194.122.99 with SMTP id lr3mr5952818wjb.21.1382688891828; Fri, 25 Oct 2013 01:14:51 -0700 (PDT) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id y11sm3417403wie.7.2013.10.25.01.14.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Oct 2013 01:14:51 -0700 (PDT) Message-ID: <526A2871.1000001@gmail.com> Date: Fri, 25 Oct 2013 10:14:41 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: How to pick a kernel to boot ? References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2CMXOCCUUCVEVVEIPJOKC" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 08:15:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CMXOCCUUCVEVVEIPJOKC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24.10.2013 16:46, Luk=C3=A1=C5=A1 Czerner wrote: > Hi, >=20 > I have a simple question about grub2 which I can not find satisfying > answer to. >=20 > What is a proper way to pick a kernel to boot from in case I have > multiple kernels installed ? Note that picking the right kernel from > the menu is not an option I do not always have access to the > console. >=20 > With grub legacy, this was easy. Simply edit >=20 > /boot/grub/menu.lst >=20 > and pick the right number. All the information I need are in that > file. >=20 > So what is a recommended way to do this with grub2 ? >=20 You can use numbers but it's a bad idea since they change on update. Use ids As you see in menuentry: menuentry ... $menuentry_id_option 'gnulinux-simple-000000000000000000000000000000' Or menuentry ... --id 'gnulinux-simple-000000000000000000000000000000' >=20 > Thanks! > -Lukas >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > . >=20 ------enig2CMXOCCUUCVEVVEIPJOKC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJqKHoACgkQNak7dOguQgmKkQD/UYmw9T8IrxsRkmr6aqZ5uA2t Y4T7zkyWH8FwfXvBctIA/0LAu7vFtvTg6yYGniVP6jhJsw/JcqLW9YZke9ed5uFs =7knx -----END PGP SIGNATURE----- ------enig2CMXOCCUUCVEVVEIPJOKC--