> Hi, > > I'm in trouble with setup-storage and installing Grub2. > > The error I get is: > > Performing GRUB install with command: > /usr/sbin/grub-install --no-floppy --root-directory=/target /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: 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... > > I've found something interesting there: > http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg682316.html > > It is said that "the first partition starts at sector 63 like any normal > partioning tool does." > > On my machine, I've got the first partition starting at sector 1. > > # fdisk -lu /dev/sda > > Disk /dev/sda: 64.4 GB, 64424509440 bytes > 255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors > Units = sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disk identifier: 0x0008e681 > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 204800 102400 83 Linux > Partition 1 does not end on cylinder boundary. > /dev/sda2 204801 2301952 1048576 82 Linux swap / Solaris > Partition 2 does not end on cylinder boundary. > /dev/sda3 2301953 4399104 1048576 83 Linux > Partition 3 does not end on cylinder boundary. > /dev/sda4 4399105 125829119 60715007+ f W95 Ext'd (LBA) > /dev/sda5 4399168 7471167 1536000 83 Linux > /dev/sda6 7471231 9568382 1048576 83 Linux > /dev/sda7 9568446 10617021 524288 83 Linux > /dev/sda8 10617085 12714236 1048576 83 Linux > /dev/sda9 12714300 125829119 56557410 8e Linux LVM > > I'm using fai 3.3.5+experimental3. >
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 also get a bunch messages about uninitialized value > > Calling task_partition > Partitioning local harddisks using setup-storage > Starting setup-storage 1.2.1+exp > Using config file: /var/lib/fai/config/disk_config/DEFAULT > Executing: parted -s /dev/sda unit TiB print > Use of uninitialized value $fs in substitution (s///) at > /usr/share/fai/setup-storage//Volumes.pm line 257. > [...] > Use of uninitialized value $fs in substitution (s///) at > /usr/share/fai/setup-storage//Volumes.pm line 257. [...] Could you send the output of parted -s /dev/sda unit TiB print ? Maybe the format has changed, so probably also parted -v would be useful. Thanks a lot, Michael
pgpaJEpwpd7Oc.pgp
Description: PGP signature