From: Fernando Rodriguez <frodriguez.developer@outlook.com>
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 [thread overview]
Message-ID: <BLU436-SMTP2377EC98D2E85EC6CAE5FF08D6F0@phx.gbl> (raw)
In-Reply-To: <BLU436-SMTP207B1B131ECDC781B40BC938D6F0@phx.gbl>
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 <mcatudal@comcast.net>
> wrote:
> > > Le 2015-08-26 13:37, Fernando Rodriguez a écrit :
> > >
> > >> 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 stages
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
partition
> > > and gave up. Is that bug fixed? It insists on installing on the MBR which
> is
> > > unacceptable.
> > >
> >
> > It's not a bug, and it won't be "fixed". Installing on a partition is
> > simply not supported.
> >
>
> 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=/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
installed
> in this setup by using blocklists. However, blocklists are UNRELIABLE and
> 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 it
with
> syslinux's mbr as follows:
>
> sudo dd conv=notrunc bs=440 count=1 if=/usr/share/syslinux/mbr.bin
of=/dev/sdb
>
> Still boots!
It is a good idea to make all grub2 files in /boot immutable to avoid problems.
--
Fernando Rodriguez
next prev parent reply other threads:[~2015-08-27 18:32 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 18:44 [gentoo-user] keeping grub 1 James
2015-08-25 19:01 ` Florian Gamböck
2015-08-25 19:26 ` Fernando Rodriguez
2015-08-25 19:46 ` Alan McKinnon
2015-08-25 21:20 ` Neil Bothwick
2015-08-26 0:39 ` [gentoo-user] " James
2015-08-26 1:46 ` Dale
2015-08-26 8:21 ` Neil Bothwick
2015-08-26 15:10 ` [gentoo-user] Grub1: Cant ? " James
2015-08-26 15:26 ` Alec Ten Harmsel
2015-08-26 15:48 ` [gentoo-user] " James
2015-08-26 15:59 ` Alec Ten Harmsel
2015-08-26 16:20 ` James
2015-08-26 17:55 ` Jeremi Piotrowski
2015-08-26 16:55 ` Grant Edwards
2015-08-26 17:37 ` [gentoo-user] " Fernando Rodriguez
2015-08-26 22:27 ` Michel Catudal
2015-08-26 23:41 ` Fernando Rodriguez
2015-08-28 11:20 ` Tom H
2015-08-27 12:49 ` Mike Gilbert
2015-08-27 13:11 ` Peter Humphrey
2015-08-28 11:22 ` Tom H
2015-08-28 11:41 ` Rich Freeman
2015-08-27 14:19 ` [gentoo-user] " Grant Edwards
2015-08-27 16:34 ` Mike Gilbert
2015-08-27 16:47 ` James
2015-08-27 19:30 ` Grant Edwards
2015-08-27 19:44 ` Mick
2015-08-27 20:03 ` Fernando Rodriguez
2015-08-27 22:06 ` Mick
2015-08-27 22:37 ` Fernando Rodriguez
2015-08-27 22:47 ` Jeremi Piotrowski
2015-08-28 11:35 ` Tom H
2015-08-27 19:53 ` Fernando Rodriguez
2015-08-27 17:17 ` Neil Bothwick
2015-08-27 23:05 ` Jeremi Piotrowski
2015-08-28 1:06 ` Grant Edwards
2015-08-28 11:41 ` Tom H
2015-08-28 11:24 ` Tom H
2015-08-29 16:17 ` Michel Catudal
2015-08-29 16:38 ` Alan McKinnon
2015-08-29 16:53 ` Terry Z.
2015-08-29 16:57 ` Mike Gilbert
2015-08-29 17:12 ` Michel Catudal
2015-08-27 16:50 ` [gentoo-user] " mcatudal
2015-08-27 17:16 ` Alan Mackenzie
2015-08-27 23:06 ` Michel Catudal
2015-08-28 11:52 ` Tom H
2015-08-27 17:18 ` Neil Bothwick
2015-08-27 19:18 ` Fernando Rodriguez
2015-08-27 23:36 ` Michel Catudal
2015-08-28 0:31 ` Jeremi Piotrowski
2015-08-28 1:25 ` Michel Catudal
2015-08-28 1:50 ` Rich Freeman
2015-08-28 2:03 ` Michel Catudal
2015-08-28 2:14 ` Rich Freeman
2015-08-28 8:09 ` Neil Bothwick
2015-08-28 3:36 ` Fernando Rodriguez
2015-08-28 20:08 ` Michel Catudal
2015-08-28 20:27 ` Rich Freeman
2015-08-28 20:42 ` Jeremi Piotrowski
2015-08-28 11:55 ` Tom H
2015-08-29 16:29 ` Michel Catudal
2015-08-28 11:28 ` Tom H
2015-08-28 20:23 ` Terry Z.
2015-08-27 18:23 ` Fernando Rodriguez
2015-08-27 18:31 ` Fernando Rodriguez [this message]
2015-08-27 19:02 ` Mick
2015-08-27 19:34 ` [gentoo-user] " Grant Edwards
2015-08-28 9:24 ` Neil Bothwick
2015-08-29 3:46 ` Grant Edwards
2015-08-29 9:41 ` Neil Bothwick
2015-08-29 16:00 ` Michel Catudal
2015-08-29 20:56 ` Neil Bothwick
2015-08-29 21:48 ` Michel Catudal
2015-08-29 22:14 ` »Q«
2015-08-27 23:17 ` [gentoo-user] " Michel Catudal
2015-08-27 23:57 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BLU436-SMTP2377EC98D2E85EC6CAE5FF08D6F0@phx.gbl \
--to=frodriguez.developer@outlook.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox