Bug#192982: update-grub and md drives
Karl Schmidt
Karl Schmidt <karl@xtronics.com>, 192982@bugs.debian.org
Tue, 12 Oct 2004 09:28:33 -0500
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=192982
I was looking into this bug and realized it was probably a srcipt that could be patched.
Looking at the bug report it looks like there are patches inline (not a good idea) in the
last posts that might work, but I don't see a version number of grub tha one would apply
this patch to?
And - this patch would only work if / was on /dev/md0 (I seem to have / dev/md2 on several
systems)
Anyway as this bug is over a year old now produces a non bootable system I would hope that
someone would add the following at the top of the update-grub script for now -- perhaps some
kind soul that is a better scripter than me will fix the script later.
if grep ' / ' /etc/fstab|grep /dev/md
then
echo "grub can't figure out md root drives yet and will hose your menu.lst
file"
echo " aborting update-grub - do it by hand"
echo " "
exit 1
fi
--
----------------------------------------------------------------
Karl Schmidt EMail Karl@xtronics.com
Transtronics, Inc. WEB http://xtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434
Health tip #347:
When confronted with the urge to exercise;
simply lay down and wait for it to pass.
----------------------------------------------------------------