Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Newly-installed Leap 42.1 OS not available in bootloader

  1. #11

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    Further, if bootcode should have been installed in both 13.2 and 42.1, how would I now install the bootcode in the second location?

  2. #12
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,917
    Blog Entries
    14

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    I think you're missing something: the MBR code is pointing to the GRUB install of your 13.2 . So, you need to boot 13.2, and use Yast's bootloader module ( f.e. change the delay from 8 to 7 seconds ) to force the bootloader configuration and install to be regenerated.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #13
    Peter_Abc NNTP User

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    On 15/06/16 17:56, w2tq wrote:
    >
    > Further, if bootcode should have been installed in both 13.2 and 42.1,
    > how would I now install the bootcode in the second location?


    >> Found Microsoft Windows XP Professional on /dev/sda1

    Found openSUSE 13.1 (x86_64) on /dev/sda6
    Found openSUSE 42.1 (x86_64) on /dev/sde5
    done
    linux-5:~ # <<
    Hi,
    I realised after posting my 1st reply that you have openSUSE 13.1
    reported by 'grub2-mkconfig -o /boot/grub2/grub.cfg' but you keep
    writing about 13.2. I have leap and 13.2 and kernel version looks like
    13.2 (but not latest).


    FYI, Knurpht and gogalthorp are the Linux Gurus in this thread and you
    should take their advice before anything I say. I am a novice and just
    an ordinary openSUSE user who is using a multi-boot pc with Leap 42.1 (2
    installs, Gnome and Xfce), openSUSE 13.2 KDE4, openSUSE 11.4 Gnome 2.32,
    Centos 6.8 and 7.2 and Mint 17.3 Xfce and I have been sorting out some
    issues recently. My system has Leap 42.1 Grub2 on MBR and on the other
    OSes not installed at all (but that may not be the best option?). I
    previously had Mint 17.3 as the Grub2 boot controller and accidentally
    forgot to opt out from installing Grub2 to MBR when upgrading 13.2 to
    Leap 42.1 Gnome. Thus when you install grub/2 to MBR on one OS it should
    take over from the other.

    How to install Grub2 to MBR
    As Knurpht advises, go to Yast2 (Control Center) ---> Boot Loader
    (Module) and go through the options there to install Grub2 for your
    preferred openSUSE OS. I have used that option a few times and it works
    good. Though all my OS partitions are on /dev/sda (one hdd on laptop)
    and my Linux fs are ext4.

    Cheers,
    Peter



  4. #14

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    Knurpht -

    Thank you. I do boot into 13.2 - that and the legacy 13.1 and Windows XP are the only options available on this pc. And the 13.2 installation is my main production workstation (with virtual machines, Win 7, etc.).

    What is missing from the bootloader menu is the 42.1 - I am currently unable, short of using a rescue disk, to log into 42.1

    I am now and have always been in 13.2. And I've accessed the Yast boot loader many times (see post #4 where I stated that 42.1 is now showing as an option). And have reloaded it as well.

    In the Yast bootloader, under the first tab (boot code options), under Boot Loader Location, the second of three (Boot from Root Partition) is checked. The first and third (Boot from Master Boot Record and Boot from Extended Partition) are not checked. "Set active Flag in Partition Table for Boot Partition" and "Write generic Boot Code to MBR" are also checked.

    The Kernel parameters (second tab) were left as is.

    The third tab, bootloader options, Timeout is now 8 seconds. If I understand your comment, I need to reduce that to 7. (I guess that is to make Yast think the configuration has changed, which I believe I accomplished previoulsy by unchecking and then re-checking a box.)

  5. #15

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    Knurpht -

    I just reloaded the bootloader configuration in Yast and rebooted. 42.1 is still missing from the bootloader menu on startup. And /etc/boot/grub2/grub.cfg bears a new date time. Here is the /grub.d/30_os_prober excerpt from grub.cfg (no change from before):
    Code:
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Microsoft Windows XP Professional (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-F87813377812F3DA' {
        insmod part_msdos 
        insmod ntfs
        set root='hd1,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd1,msdos1'  F87813377812F3DA
        else
          search --no-floppy --fs-uuid --set=root F87813377812F3DA
        fi
        drivemap -s (hd0) ${root}
        chainloader +1
    }
    menuentry 'openSUSE 13.1 (x86_64) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
        insmod part_msdos 
        insmod ext2
        set root='hd1,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
        else
          search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
        fi
        linux /boot/vmlinuz-3.11.10-25-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da resume=/dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW30724844-part5 splash=silent quiet showopts
        initrd /boot/initrd-3.11.10-25-desktop
    }
    submenu 'Advanced options for openSUSE 13.1 (x86_64) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
        menuentry 'openSUSE 13.1 (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.10-25-desktop--ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
            insmod part_msdos 
            insmod ext2
            set root='hd1,msdos6'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            else
              search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            fi
            linux /boot/vmlinuz-3.11.10-25-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da resume=/dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW30724844-part5 splash=silent quiet showopts
            initrd /boot/initrd-3.11.10-25-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.10-25-desktop (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.10-25-desktop--ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
            insmod part_msdos 
            insmod ext2
            set root='hd1,msdos6'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            else
              search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            fi
            linux /boot/vmlinuz-3.11.10-25-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da resume=/dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW30724844-part5 splash=silent quiet showopts
            initrd /boot/initrd-3.11.10-25-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.10-25-desktop (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.10-25-desktop--ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
            insmod part_msdos 
            insmod ext2
            set root='hd1,msdos6'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            else
              search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            fi
            linux /boot/vmlinuz-3.11.10-25-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
            initrd /boot/initrd-3.11.10-25-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.10-7-desktop (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.10-7-desktop--ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
            insmod part_msdos 
            insmod ext2
            set root='hd1,msdos6'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            else
              search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            fi
            linux /boot/vmlinuz-3.11.10-7-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da resume=/dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B0_WD-WCAW30724844-part5 splash=silent quiet showopts
            initrd /boot/initrd-3.11.10-7-desktop
        }
        menuentry 'openSUSE 13.1, with Linux 3.11.10-7-desktop (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.10-7-desktop--ab9c0fc1-ab45-4432-85aa-95d1213ea0da' {
            insmod part_msdos 
            insmod ext2
            set root='hd1,msdos6'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd1,msdos6'  ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            else
              search --no-floppy --fs-uuid --set=root ab9c0fc1-ab45-4432-85aa-95d1213ea0da
            fi
            linux /boot/vmlinuz-3.11.10-7-desktop root=UUID=ab9c0fc1-ab45-4432-85aa-95d1213ea0da showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
            initrd /boot/initrd-3.11.10-7-desktop
        }
    }
    
    menuentry 'openSUSE 42.1 (x86_64) (on /dev/sde5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-0f039c98-77ff-45ba-9c39-a16194c124be' {
        insmod part_msdos 
        insmod btrfs
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 --hint='hd0,msdos5'  0f039c98-77ff-45ba-9c39-a16194c124be
        else
          search --no-floppy --fs-uuid --set=root 0f039c98-77ff-45ba-9c39-a16194c124be
        fi
        linux /@/.snapshots/1/snapshot/boot/vmlinuz-4.1.21-14-default root=UUID=0f039c98-77ff-45ba-9c39-a16194c124be ${extra_cmdline} resume=/dev/disk/by-uuid/c7dbed1d-6fb7-489b-8737-bd866c0f915d splash=silent quiet showopts
        initrd /@/.snapshots/1/snapshot/boot/initrd-4.1.21-14-default
    }
    submenu 'Advanced options for openSUSE 42.1 (x86_64) (on /dev/sde5)' $menuentry_id_option 'osprober-gnulinux-advanced-0f039c98-77ff-45ba-9c39-a16194c124be' {
        menuentry 'openSUSE Leap 42.1 (on /dev/sde5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/.snapshots/1/snapshot/boot/vmlinuz-4.1.21-14-default--0f039c98-77ff-45ba-9c39-a16194c124be' {
            insmod part_msdos 
            insmod btrfs
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 --hint='hd0,msdos5'  0f039c98-77ff-45ba-9c39-a16194c124be
            else
              search --no-floppy --fs-uuid --set=root 0f039c98-77ff-45ba-9c39-a16194c124be
            fi
            linux /@/.snapshots/1/snapshot/boot/vmlinuz-4.1.21-14-default root=UUID=0f039c98-77ff-45ba-9c39-a16194c124be ${extra_cmdline} resume=/dev/disk/by-uuid/c7dbed1d-6fb7-489b-8737-bd866c0f915d splash=silent quiet showopts
            initrd /@/.snapshots/1/snapshot/boot/initrd-4.1.21-14-default
        }
        menuentry 'openSUSE Leap 42.1, with Linux 4.1.21-14-default (on /dev/sde5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/.snapshots/1/snapshot/boot/vmlinuz-4.1.21-14-default--0f039c98-77ff-45ba-9c39-a16194c124be' {
            insmod part_msdos 
            insmod btrfs
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 --hint='hd0,msdos5'  0f039c98-77ff-45ba-9c39-a16194c124be
            else
              search --no-floppy --fs-uuid --set=root 0f039c98-77ff-45ba-9c39-a16194c124be
            fi
            linux /@/.snapshots/1/snapshot/boot/vmlinuz-4.1.21-14-default root=UUID=0f039c98-77ff-45ba-9c39-a16194c124be ${extra_cmdline} resume=/dev/disk/by-uuid/c7dbed1d-6fb7-489b-8737-bd866c0f915d splash=silent quiet showopts
            initrd /@/.snapshots/1/snapshot/boot/initrd-4.1.21-14-default
        }
    }
    ### END /etc/grub.d/30_os-prober ###
    I am unable to figure out why 42.1 is not captured. Peter_Abc mentioned bootcode on the 42.1 partition (see posts 9-11).

    What a puzzle!

  6. #16

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    Peter_Abc -

    The 13.1 and 42.1 os_prober was obtained from 13.2. I no longer boot into 13.1 (or XP). Default is 13.2 on /dev/sde; 13.1 is on /dev/sda.

  7. #17
    Peter_Abc NNTP User

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    On 15/06/16 07:46, w2tq wrote:
    >
    > While waiting for a response to my query immediately above, I ran
    > grub2-mkconfig, but the menu remains without the 42.1 entries, even
    > though the YaST bootloader lists them:
    >
    >
    > Code:
    > --------------------
    > linux-5:~ # grub2-mkconfig -o /boot/grub2/grub.cfg
    > Generating grub configuration file ...
    > Found theme: /boot/grub2/themes/openSUSE/theme.txt
    > Found linux image: /boot/vmlinuz-3.16.7-21-desktop
    > Found initrd image: /boot/initrd-3.16.7-21-desktop
    > Found linux image: /boot/vmlinuz-3.16.7-7-desktop
    > Found initrd image: /boot/initrd-3.16.7-7-desktop
    > WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
    > No volume groups found
    > Found Microsoft Windows XP Professional on /dev/sda1
    > Found openSUSE 13.1 (x86_64) on /dev/sda6
    > Found openSUSE 42.1 (x86_64) on /dev/sde5
    > done
    > linux-5:~ #
    >
    >
    > --------------------
    >
    >
    > I don't think the lvmetad warning applies in my situation, but I may be
    > wrong about that.
    >
    > (I hope that I do not have to uninstall and then re-install grub2.)
    >

    From your first post:
    >>

    /dev/sde 476.94 GB

    /dev/sde1 2.01 GB Linux swap Swap swap
    [SuSE 13.2]
    /dev/sde2 99.61 GB Linux native Ext4 /

    /dev/sde3 375.31 GB Extended
    /dev/sde5 375.31 GB F Linux native BtrFS /
    [Leap 42.1]

    <<
    What is going on here?
    [SuSE 13.2]
    /dev/sde2 99.61 GB Linux native Ext4 /

    Found openSUSE 13.1 (x86_64) on /dev/sda6

  8. #18
    Peter_Abc NNTP User

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    On 15/06/16 20:06, w2tq wrote:
    >
    > Peter_Abc -
    >
    > The 13.1 and 42.1 os_prober was obtained from 13.2. I no longer boot
    > into 13.1 (or XP). Default is 13.2 on /dev/sde; 13.1 is on /dev/sda.
    >

    Now I see you also have 13.1 on /dev/sda.
    ..
    This problem is over my head and I will just post a copy of my leap 42.1
    /etc/default/grub file (which is editable) in case it is of any help to
    use as a guide and let the experts try to help you sort your issues out.


    >>

    # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
    # For the new kernel it try to figure out old parameters. In case we are
    not able to recognize it (e.g. change of flavor or strange install order
    ) it it use as fallback installation parameters from
    /etc/sysconfig/bootloader

    # If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg'
    afterwards to update
    # /boot/grub2/grub.cfg.
    GRUB_DISTRIBUTOR=""
    GRUB_DEFAULT=saved
    GRUB_SAVEDEFAULT=true
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_CMDLINE_LINUX_DEFAULT="showopts"
    # kernel command line options for failsafe mode
    GRUB_CMDLINE_LINUX_RECOVERY=single
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=auto
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to
    Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY=true
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    # Skip 30_os-prober if you experienced very slow in probing them
    # WARNING foregin OS menu entries will be lost if set true here
    GRUB_DISABLE_OS_PROBER=false
    # Set to 'y' for grub to be installed on an encrypted partition
    GRUB_ENABLE_CRYPTODISK=n
    #SUSE_BTRFS_SNAPSHOT_BOOTING=true
    GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
    GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
    <<
    The following are my mods:
    GRUB_SAVEDEFAULT=true (I added this line)
    GRUB_TIMEOUT=10 (original time is 0)
    GRUB_CMDLINE_LINUX_DEFAULT="showopts" (original is: "quiet splash=silent")
    #SUSE_BTRFS_SNAPSHOT_BOOTING=true (normally enabled)

  9. #19
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,917
    Blog Entries
    14

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    I'd like to see output of
    Code:
    cat /boot/grub2/grub.cfg
    cat /boot/grub2/device.map
    sudo fdisk -l
    uname -a
    cat /etc/os-release
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  10. #20

    Default Re: Newly-installed Leap 42.1 OS not available in bootloader

    Knurpht -

    Thanks. Because of the size, I had to break this up into three parts.

    cat /boot/grub2/grub.cfg:
    Code:
    linux-5:~ # cat /boot/grub2/grub.cfg
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub2-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -f ${config_directory}/grubenv ]; then
      load_env -f ${config_directory}/grubenv
    elif [ -s $prefix/grubenv ]; then
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="${saved_entry}"
    fi
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then                                                                       
        saved_entry="${chosen}"                                                                            
        save_env saved_entry                                                                               
      fi                                                                                                   
    }                                                                                                      
                                                                                                           
    function load_video {                                                                                  
      if [ x$feature_all_video_module = xy ]; then                                                         
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    
    if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_msdos 
    insmod ext2
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
    else
      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
    fi
        font="/usr/share/grub2/unicode.pf2"
    fi
    
    if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=POSIX
      insmod gettext
    fi
    terminal_output gfxterm
    insmod part_msdos 
    insmod ext2
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
    else
      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
    fi
    insmod gfxmenu
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
    loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
    insmod png
    set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
    export theme
    if [ x${boot_once} = xtrue ]; then
      set timeout=0
    elif [ x$feature_timeout_style = xy ] ; then
      set timeout_style=menu
      set timeout=8
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
      set timeout=8
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'openSUSE' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_msdos 
            insmod ext2
            set root='hd0,msdos2'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
            else
              search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
            fi
            echo    'Loading Linux 3.16.7-21-desktop ...'
            linux   /boot/vmlinuz-3.16.7-21-desktop root=UUID=3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c   resume=/dev/sde1 splash=silent quiet showopts elevator-deadline
            echo    'Loading initial ramdisk ...'
            initrd  /boot/initrd-3.16.7-21-desktop
    }
    submenu 'Advanced options for openSUSE' $menuentry_id_option 'gnulinux-advanced-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
            menuentry 'openSUSE, with Linux 3.16.7-21-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-21-desktop-advanced-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_msdos 
                    insmod ext2
                    set root='hd0,msdos2'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    else
                      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    fi
                    echo    'Loading Linux 3.16.7-21-desktop ...'
                    linux   /boot/vmlinuz-3.16.7-21-desktop root=UUID=3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c   resume=/dev/sde1 splash=silent quiet showopts elevator-deadline
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-3.16.7-21-desktop
            }
            menuentry 'openSUSE, with Linux 3.16.7-21-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-21-desktop-recovery-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_msdos 
                    insmod ext2
                    set root='hd0,msdos2'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    else
                      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    fi
                    echo    'Loading Linux 3.16.7-21-desktop ...'
                    linux   /boot/vmlinuz-3.16.7-21-desktop root=UUID=3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-3.16.7-21-desktop
            }
            menuentry 'openSUSE, with Linux 3.16.7-7-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-7-desktop-advanced-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_msdos 
                    insmod ext2
                    set root='hd0,msdos2'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    else
                      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    fi
                    echo    'Loading Linux 3.16.7-7-desktop ...'
                    linux   /boot/vmlinuz-3.16.7-7-desktop root=UUID=3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c   resume=/dev/sde1 splash=silent quiet showopts elevator-deadline
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-3.16.7-7-desktop
            }
            menuentry 'openSUSE, with Linux 3.16.7-7-desktop (recovery mode)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.7-7-desktop-recovery-3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_msdos 
                    insmod ext2
                    set root='hd0,msdos2'
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 --hint='hd0,msdos2'  3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    else
                      search --no-floppy --fs-uuid --set=root 3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c
                    fi
                    echo    'Loading Linux 3.16.7-7-desktop ...'
                    linux   /boot/vmlinuz-3.16.7-7-desktop root=UUID=3f4e9ab8-6c4a-4cc6-a7ce-c4b20daa200c  showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/initrd-3.16.7-7-desktop
            }
    }
    
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    Parts 2 (second half of cat /boot/grub2/grub.cfg) and 3 to follow.

Page 2 of 4 FirstFirst 1234 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
  •