grub upgrade error, reiserfs mdadm
Alexander Golovin
alex.golovin at mail.ru
Fri Jul 1 14:13:05 UTC 2011
Hello.
I've found this error as solved - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567618
but seems not for reiserfs.
I'm upgrading my lenny server to squeeze, and have this error while
grub2 configuration process:
Creating config file /etc/default/grub with new version
Generating core.img
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md0 failed.
Please report this together with the output of "/usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub" to <bug-grub at gnu.org>
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of grub2:
grub2 depends on grub-pc (= 1.98+20100804-14); however:
Package grub-pc is not configured yet.
dpkg: error processing grub2 (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
grub-pc
grub2
E: Sub-process /usr/bin/dpkg returned an error code (1)
grub-probe gave no positive results:
/usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs
-v /boot/grub
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd0 is 625140335.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: the size of hd1 is 625142448.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to snd.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to pts.
/usr/sbin/grub-probe: info: opening md0.
/usr/sbin/grub-probe: error: unknown filesystem.
So, I have mdadm raid-1 with reiserfs installed:
#file -sL /dev/md0
/dev/md0: ReiserFS V3.6
# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
311620736 blocks [2/2] [UU]
unused devices: <none>
Solution for this time is to downgrade to lenny grub version, and
waiting while bug fixing and upgrade to squeeze after that.
Thanks.
More information about the Pkg-grub-devel
mailing list