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 3BE4513989A for ; Thu, 27 Aug 2015 18:32:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4368B14317; Thu, 27 Aug 2015 18:32:20 +0000 (UTC) Received: from BLU004-OMC1S19.hotmail.com (blu004-omc1s19.hotmail.com [65.55.116.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20761142FC for ; Thu, 27 Aug 2015 18:32:19 +0000 (UTC) Received: from BLU436-SMTP237 ([65.55.116.7]) by BLU004-OMC1S19.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 27 Aug 2015 11:32:18 -0700 X-TMN: [gbNFsojrOP0/3kvqR/azAt8HynMH0FHw] X-Originating-Email: [frodriguez.developer@outlook.com] Message-ID: From: Fernando Rodriguez To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Grub1: Cant ? Re: keeping grub 1 Date: Thu, 27 Aug 2015 14:31:34 -0400 User-Agent: KMail/4.14.8 (Linux/3.18.20; KDE/4.14.8; x86_64; ; ) In-Reply-To: References: 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 27 Aug 2015 18:32:17.0774 (UTC) FILETIME=[B3DA28E0:01D0E0F6] X-Archives-Salt: e5ac1d6f-ddc9-47e1-9252-2c7bdb6ea15f X-Archives-Hash: 92bad2f9458eaa235474059861292055 On Thursday, August 27, 2015 2:23:56 PM Fernando Rodriguez wrote: > On Thursday, August 27, 2015 8:49:13 AM Mike Gilbert wrote: > > On Wed, Aug 26, 2015 at 6:27 PM, Michel Catudal =20 > wrote: > > > Le 2015-08-26 13:37, Fernando Rodriguez a =E9crit : > > > > > >> This may not be complete and some of these may be possible to so= me=20 extent > > >> with > > >> legacy grub: > > >> > > >> 1. Grub Legacy is 32-bit only, so you need 32-bit libraries or u= se=20 grub- > > >> static. Grub2 is portable, even beyond Intel architectures. > > >> 2. Grub2 has been rewritten to be modular. Instead of Grub's sta= ges=20 model > > >> it > > >> uses a core image and a bunch of modules. > > >> 3. EFI support without chainloading or other hacks. > > >> 4. Better filesystem support. Including loopback devices. > > >> 5. Graphics and theming support. > > >> 6. Grub2's config file (the one it tells you not to edit manuall= y) is > > >> scriptable > > >> using a shell-like script language. > > >> 7. Password support for each entry. > > >> > > >> > > > > > > I've had serious problems in the past getting to to install on a=20= partition > > > and gave up. Is that bug fixed? It insists on installing on the M= BR which=20 > is > > > unacceptable. > > > > >=20 > > It's not a bug, and it won't be "fixed". Installing on a partition = is > > simply not supported. > >=20 >=20 > I just got it to work with these steps: >=20 > 1. Mount the partition to /mnt/usb > 2. Run: >=20 > #grub2-install --directory /usr/lib/grub/i386-pc --boot- > directory=3D/mnt/usb/boot --force /dev/sdb2 > Installing for i386-pc platform. > grub2-install: warning: File system `ext2' doesn't support embedding.= > grub2-install: warning: Embedding is not possible. GRUB can only be=20= installed=20 > in this setup by using blocklists. However, blocklists are UNRELIABL= E and=20 > their use is discouraged.. > Installation finished. No error reported. >=20 > 3. Set the partition as active with fdisk. >=20 > And it booted. To verify that it didn't overwrite the mbr I overwrote= it=20 with=20 > syslinux's mbr as follows: >=20 > sudo dd conv=3Dnotrunc bs=3D440 count=3D1 if=3D/usr/share/syslinux/mb= r.bin=20 of=3D/dev/sdb >=20 > Still boots! It is a good idea to make all grub2 files in /boot immutable to avoid p= roblems. --=20 Fernando Rodriguez