Bug 168819 - Updated package grub-0.97-2.1 creates invalid boot block
Summary: Updated package grub-0.97-2.1 creates invalid boot block
Status: RESOLVED DUPLICATE of bug 122547
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: x86-64 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Torsten Duwe
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 14:59 UTC by Tob Sch
Modified: 2006-05-02 15:45 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Directory /boot/grub after YOU-Update with YaST2, before rebooting (before error occurs) (134.06 KB, application/x-gzip)
2006-05-02 10:51 UTC, Tob Sch
Details
Directory /var/log/YaST2 after YOU-Update with YaST2, before rebooting (before error occurs) (516.20 KB, application/x-gunzip)
2006-05-02 11:01 UTC, Tob Sch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tob Sch 2006-04-24 14:59:46 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.
Comment 1 Michael Gross 2006-04-25 13:43:32 UTC
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.
Comment 2 Tob Sch 2006-04-26 07:30:57 UTC
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.
Comment 3 Michael Gross 2006-04-26 11:37:11 UTC
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? 
Comment 4 Tob Sch 2006-05-02 10:18:58 UTC
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
Comment 5 Tob Sch 2006-05-02 10:51:55 UTC
Created attachment 81185 [details]
Directory /boot/grub after YOU-Update with YaST2, before rebooting (before error occurs)
Comment 6 Tob Sch 2006-05-02 11:01:37 UTC
Created attachment 81186 [details]
Directory /var/log/YaST2 after YOU-Update with YaST2, before rebooting (before error occurs)
Comment 7 Torsten Duwe 2006-05-02 13:22:52 UTC
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?
Comment 8 Tob Sch 2006-05-02 14:29:20 UTC
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.
Comment 9 Torsten Duwe 2006-05-02 15:45:45 UTC

*** This bug has been marked as a duplicate of 122547 ***