bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installation of grub2 on RAID1 array fails.


From: Wolfgang Denk
Subject: Installation of grub2 on RAID1 array fails.
Date: Mon, 28 Nov 2011 20:51:25 +0100

grub2-install fails when attempting to update from Fedora15 to
Fedora16 with /boot being on a RAID1 array:

# mount | grep boot
/dev/md0 on /boot type ext3
(rw,relatime,errors=continue,barrier=0,data=ordered)
# cat /proc/mdstat 
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      272960 blocks [2/2] [UU]
...

# fdisk -l /dev/sda /dev/sdb

Disk /dev/sda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders, total 156368016 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: 0x00007bd0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      546209      272081   fd  Linux raid autodetect
/dev/sda2          546210     4755239     2104515   82  Linux swap / Solaris
/dev/sda3         4755240   156360644    75802702+  fd  Linux raid autodetect

Disk /dev/sdb: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders, total 156368016 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: 0x0000f48e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048      546209      272081   fd  Linux raid autodetect
/dev/sdb2          546210     4755239     2104515   82  Linux swap / Solaris
/dev/sdb3         4755240   156360644    75802702+  fd  Linux raid autodetect


Here is what I get:

# grub2-install --recheck /dev/md0
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Try with --recheck.
If the problem persists please report this together with the output of 
"/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v 
/boot/grub2" to <address@hidden>

# grub2-install --recheck /dev/sda
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Try with --recheck.
If the problem persists please report this together with the output of 
"/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v 
/boot/grub2" to <address@hidden>

# grub2-install --recheck /dev/sdb
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Try with --recheck.
If the problem persists please report this together with the output of 
"/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v 
/boot/grub2" to <address@hidden>

# /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v 
/boot/grub2
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Found array md1 (mdraid09).
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos3.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos2.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk md1.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos3.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos3.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos2.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,msdos1.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: scanning md1 for LVM.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: scanning hd0,msdos3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: scanning hd0,msdos2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,msdos1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: scanning hd1,msdos3 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: scanning hd1,msdos2 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,msdos1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 156368016.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: opening mduuid/3eedf972a264bc1a4cd97307b286dbe4.
/sbin/grub2-probe: error: no such disk.


What can I do now?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: address@hidden
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offense.                   - E. W. Dijkstra



reply via email to

[Prev in Thread] Current Thread [Next in Thread]