Bug 527547 - GRUB bootloader configuration fails without error informations during installation of openSUSE 11.2 Milestone 4
Summary: GRUB bootloader configuration fails without error informations during install...
Status: RESOLVED DUPLICATE of bug 515529
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Milestone 4
Hardware: i686 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Torsten Duwe
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 11:24 UTC by Frank Schäfer
Modified: 2009-08-10 16:07 UTC (History)
1 user (show)

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


Attachments
YAST-logs (511.22 KB, application/x-compressed-tar)
2009-08-03 11:24 UTC, Frank Schäfer
Details
grub.conf (66 bytes, application/octet-stream)
2009-08-05 14:38 UTC, Frank Schäfer
Details
device.map (72 bytes, application/octet-stream)
2009-08-05 14:39 UTC, Frank Schäfer
Details
grub.conf (66 bytes, application/octet-stream)
2009-08-06 10:26 UTC, Frank Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Schäfer 2009-08-03 11:24:27 UTC
Created attachment 309903 [details]
YAST-logs

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.1) Gecko/20090714 SUSE/3.5.1-3.1 Firefox/3.5.1

GRUB bootloader configuration fails during installation of openSUSE 11.2 Milestone 4. The error-message-window which pops up is empty.
Retrying doesn't help.
Yast-logs attached.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Jiri Srain 2009-08-04 08:03:03 UTC
Attach the logs, please.
Comment 2 Frank Schäfer 2009-08-04 08:25:32 UTC
They are already there, can't you see them ;)
Comment 3 Jiri Srain 2009-08-04 14:21:10 UTC
Ah, sorry, missed them.

GRUB itself return non-zero exit code (35584) without actually typing anything to stdout, resp. stderr.

Could you, please, attach /etc/grub.conf and /boot/grub/device.map so that we can check whether they are correct?
Comment 4 Frank Schäfer 2009-08-05 14:38:28 UTC
Created attachment 310793 [details]
grub.conf
Comment 5 Frank Schäfer 2009-08-05 14:39:11 UTC
Created attachment 310794 [details]
device.map
Comment 6 Joseph Short 2009-08-06 05:26:12 UTC
I hit this bug while installing 11.2m4 on an old IBM Thinkpad A20m.  I tried a lot of different bootloader options trying to see if something in the configuration was the problem.  I found that if I, after getting the bug, told it to install without a bootloader, I could complete the install.  At first reboot the computer started up with the options I last tried to install grub with.

It looks like it installs the bootloader, then comes back with that blank error message.  It wouldn't continue until I told it to skip bootloader installation.
Comment 7 Jiri Srain 2009-08-06 06:43:43 UTC
device.map looks good, but the grub.conf attachment seems to contain a malformed .zip archive. Could you, please, check it and upload again?
Comment 8 Frank Schäfer 2009-08-06 10:26:51 UTC
Created attachment 311021 [details]
grub.conf
Comment 9 Jiri Srain 2009-08-07 06:40:17 UTC
Looks good.

Could you, in addition, try running (as root, be aware that this tries to reinstall bootloader)

cat /etc/grub.conf | /usr/sbin/grub --batch --device-map=/boot/grub/device.map

and check whether it creates any output?

BTW: According to the configuration file, you do not have any primary partition designated for bootloader. This is highly unrecommended and not supported by us (even though in most of the cases it normally works)
Comment 10 Frank Schäfer 2009-08-07 09:24:03 UTC
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0,1) (hd0,7)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal)
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,7)"... failed (this is not fatal)
 Running "install --force-lba --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,1) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
grub> quit
Segmentation fault



dmesg shows:
[  480.021652] grub[6570]: segfault at 1 ip 00000001 sp bffac204 error 14 in grub[8048000+23000]
Comment 11 Jiri Srain 2009-08-07 12:28:28 UTC
don't know if it is related, but GRUB should not segfault (maybe it somehow caused the output to be lost).

Torsten, please, check the segfault...