# Check whether /boot is on another partition and mount it. See Bug#216250
if grep "[[:space:]]/boot[[:space:]]" /etc/fstab | grep -vq "^#"; then
if ! grep -q "[[:space:]]/boot[[:space:]]" /etc/mtab ; then
- mount /boot 2>&1 > /dev/null
+ mount /boot > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo