Last night I decide to try out GRUB2.
Of course when I tried to install I got this message:
Embedding area is not present at all!
After some quick searching it looks like that error message has been replaced with these:
if (! strcmp (dest_partmap, "pc_partition_map")) grub_util_warn ("This msdos-style partition label has no post-MBR gap; embedding won't be possible!"); else grub_util_warn ("This GPT partition label has no BIOS Boot Partition; embedding won't be possible!");
However, I still don't know how to fix this. My /boot is /dev/sda1 and is ext2 if that helps. Boot loaders are one thing I never learned much about.
Anyone have ideas?
Last edited by scio (2009-11-12 20:04:51)
The newer releases of GRUB2 need a special partition to store the core.img (this is the kernel image of grub + necessary modules for reading your filesystem). Former releases used the so called 62 block gap between the mbr (block 1) an the first partition block 63. Since newer system might use the newer and better gpt labeling instead of the old mbr labeling (aka msdos disk label) Grub stores its data in this special partition.
Usually this partition should be the first one an it should be flaged with the bios_grub flag. (parted 1 set bios_grub on)
unfortunately arch linux doesn't ship parted with bios_grub flag support. (But support can be found if you built parted from git ... as far as i know there is no such PKGBUILD in AUR, so you are alone)
Wow, I totally missed this reply before. Thanks, I had a feeling that might be the problem and was hoping to avoid a reformat.
So if I use VMware, I need to use parted to alter the disk?
Not sure what you mean, if you formatted the disk and did not leave any space at the start (or in a flagged partition) then yes you do.
I use the automatic install option. So I didn't decide any.
or even this:
Since none of that works for me... I don't think this is really solved.
"The ecological crisis is a moral issue."
What partition table do you use MBR (or msdos disklabel) or GPT? If MBR you need the 63-sectors gap after 1st 512 MBR region, if GPT you need a 1 MB BIOS Boot Partition (bios_grub flag in GNU Parted).
My new forum user/nick name is "the.ridikulus.rat" .
B15HOP, this thread was marked solved by the topicstarter more than a year ago. If the proposed solutions don't work for you, start a new thread and link to this one instead.
Please don't necrobump, see: https://wiki.archlinux.org/index.php/Fo … Bumping.27