unknown grub2 mac os x entries

for unknown reason, my grub2 is updated and 2 unknown same entries now pop up in boot menu. the entries read like below.

mac os x sdb3

my gparted seems alright and nothing changed.

my /root/grub2 directory is somehow updated today 9Sep (nothing special done, just apply updates offered)

linux-heq3:/boot/grub2 # 
linux-heq3:/boot/grub2 # ls -lt
total 56
-rw------- 1 root users 13950 Sep  9 21:34 grub.cfg
drwxr-xr-x 2 root users 12288 Sep  9 21:34 i386-pc
drwxr-xr-x 3 root users  4096 Jul 16 00:24 themes
drwxr-xr-x 2 root root   4096 Jul  6 15:33 backgrounds
-rw------- 1 root users   128 Jul  1 22:03 device.map
-rw-r--r-- 1 root users  1024 Jul  1 22:03 grubenv
drwxr-xr-x 2 root users  4096 Jul  1 22:03 fonts
drwxr-xr-x 2 root users  4096 Jul  1 22:03 locale
-rw-r--r-- 1 root users   128 Jul  1 21:58 device.map.old
linux-heq3:/boot/grub2 # 

what should I do now to fix?

Shall i simply reinstall grub2 by below?


[FONT=Droid Sans]grub2-mkconfig -o /boot/grub2/grub.cfg
[/FONT]
grub2-install /dev/sda

Thank you.

If you installed grub2 updates, grub2 is reinstalled during package installation configuration and configuration is rebuilt.

Shall i simply reinstall grub2 by below?

That is exactly what normally happens during grub2 package installation.

Run https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript and post results to SUSE Paste

here is the suse paste for bootinfoscript

SUSE Paste

Looking for next steps. Thank you.

Hi Andy,

your new entry points to “sdb”. This is generally not your main drive. Is it possible that you’ve had a pendrive, an external harddrive or iPod attached while updating?

Anyway. I don’t think this is a major issue. Try this:

  1. Make an update of your grub-configuration into your home-folder:
sudo cp /boot/grub2/grub.cfg ~/

In the very unlikely case something went wrong you can copy your old config back.

  1. Now generate a new config-file:
grub2-mkconfig -o    /boot/grub2/grub.cfg

(from: https://doc.opensuse.org/documentation/html/openSUSE/opensuse-reference/grub2.html like I did several times before)

  1. Reboot and see if that has done the trick

BTW You don’t need to reinstall grub2. The config-file should do well.

Hope I could help
Simon

Hmm … did you actually use bootinfoscript from the link I posted? Yours apparently cannot parse openSUSE grub2 properly. So unfortunately it is not clear what configuration you actually have - you have grub2 in MBR but it is unknown where it looks for its configuration. According to this output your /boot/grub2/grub.cfg is empty. And you have /boot/grub/grub.cfg which normally does not exist in openSUSE.

So yes, running grub2-mkconfig as was suggested may help - assuming your grub2 actually is looking for /boot/grub2/grub.cfg …

Could you also show your /etc/default/grub_installdevice?

I have run grub2-mkconfig and the erroneous mac os x entries have been gone.

hi arvidjaaar,

I was lazy enough not to paste the whole RESULTS.txt which is large. obviously i dont know much about the file. here is the full file.
https://skydrive.live.com/redir?resid=1A92BE1D6B3972CC!138&authkey=!ALvM8Z2BtLB0Tug

the /etc/default/grub_installdevice

(hd0,4)
activate
generic_mbr

hi simon,

yes its true that when the problem happened I was doing the update with a usb plugged in.

thank you.