Bug 523302 - "error occurred while installing grub"
Summary: "error occurred while installing grub"
Status: RESOLVED DUPLICATE of bug 515529
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Milestone 3
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 09:05 UTC by macias -
Modified: 2009-10-03 14:19 UTC (History)
2 users (show)

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


Attachments
cut and paste output (3.23 KB, text/plain)
2009-07-19 11:39 UTC, Forgotten User DVG0Sx8gYR
Details
grub.conf (66 bytes, text/plain)
2009-07-19 15:05 UTC, Forgotten User DVG0Sx8gYR
Details
device.map (58 bytes, text/plain)
2009-07-19 15:05 UTC, Forgotten User DVG0Sx8gYR
Details
fstab (951 bytes, text/plain)
2009-07-19 15:08 UTC, Forgotten User DVG0Sx8gYR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description macias - 2009-07-18 09:05:27 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.27.21-0.1-default; X11; x86_64) KHTML/3.5.10 (like Gecko) SUSE

MSI Wind U100, installation from external DVD drive.

Standard installation, Gnome, almost all defaults except for partitioning which I set up this way:
12.52 GB root ext3
2 GB swap
60 GB home ext3

I created normal user, set password for root, make installation, at the end I saw this error "error occurred while installing grub" dialog with no content inside, so I cannot give more details.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Forgotten User DVG0Sx8gYR 2009-07-18 15:15:11 UTC
I have the same problem with installing grub using the Milestone 3 DVD (build 146).

On console 1, an error is reported:

sh: line 1: 29544 Done                    cat /etc/grub.conf
     29544 Segmentation fault      (core dumped) | /usr/sbin/grub --device-map=/boot/grub/device.map --batch > /var/log/YaST2/y2log_bootloader 2>&1

Unfortunately, /var/log/YaST2/y2log_bootloader has a 0 byte length, so it's no point in attaching it.

The log file created during the installation, /var/log/YaST2/y2log-1, only shows that the bootloader installation failed and gives no additional information.
Comment 2 Marcus Meissner 2009-07-19 09:16:39 UTC
does this happen again if you run it on the root cmdline?>

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

If yes, can you run it in gdb?

gdb /usr/bin/grub
r </etc/grub.conf --device-map=/boot/grub/device.map --batch
... SEGV ... 
(gdb) bt
Comment 3 macias - 2009-07-19 11:08:26 UTC
Marcus I am clearing needinfo on my side, not because I don't want to help, quite contrary, but I cannot now -- I get the notebook for installation, and now it has fully installed system (11.1). Sorry!

All I can say, that despite the error, grub was installed correctly the first time. Gnome/KDE does not matter (I tried both). When installation seemed to end, and this error about grub appeared, I just ignored it, and after restart I get perfectly operational grub.
Comment 4 Forgotten User DVG0Sx8gYR 2009-07-19 11:39:43 UTC
Created attachment 305987 [details]
cut and paste output

Hope this is enough. Unfortunately, there's no package available with the debug info for grub.

Grub does install correctly but, as can be seen from the output, it segfaults when quitting.
Comment 5 Marcus Meissner 2009-07-19 14:38:35 UTC
/boot/grub/device.map amnd /etc/grub.conf would be interesting too.

crash report is not so useful, I guess somewhere memory corruption happens.
Comment 6 macias - 2009-07-19 14:55:39 UTC
David, could you be so kind and get needinfo from me? Because as I said, I no longer have 11.2. Thanks in advance in both cases :-).
Comment 7 Forgotten User DVG0Sx8gYR 2009-07-19 15:05:17 UTC
Created attachment 305990 [details]
grub.conf
Comment 8 Forgotten User DVG0Sx8gYR 2009-07-19 15:05:51 UTC
Created attachment 305991 [details]
device.map
Comment 9 Forgotten User DVG0Sx8gYR 2009-07-19 15:08:34 UTC
Created attachment 305992 [details]
fstab

This wasn't requested, but I thought it may help a bit by putting the partitioning into context.
Comment 10 Forgotten User DVG0Sx8gYR 2009-07-19 15:13:31 UTC
(In reply to comment #6)
> David, could you be so kind and get needinfo from me? Because as I said, I no
> longer have 11.2. Thanks in advance in both cases :-).

I've already attached the requested files and can take over with any other requests quite easily. It's on my laptop and, actually more stable than the 10.1 and 10.3 it's replaced. Now I don't get hard locks when going onto battery.
Comment 12 Stephan Kulow 2009-10-03 14:19:09 UTC
fixed long time ago

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