Need to edit grub?

Discussion in 'all things UNIX' started by colinp, Dec 18, 2008.

Thread Status:
Not open for further replies.
  1. colinp

    colinp Registered Member

    Joined:
    Feb 9, 2008
    Posts:
    46
    A quick question. I have just installed Xubuntu as a dual boot with XP. However, I wanted ubuntu desktop (installed the wrong version), so I have just downloaded the desktop version and will delete the xubuntu partitions and install desktop, but will it overwrite or replace with a new grub, or will it just add a new entry for desktop and leave the entry for X, that of course will no longer be there.
    So, will I have to edit grub and take out the non-existent reference to xubuntu?

    I have grub on hd0, which is the C partition in windows, then the "/" and "swap" are the next two partitons that will be deleted, then re-created with ubuntu desktop.

    Colin
     
  2. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    it should edit it for you, or more likely start from scratch i think. whatever, it's not difficult to edit grub even if it's wrong you can find it at /boot/grub/menu.lst

    you could have just installed the gnome desktop from xubuntu and logged into gnome at the login.
     
  3. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
  4. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,221
    Hello,

    The installer will take care of GRUB, no worries.
    When you install the new distro, if you format the root partition, the GRUB menu will also be gone, so you'll get a brand new one.

    The beauty of GRUB is that the menu itself sits anywhere you want, on any partition. The Partition Table (MBR) part is merely a pointer to this file.

    Mrk
     
  5. colinp

    colinp Registered Member

    Joined:
    Feb 9, 2008
    Posts:
    46
    Thanks, that's kind of what I thought. So I will install ubuntu this weekend, even though xubuntu works just fine.
    So once again, thanks guys.

    Colin
     
  6. colinp

    colinp Registered Member

    Joined:
    Feb 9, 2008
    Posts:
    46
    Installed ubuntu this morning and grub is working just fine, all references to x is gone. I must say desktop is much nicer than xubuntu.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.