setup-storage + grub2

Mathieu Alorent malorent at echo.fr
Thu Oct 28 12:09:52 CEST 2010


Hello,

Le mardi 13 avril 2010 à 11:09 +0200, Michael Tautschnig a écrit :
> Could you give 3.4~beta1+experimental5 another chance? If you redo the
> partitioning using this version, you'll get back the
> first-partition-starts-at-sector-63 free space. 

I'm reopening an old thread !

Sometimes, the 1st part is created at start sector 32 instead of 63,
which can't let Grub2 install correctly as "Grub2 needs about 55 sectors
free after the MBR" to be installed
(http://www.issociate.de/board/post/501599/embedding_area_is_unusually_small..._%28GRUB2_on_software_RAID1%29.html)

Error from Grub is:
Performing GRUB install with command:
/usr/sbin/grub-install --no-floppy --root-directory=/target /dev/cciss/c0d0
/usr/sbin/grub-setup: warn: Your embedding area is unusually small.  core.img won't fit in it..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.

What's strange is that we don't have this on all servers, and if we
install again, then the first part starts at sector 63.

I can't reproduce it in my lab :( So testing/debugging will not be
easy...


host:~# fdisk -l 

Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 32 sectors/track, 17562 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Disk identifier: 0x0008789e

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1          26      102400   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2              26         283     1048576   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/cciss/c0d0p3             283         540     1048576   83  Linux
Partition 3 does not end on cylinder boundary.
/dev/cciss/c0d0p4             540       17562    69453392    f  W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/cciss/c0d0p5             540         916     1536000   83  Linux
/dev/cciss/c0d0p6             916        1173     1048576   83  Linux
/dev/cciss/c0d0p7            1173        1302      524288   83  Linux
/dev/cciss/c0d0p8            1302        1559     1048576   83  Linux
/dev/cciss/c0d0p9            1559       17562    65295872   8e  Linux LVM

host:~# fdisk -lu

Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 32 sectors/track, 17562 cylinders, total 143305920 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0008789e

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *          32      204831      102400   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2          204832     2301983     1048576   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/cciss/c0d0p3         2301984     4399135     1048576   83  Linux
Partition 3 does not end on cylinder boundary.
/dev/cciss/c0d0p4         4399136   143305919    69453392    f  W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/cciss/c0d0p5         4399168     7471167     1536000   83  Linux
/dev/cciss/c0d0p6         7471200     9568351     1048576   83  Linux
/dev/cciss/c0d0p7         9568384    10616959      524288   83  Linux
/dev/cciss/c0d0p8        10616992    12714143     1048576   83  Linux
/dev/cciss/c0d0p9        12714176   143305919    65295872   8e  Linux LVM

Do you need more informations ? (We're using FAI 4.0~beta2
+experimental36)

Bests
Mathieu



More information about the linux-fai mailing list