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 B93BC13989A for ; Thu, 27 Aug 2015 18:24:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E396B142FC; Thu, 27 Aug 2015 18:24:44 +0000 (UTC) Received: from BLU004-OMC1S7.hotmail.com (blu004-omc1s7.hotmail.com [65.55.116.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB1D2141EA for ; Thu, 27 Aug 2015 18:24:43 +0000 (UTC) Received: from BLU436-SMTP207 ([65.55.116.9]) by BLU004-OMC1S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 27 Aug 2015 11:24:43 -0700 X-TMN: [lvLHNdVfmvJUg7VM/bmBig1xHtumOwEf] 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:23:56 -0400 User-Agent: KMail/4.14.8 (Linux/3.18.20; KDE/4.14.8; x86_64; ; ) In-Reply-To: References: <55DE3D41.1050301@comcast.net> 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:24:42.0682 (UTC) FILETIME=[A498A1A0:01D0E0F5] X-Archives-Salt: daca931c-dc12-48cb-b5fd-54f927bcee92 X-Archives-Hash: d19e9e4ebe8ad722dbc1c9e0eb7f8cd0 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 some= extent > >> with > >> legacy grub: > >> > >> 1. Grub Legacy is 32-bit only, so you need 32-bit libraries or use= grub- > >> static. Grub2 is portable, even beyond Intel architectures. > >> 2. Grub2 has been rewritten to be modular. Instead of Grub's stage= s 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 manually)= 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 pa= rtition > > and gave up. Is that bug fixed? It insists on installing on the MBR= 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 I just got it to work with these steps: 1. Mount the partition to /mnt/usb 2. Run: #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 in= stalled=20 in this setup by using blocklists. However, blocklists are UNRELIABLE = and=20 their use is discouraged.. Installation finished. No error reported. 3. Set the partition as active with fdisk. And it booted. To verify that it didn't overwrite the mbr I overwrote i= t with=20 syslinux's mbr as follows: sudo dd conv=3Dnotrunc bs=3D440 count=3D1 if=3D/usr/share/syslinux/mbr.= bin of=3D/dev/sdb Still boots! --=20 Fernando Rodriguez