Bug#381146: does not work with partitionable RAID

martin f krafft madduck at debian.org
Wed Aug 2 14:32:32 UTC 2006


Package: grub
Version: 0.97-12
Severity: normal

Trying to bootstrap a system with a partitionable RAID array,
I cannot get grub to work:

  mdadmp:/# fdisk -l /dev/md_d0

  Disk /dev/md_d0: 751 MB, 751607808 bytes
  2 heads, 4 sectors/track, 183498 cylinders
  Units = cylinders of 8 * 512 = 4096 bytes

        Device Boot      Start         End      Blocks   Id  System
  /dev/md_d0p1   *           1        7813       31250   83  Linux
  /dev/md_d0p2            7814       70313      250000   82  Linux swap / Solaris
  /dev/md_d0p3           70314      183498      452740   83  Linux

  mdadmp:/# grub-install /dev/md_d0
  Unknown partition table signature
  Unknown partition table signature
  Unknown partition table signature
  Unknown partition table signature
  Unknown partition table signature
  The file /boot/grub/stage1 not read correctly.

The problem is of course grub:

  mdadmp:/# echo quit | grub --batch --no-floppy /dev/md_d0
  Probing devices to guess BIOS drives. This may take a long time.
  Unknown partition table signature


      GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

        [ Minimal BASH-like line editing is supported.   For
          the   first   word,  TAB  lists  possible  command
          completions.  Anywhere else TAB lists the possible
          completions of a device/filename. ]
  grub> quit

  mdadmp:/# grub --no-floppy
  Probing devices to guess BIOS drives. This may take a long time.
  Unknown partition table signature


      GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

        [ Minimal BASH-like line editing is supported.   For
          the   first   word,  TAB  lists  possible  command
          completions.  Anywhere else TAB lists the possible
          completions of a device/filename. ]
  grub> root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83
  grub> setup (hd0)
  Checking if "/boot/grub/stage1" exists... yes
  Checking if "/boot/grub/stage2" exists... yes
  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
  Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
  Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
  Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed

  Error 22: No such partition


It would be nice if grub supported these. I have a vmware instance
which I could lend out or give access to if needed.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20060802/58ac3256/attachment.pgp


More information about the Pkg-grub-devel mailing list