Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: LEAP 42.2 Grub2 problem

  1. #1
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default LEAP 42.2 Grub2 problem

    Hi all,


    I have the problem with boot again.
    Till now I was able to upgrade my OS without big issue.


    But last week when I update from 13.2 to Leap 42.2, Now the opensuse is not loading.


    My first bootscreen is still on Windows (I am using windows boot screen first, then it will load Grub),
    When I select Opensuse, it will say that loading Grub2... not do noting.


    I guess something is wrong with the Grub2.


    Please help.


    Rahul

  2. #2
    Join Date
    Jun 2008
    Location
    Yorkshire
    Posts
    226

    Default Re: LEAP 42.2 Grub2 problem

    That sounds more like a windows problem than grub. If windows is supposed to load grub but won't.
    It would be better to boot with grub and have windows as default if that's your preference.
    Pete

  3. #3
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default Re: LEAP 42.2 Grub2 problem

    Hi,

    It was working fine for Opensuse 11.4 till 13.2


    but as soon as I upgrade to LEAP 42.2 it stopped.


    I prefer to boot from Windows.


    -Rahul

  4. #4

    Default Re: LEAP 42.2 Grub2 problem

    Quote Originally Posted by rahulcvv View Post
    I am using windows boot screen first, then it will load Grub
    Start with describing how you configured Windows to load grub. The more details you provide the more likely someone can help.

  5. #5
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default Re: LEAP 42.2 Grub2 problem

    I have ran following command

    Code:
    grub
    grub> find /boot/grub/stage2
     (hd0,8)
    grub> root (hd0,8)
     Filesystem type is ext2fs, partition type 0x83
    grub> setup (hd0,8)
     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,8)"... failed (this is not fatal)
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,8)"... failed (this is not fatal)
     Running "install /boot/grub/stage1 (hd0,8) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
    Done. grub>quit
    

    After that

    Code:
    dd if=/dev/sda4 of=/mnt/windows/suse.bin bs=512 count=1
    then copied suse.bin to Windows drive in C:


    then created a boot.ini file like this

    Code:
    [boot loader] 
    timeout=0
    default=multi(0)disk(0)rdisk(1)partition(1)c:\suse.bin
    [operating systems]
     c:\suse.bin="openSUSE"

  6. #6
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default Re: LEAP 42.2 Grub2 problem

    Now when I select opensuse in the boot screen,

    It shows "loading grub stage2".

    so I guess, the part with Windows boot loader must worked fine, since it load grub stage1.

    The problem is it couldn't load stage2.

  7. #7

    Default Re: LEAP 42.2 Grub2 problem

    Quote Originally Posted by rahulcvv View Post
    Code:
    grub
    grub> find /boot/grub/stage2

    Your title says "grub2" and your commands show grub legacy. So which one is correct?
    Code:
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,8)"... failed (this is not fatal)
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,8)"... failed (this is not fatal)
     Running "install /boot/grub/stage1 (hd0,8) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
    Done.

    Did you run these commands before or after update of openSUSE to 42.2?

  8. #8
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default Re: LEAP 42.2 Grub2 problem

    I thought opensuse 11.4 onwards runs on Grub2.




    I ran all those command when I installed 11.4.
    After that I only upgrade the system, didn't do anything about grub, because everything works perfectly.




    Now after 42.2 I can't boot or can give "grub" in the command line

  9. #9

    Default Re: LEAP 42.2 Grub2 problem

    Quote Originally Posted by rahulcvv View Post
    I thought opensuse 11.4 onwards runs on Grub2.
    How is system default related here? You run these commands, not system. It was your choice to use grub legacy.
    I ran all those command when I installed 11.4.
    After that I only upgrade the system, didn't do anything about grub, because everything works perfectly.
    In this case what most likely happened - during upgrade grub package was updated and replaced files in /boot/grub. Because in your case stage1.5 could not be embedded, grub bootblock contains reference to absolute disk location. When stage2 file was replaced, this disk location now contains undefined content. It is hard to tell more precisely, but error picture is very similar.
    Now after 42.2 I can't boot or can give "grub" in the command line
    Boot install DVD in rescue mode, chroot and run the same commands again (including copying bootblock to Windows after that).

  10. #10
    Join Date
    May 2011
    Location
    Germany
    Posts
    128

    Default Re: LEAP 42.2 Grub2 problem

    Thanks.
    Now the grub is working after the chroot.

    But couldn't find stage2

    Code:
    grub> find /boot/grub/stage2
    Error 15: File not found
    What should I do now?
    Is there any way to install stage2, or other better way to solve the issue?

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •