Gentoo Archives: gentoo-dev

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] News item: GRUB2 migration
Date: Sat, 21 Sep 2013 18:22:35
Message-Id: 523DE3E0.5090004@orlitzky.com
In Reply to: [gentoo-dev] News item: GRUB2 migration by Mike Gilbert
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 09/21/2013 11:42 AM, Mike Gilbert wrote:
5 > GRUB2 will be stabilized soon (bug 455544). Here's a draft of a
6 > news item to hopefully prevent any confusion. Please review.
7
8 The "FAQ / Known Problems / Gotchas" section of the guide is still
9 empty. Maybe fill this in before pushing this stable?
10
11 My contribution:
12
13 About half of our servers failed at the install phase with the error
14 (copy/pasted from Google, might not be exact),
15
16 /usr/sbin/grub2-install: warn: Your embedding area is unusually
17 small. core.img won't fit in it.
18
19 /usr/sbin/grub2-install: warn: Embedding is not possible. GRUB can
20 only be installed in this setup by using blocklists. However,
21 blocklists are UNRELIABLE and their use is discouraged.
22
23 /usr/sbin/grub2-install: error: will not proceed with blocklists.
24
25 To paraphrase, "there ain't enough space before your first partition."
26
27 Generally this means that you are screwed, and that you'll need to
28 boot something like the gparted liveCD and resize all of your
29 partitions. It would be nice to list some options on the page.
30
31 If the user is lucky (thankfully, I was), his swap partition is the
32 first partition on the disk. In that case, he can simply `swapoff` the
33 thing, mangle it with fdisk, and then `mkswap foo` && `swapon foo`.
34
35 The fdisk commands were,
36
37 1. 'x' - extra functionality (experts only)
38
39 2. 'b' - move beginning of data in a partition
40
41 3. '1' - Choose the first partition
42
43 4. '4096' - New beginning of data (1-8000369, default 63)
44
45 Something smaller might work, but 4096 definitely does. Better play it
46 safe in case grub3 wants to play HD video.
47
48 For what it's worth, the following wiki pages both provided useful
49 information (at the time, the g.o page didn't exist):
50
51 * https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
52
53 * https://wiki.gentoo.org/wiki/GRUB2
54
55
56 -----BEGIN PGP SIGNATURE-----
57 Version: GnuPG v2.0.20 (GNU/Linux)
58
59 iQIcBAEBAgAGBQJSPePgAAoJEBxJck0inpOiHBQQAKE81cZQeerYmu6FoFPrlPOv
60 78D5Bb2/mPj4camzaSwLk3xa1fkZIrjhgdCEqu3aeFKcpkktTUGikixcsODRcaRg
61 2sTTht44ZqqozBSE5t9gjKUg8zUJr9tu21vXT3JttEZut+FZfx1A/aGLIXyvUf/I
62 GsCsRhwvmb8pp8iHgQ7NUNbFTVwE4+MxCdm3LDWrkvWy959Sj5t+f/HlpVrQRVPc
63 3jSw/OL1zug+4lK08VelfjDKkDJPbAfberJ3/oWv37D8x8PX93meHs7ZQAG9H15c
64 98+j6DaGddL8wQxX5ia/dSplfegGg+FBHXoYtkDRR+W6vq2fkpqD+dli9ugH51No
65 38HyySEpLvOnHrw4AbTSjoJ2HRYqI3TlX/+LpvUrLuxdvXP4c5vN+aNuIW+dbLAB
66 2PxtGEFh2OVFLaCR4oRje9eaC/cl6mq+csz6o7h0Vm5z5mbPplVrZf59RWJtyQZO
67 sdtiHSmRCu4eTDQkTrbBe4ZsI7oZZulViiZRXKH/aF5SE45sPct15CHx9k9+WUql
68 pfAtAlk7v1QLBqBngoD29lrEsKuh5oDnrtFeAkuLzGn+PN8Dx9T4lZy+pY3mBA4P
69 3JH6pmRV8caIQBBdNNJCWz+F9BZH4fkIo0TYkpNx0tj4DtDHcq/BWSlaPr09RxxZ
70 T8fnJsRz/ybkH4SPDnd7
71 =Xm1p
72 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] News item: GRUB2 migration Mike Gilbert <floppym@g.o>