Bug#478004: - similar problem with softwareRaid1

michael netz michaelnetz at googlemail.com
Thu Jun 12 19:06:28 UTC 2008


Hello,
i have a similar problem with grub when i try to update-grub
i am working in a live-system, chrooted in a bootstraped system and
try to install grub:

# dpkg -l | grep grub
ii  grub                            0.97-39           GRand Unified
Bootloader (Legacy version)
ii  grub-common                     1.96+20080601-2   GRand Unified
Bootloader, version 2 (common

# ls -l sd*
brw-r--r-- 1 root root 8,  0 2008-06-09 17:56 sda
brw-r--r-- 1 root root 8,  1 2008-06-09 17:56 sda1
brw-r--r-- 1 root root 8, 16 2008-06-09 17:56 sdb
brw-r--r-- 1 root root 8, 17 2008-06-09 17:56 sdb1


# mount
/dev/md1 on / type ext3 (rw,nosuid,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /proc type proc (rw)
proc on /proc type proc (rw)
none on /proc type proc (rw)
/dev/md0 on /boot type ext3 (rw)

# cat device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb

/boot/grub# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Probing devices to guess BIOS drives. This may take a long time.
grub-probe: error: Cannot find a GRUB drive for /dev/.tmp.md0.  Check
your device.map.

# grub-probe -t device /boot
/dev/.tmp.md0
# grub-probe -t drive /boot
grub-probe: error: Cannot find a GRUB drive for /dev/.tmp.md0.  Check
your device.map.

# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md4 : active raid1 sda8[0] sdb8[1]
      209800768 blocks [2/2] [UU]

md3 : active raid1 sda6[0] sdb6[1]
      21237824 blocks [2/2] [UU]

md2 : active raid1 sda3[0] sdb3[1]
      738880 blocks [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
      248896 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      48064 blocks [2/2] [UU]

unused devices: <none>


thanks, michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080612/f441a200/attachment.htm 


More information about the Pkg-grub-devel mailing list