Results 1 to 6 of 6

Thread: GRUB2 - prober names of found OS's

  1. #1
    Join Date
    Mar 2013
    Beans
    4

    GRUB2 - prober names of found OS's

    I have multiboot pc with grub2. Prober is active so it finds linux and windows. But I would like it to give another title to found Windows OS, like "W8" for instance. Now, I now I can do it manually by changing file that grub makes, but it's not supposed to be done that way and every time I would run update-grub it would have to be done again.

    So, is there a way to tell prober something like: when you find windows 8 name it W8?

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,723
    Distro
    Ubuntu

    Re: GRUB2 - prober names of found OS's

    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Mar 2013
    Beans
    4

    Re: GRUB2 - prober names of found OS's

    Sorry but that doesn't help. I don't want to use grub customizer but just edit script the right way.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,723
    Distro
    Ubuntu

    Re: GRUB2 - prober names of found OS's

    Quote Originally Posted by zardoz1971 View Post
    Sorry but that doesn't help. I don't want to use grub customizer but just edit script the right way.
    Then use a custom menu.

    Your /etc/grub.d folder contains a file for customizing your system.

    Unless you change the name of the system, OS-prober is going to keep grabbing the existing name of the windows system and use that.

    Setting a custom menu will allow you to set the name you want, and keep it that way.

    If you have inquiries about customizing grub, look over this thread:

    http://ubuntuforums.org/showthread.php?t=2076205
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GRUB2 - prober names of found OS's

    If you are serious about doing it the right way then you should download the Grub manual.

    http://www.gnu.org/software/grub/manual/
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB2 - prober names of found OS's

    Cavsfan converted thread to a help wiki.

    How to: Create a Customized GRUB2 Screen that is Maintenance Free.- Cavsfan
    https://help.ubuntu.com/community/Ma...tomGrub2Screen
    Older thread
    http://ubuntuforums.org/showthread.php?t=1542338

    You turn off os-prober and just copy entries you want into 40_custom (or 06_custom if you want them first).


    In /etc/default/grub I added this:
    gksudo gedit /etc/default/grub
    GRUB_DISABLE_OS_PROBER=true
    or turn off executeable bit
    sudo chmod a-x /etc/grub.d/30_os-prober


    Copy the windows entries from this:
    sudo cp -a /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
    gedit /boot/grub/grub.cfg
    Copy them to and edit only titles:
    gksudo gedit /etc/grub.d/40_custom
    Then do:
    sudo update-grub

    For more detail see cavsfan's thread posted several times previously or the wiki summary version.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

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