Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Antonio Perez <ap23563m@gmx.com>
To: linux-raid@vger.kernel.org
Subject: Re: embedding area is unusually small... (GRUB2 on software RAID1)
Date: Wed, 06 Jan 2010 12:02:06 -0400	[thread overview]
Message-ID: <4589525.I9CuDL8pqf@rnqqfki.eternal-september.org> (raw)
In-Reply-To: 844035.90831.qm@web88203.mail.re2.yahoo.com

Lapohos Tibor wrote:

[...]
>> grub-install --root-directory=/root/os /dev/md0

> and I got a warning and an error message: "Your embedding area is
> unusually small.  core.img won't fit in it." and "Embedding is not
> possible, but this is required when the root device is on a RAID array or
> LVM volume."
 
> What did I do wrong, and how do I fix it? Thanks ahead,

Grub2 needs a space of about 55 sectors free after the MBR. It ussually is 
63 sectors. What's the output of:
	fdisk -lu /dev/sda
the start of the first partition should be 63 sectors or bigger to leave 
enough space for grub2 to be embedded.

However, the way you are making partitions is quite complex and the needed 
space could be somewhere else.

Please, stop repeating your question everywhere.

-- 
Antonio Perez


  reply	other threads:[~2010-01-06 16:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 14:23 embedding area is unusually small... (GRUB2 on software RAID1) Lapohos Tibor
2010-01-06 16:02 ` Antonio Perez [this message]
2010-01-06 16:18   ` Lapohos Tibor
2010-01-06 20:41     ` Antonio Perez
2010-01-06 21:40       ` Lapohos Tibor
2010-01-06 22:23         ` Antonio Perez
2010-01-07 14:59           ` Lapohos Tibor
2010-01-07 16:14             ` Antonio Perez
2010-01-07 16:26               ` Lapohos Tibor

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=4589525.I9CuDL8pqf@rnqqfki.eternal-september.org \
    --to=ap23563m@gmx.com \
    --cc=linux-raid@vger.kernel.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