Comment 3 for bug 464743

Revision history for this message
billbear (ninth-9) wrote : Re: error: sparse file not allowed

I backed up a 9.10 install ( without backing up /boot/grub ), then restored the backup to a reiserfs partition on another machine, and chroot into it to run "grub-install /dev/sda" and "update-grub". After reboot I saw this:

error: sparse file not allowed
Failed to boot default entries.

Even worse, I can not enter the grub2 command line. Booted from CD I removed those two lines Kevin mentioned and ubuntu boots ok. After booting into ubuntu i ran "grub-install /dev/sda" and "update-grub" and everything went ok.

I tried to repeat the process:
restored the backup ( without /boot/grub ) to a reiserfs partition on another machine, and chroot into it to run "grub-install /dev/sda" TWICE and then "update-grub", it boots ok.
on other filesystems, ext2,3,4,xfs,jfs, grub-install only once will work, but reiser need to do this twice. I have had similar problems with grub 0.97 on reiserfs, grub-install also need to run twice.