Hi,
I’ve installed Win7 on my laptop where was installed openSuse 12.3 x86_64 and now i can’t restore grub.
I was trying two methods to restore grub:
-
I tried to follow the instructions described here.
As Linux Live I used openSuse 12.3 KDE x86_64.
There was the ‘segmentation fault’ error after the command ‘chroot mnt’.
-
Second method is described here.
Everything looked fine, but after reboot Windows started loading automatically.
Have you ever met similar problems? Or have any hints how to deal with these?
Thanks in advance,
Michal.
Please describe what you did, step by step; not what someone else did. Not to mention that one of your links is about grub and another - grub2. You obviously could not have both active at the same time.
Sould not seg but if you used the chroot command you told us it is wrong chroot /mnt would be correct
If this a UEFI machine? If so Windows likes to take over. You may have to go to the UEFI boot menu and change what default boots.
In any case more info is needed. We had to lay off our mind reader.
Hi,
thanks for your replies.
Now I can see that I made a lot of mistakes during the process of restoring my grub.
First of all, my laptop is UEFI machine and in the UEFI menu there is option to boot openSUSE. But I made big mistake trying to restore grub instead of grub2 and now there’s error message informing that “filesystem type unknown”.
As I guess there’s need to restore grub2 to fix this error, am I right?
Not sure what you did??? In a UEFI machine you don’t install to the MBR There is now a a special partition /efi/boot partition.So not knowing how things are messed up there is no way to say how to correct things. Need more input as Johnny 5 would say. A start would be a gdisk /dev/sdX to show use the current layout substitute the letter of the drive for X probably sda
Some of my posts were removed “due to an unexpected issue…”.
I reinstalled the OS and now GRUB2 is correctly working. Just need to find a time to force UEFI loader to start GRUB2 EFI as default bootloader (Win7 is still loaded by default). But it’s now very important for me.
Thanks for your help.