setup-storage + grub2
Adrian von Bidder
avbidder at fortytwo.ch
Mon Apr 12 16:37:01 CEST 2010
Issues confirmed, and I've reported these twice on this list already.
I just switched to LILO, works for me.
cheers
-- vbi
On Monday 12 April 2010 11.32:49 Mathieu Alorent wrote:
> 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-dist@lists.debian.org/msg682316.h
> tml
>
> 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.
>
> 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. Executing: parted -s
> /dev/sda unit B print free
> Executing: parted -s /dev/sda unit chs print free
>
> The disk_config I use is:
>
> disk_config disk1 bootable:1
> primary /boot 100 ext3 rw
> primary swap 1G swap sw
> primary / 1G ext3 rw,errors=remount-ro
> logical /usr 1500 ext3 rw
> logical /var 1G ext3 rw
> logical /home 512 ext3 rw
> logical /tmp 1G ext3 rw
> logical - 4G- - -
>
> disk_config lvm
> vg HEBEX disk1.9
>
> Edit:
> For the first error, it seems to be already corrected in svn branch, not
> in the package build...
>
> Regards
--
Today is Boomtime, the 29th day of Discord in the YOLD 3176
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 389 bytes
Desc: This is a digitally signed message part.
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100412/44e7f55b/attachment.bin
More information about the linux-fai
mailing list