Hello! I've a problem with installing a new version of grub2 on debian (lenny, kernel 2.6.26-2-686 SMP).
Installed version of grub2 is 1.96+20080724-16. I did the following: 1. I got the newest version from repository: svn co svn://svn.savannah.gnu.org/grub/trunk/grub2 It was revision 2216. 2. Configure, create and copy modules and image-files: ./autogen.sh ./configure make make install New modules are created and copied to the target. The file /boot/grub/grub.cfg wasn't recreated. It's the same as before. 3. Than I want to install these. But I got an error: grub-install --no-floppy --recheck /dev/sda [ 242.907820] grub-setup[2809]: segfault at 0 ip 080490fa sp bffeff1c error 4 in grub-setup[8048000+20000] /usr/local/sbin/grub-install: line 307: 11086 Segmentation fault $grub_setup ${setup_verbose} ${setup_force} --directory=${grubdir} --device-map=${device_map} ${install_device} Why? I don't know and I don't understand. 4. I used the old version of grub-install to install the new created image-files. /usr/sbin/grub-install --no-floppy --recheck /dev/sda Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fic it an re-run the script `grub-install“. (hd0) /dev/sda It looks fine and system can be boot without any problem. May be important. I've only one partition (sda1) where are root and boot too. There are 63 sectors free between MBR and boot sector. The used filesystem is xfs. One question only: What I'd done wrong? I can't believe that the new version should have such serious mistake. Thanks and bye. Marko
_______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub