Results 1 to 4 of 4

Thread: grub menu has names of 2 partitions switched

  1. #1
    Join Date
    Mar 2011
    Beans
    11

    grub menu has names of 2 partitions switched

    I installed kubuntu into its own partitions on my laptop drive which already had a windows recovery partition and a windows partition. Everything runs correctly except that the grub menu has mislabelled the 2 windows partitions.

    It has my main windows partition labeled as the recovery partition, and my recovery partition is labelled as the main windows partition.

    From what I can tell, it's getting this info from probing the available OS info? How can I fix this? When I checked the 30_os_prober file, it just has code to get the "LONGNAME" automatically, instead of a way for me to specify the names.

    I also looked at getting "Grub Customizer" but when I try to install it, it says it requires a bunch of other files, and then it says it is impossible to install those other files.

    Sooooo... If anyone can point out how I can update my menu the right way, since I know I'm not supposed to edit the grub.cfg file directly. (can I though, if I make a backup of it?)

    Thanks!

  2. #2
    Join Date
    Aug 2010
    Location
    Wales
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: grub menu has names of 2 partitions switched

    If you update the grub.cfg file when you do
    Code:
    update-grub
    all your changes will be overwritten. You can instead update the files in grub.cfg.d which will take effect by doing
    Code:
    sudo update-grub
    Perseverance will succeed (usually)
    ubuntu user -32597 - linux user - 526569
    Wireless Info Script
    Blog

  3. #3
    Join Date
    May 2007
    Beans
    12,192

    Re: grub menu has names of 2 partitions switched

    In addition, any time you do a routine Ubuntu update that replaces the kernel version, GRUB.CFG then gets overwritten -- again. So, making a backup is not really a good idea.
    Mint 15 & 16; MS Win7 & Win8.1.
    Will not respond to PM requests for support -- use the forums.

  4. #4
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: grub menu has names of 2 partitions switched

    drs305 long ago posted a way, but for most he recommends the grub customizer.

    HOWTO: Grub Customizer
    http://ubuntuforums.org/showthread.php?t=1664134

    drs305 wrote a Grub 2 Tweaks guide but it's pretty geeky stuff. If you are interested in editing the Grub2 scripts to rename a title, see Section 7 of the "Tweaks" link
    includes line to limit display to two
    Grub 2 Title Tweaks Thread -drs305
    http://ubuntuforums.org/showpost.php...54&postcount=1
    Grub 2 Title Tweaks-drs305
    http://ubuntuforums.org/showthread.php?t=1287602

    Copy entries to 40_custom from grub.cfg and edit.
    Vista names reversed in grub2 menu
    http://ubuntuforums.org/showthread.php?t=1692562
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.




Tags for this Thread

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
  •