Results 1 to 7 of 7

Thread: Grub 2 Configuration - Suse 12.1

  1. #1

    Default Grub 2 Configuration - Suse 12.1

    This is a new install of Suse 12.1 , and first impressions are good, only 12 minutes to install, after I selected the software choices.

    I've had bad experiences with Grub2 in Ubuntu before, but on looking for the grub2 config files in Suse 12.1 they dont appear in
    the standard places.

    For a start there is no /boot/grub/grub.cfg file no diectrory /etc/grub.d/

    There is however an /etc/grub.conf file that contains:

    orac:/boot/grub # cat /etc/grub.conf
    setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd1,8)
    quit


    I am also surprised that my Grub2 menu contains the order presented in the file
    /boot/grub/menu.lst


    This could be better as it may be possible to edit this file and have all the ease of configuration
    of grub legacy with grub 2.

    I've found a howto with grub2 but this does not relate to the same file locations as in Suse

    GRUB 2 bootloader - Full tutorial


    The boot logo of Suse 12.1 looks as though its an 800x600 graphic screen and a little hazy
    on my LCD monitor @ 1280x1024.


    Looks like the last two grub2 links are broken on the opensuse pages:

    GRUB - openSUSE

    If anyone has any documentation relating to Suse grub2 please list below.
    First thing I will be doing is modifying the entries list and possibly changing the graphics.
    Thanks in advance.

  2. #2

    Default Re: Grub 2 Configuration - Suse 12.1

    Quote Originally Posted by hal8000 View Post
    For a start there is no /boot/grub/grub.cfg file no diectrory /etc/grub.d/

    There is however an /etc/grub.conf file that contains:

    orac:/boot/grub # cat /etc/grub.conf
    setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd1,8)
    quit
    These two files are not related and /etc/grub.conf (at least the one you posted) is not related to Grub2.
    If something refers to "/boot/grub/stage2", it will be related to Legacy Grub.

  3. #3

    Default Re: Grub 2 Configuration - Suse 12.1

    OK, thanks for the info. These are my grub files in Suse 12.1

    orac:/home/anc # find / -name grub*
    /boot/grub
    find: `/home/anc/.gvfs': Permission denied
    /etc/grub.conf.old
    /etc/grub.conf
    /usr/lib/grub
    /usr/share/man/man8/grub-md5-crypt.8.gz
    /usr/share/man/man8/grub-install.unsupported.8.gz
    /usr/share/man/man8/grub.8.gz
    /usr/share/augeas/lenses/dist/grub.aug
    /usr/share/YaST2/include/bootloader/grub
    /usr/share/vim/vim73/syntax/grub.vim
    /usr/share/vim/vim73/ftplugin/grub.vim
    /usr/share/info/grub.info.gz
    /usr/share/doc/packages/grub
    /usr/sbin/grub-install
    /usr/sbin/grub-install.unsupported
    /usr/sbin/grub-md5-crypt
    /usr/sbin/grubonce
    /usr/sbin/grub

    Is it possible that grub2 is using the stanzas in /boot/grub/menu.lst which is also grub legacy?

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,344

    Default Re: Grub 2 Configuration - Suse 12.1

    Are you under the impression that grub2 is installed by default. No!! Still uses the old grub though grub 2 is available if you are adventures.

  5. #5

    Default Re: Grub 2 Configuration - Suse 12.1

    Quote Originally Posted by hal8000 View Post

    Is it possible that grub2 is using the stanzas in /boot/grub/menu.lst which is also grub legacy?
    No. Grub2 doesn't use menu.lst. It uses /boot/grub/grub.cfg, which get automatically generated after a kernel update (for example) or by running update-grub manually. Users are not supposed to edit this file - although it's possible if you understand the syntax - which is btw totally different from Legacy Grub's.

  6. #6

    Default Re: Grub 2 Configuration - Suse 12.1

    That is my problem. I was thinking that grub2 was installed by default. Thanks for enlightening me.

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    30,938

    Default Re: Grub 2 Configuration - Suse 12.1

    And next time please post your computer texts between CODE tags. Makes it easier for you and us: Posting in Code Tags - A Guide
    Henk van Velden

Tags for this Thread

Posting Permissions

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