Am Mittwoch, 12. Oktober 2011 schrieb Darac Marjal:
> On Tue, Oct 11, 2011 at 11:58:52PM +0200, Kurt Flex wrote:
> > Hi,
> > 
> > I've done a safe-upgrade today which upgraded grub:
> >     upgrade grub-pc 1.98+20100804-14 1.98+20100804-14+squeeze1
> > 
> > The same for grub-common.
> > 
> > A dialog appeared which asked me to run grub-install. But that
> > failed. So i told the dialog to skip that part. Now I've tried
> > grub-install manually.
> > 
> >     # grub-install /dev/sda
> >     /usr/sbin/grub-setup: warn: This msdos-style partition label has
> >     no post-MBR gap; embedding won't be possible!.
> >     /usr/sbin/grub-setup: error: embedding is not possible, but this
> >     is required when the root device is on a RAID array or LVM
> >     volume.
[...]
> > Any hints?
> 
> Looking at your partition table, you have 512 bytes between the start
> of the disk and your first partition. This is enough for a simple boot
> loader, but Grub uses a multi-stage boot system. The 512 byte
> "traditional" boot loader is termed "Stage 1". This jumps to "Stage
> 1.5" which is a larger section of code and which contains the drivers
> needed to load Stage 2. Stage 1.5, then would contain your MD driver
> and your EXT2 driver so that grub can read the contents of your file
> system and find /boot/grub/*. Stage 2 is then the full Grub, with the
> menu, the config file and so on. See
> http://en.wikipedia.org/wiki/GNU_GRUB#GRUB_version_1 for some useful
> info.

Correct for GRUB 1. Kurt uses GRUB 2. The issue is the same. But grub 2 
installation builds a core.img out of kernel.img and the required modules. 
No stage 1_5.

merkaba:~> ls -l /boot/grub/core.img
-rw-r--r-- 1 root root 25509 Sep  6 14:41 /boot/grub/core.img

30 KB should be about fine, but I still recommend aligning to 1 MiB 
boundaries unless you know its not necessary.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201110122001.43062.mar...@lichtvoll.de

Reply via email to