Bugzilla – Bug 168819
Updated package grub-0.97-2.1 creates invalid boot block
Last modified: 2006-05-02 15:45:45 UTC
I installed SUSE 10.0 x86_64. After that I did an update. When rewriting manually (or via YaST2) the boot block with package grub-0.97-2.1: grub <<! root (hd0,5) setup (hd0) quit ! booting isn't possible anymore. With the original package grub-0.96-6 everything works fine.
Please be more verbose about what you did exactly. As far as I understand that: You updates from 10.0 to 10.1 (which release) and after that tried to change your boot configuration which did not work as expected? What errors are displayed, what did you change exactly? Also attach /var/log/YaST2 as tarball.
No, sorry for my misleading report, I only did an online-update of SUSE 10.0 x86_64, no system-update to SUSE 10.1 x86_64. After that, I did some minor changes of grub title entries via YaST2. After the next reboot, I was forced to use the recovery option of the installation disk, because booting didn't work anymore. I tried to rewrite the boot block manually with the commands described above, also with no success. After I downgraded from grub-0.97-2.1 to grub-0.96-6, everything worked again.
Please attach the resulting GRUB configuration (/etc/grub.conf*, /boot/grub/*) and the output of `fdisk -l', also attach /var/log/YaST2 as tarball. You can retrieve this information with a rescue system. What is displayed by the bootloader during the failure exactly?
After the message "GRUB loading stage2.." nothing happens. MyLaptop:~ # fdisk -l Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 2611 20972826 7 HPFS/NTFS /dev/hda2 2612 9729 57175335 f W95 Ext'd (LBA) /dev/hda5 2612 2873 2104483+ 82 Linux swap / Solaris /dev/hda6 2874 4179 10490413+ 83 Linux /dev/hda7 4180 4423 1959898+ 82 Linux swap / Solaris /dev/hda8 4424 5640 9775521 83 Linux /etc/grub.conf remains unchanged. MyLaptop:~ # cat /etc/grub.conf root (hd0,5) install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,5)/boot/grub/menu.lst quit
Created attachment 81185 [details] Directory /boot/grub after YOU-Update with YaST2, before rebooting (before error occurs)
Created attachment 81186 [details] Directory /var/log/YaST2 after YOU-Update with YaST2, before rebooting (before error occurs)
What do you mean "booting isn't possible"? What file system is on /dev/hda6? What happens if you comment out the gfxmenu in /boot/grub/menu.lst before the update?
After the "GRUB loading stage2.." message in the first line of the text console output, there are 1. sometimes unlimited reboot tries 2. sometimes the cursor remains blinking in the second line The root filesystem /dev/hda6 has got the type "xfs". The problem stays, when commenting the "gfxmenu" entry before updating to grub 0.97.
*** This bug has been marked as a duplicate of 122547 ***