Results 1 to 5 of 5

Thread: Want grub in 9.1 to show only XP and active ubuntu

  1. #1
    Join Date
    Oct 2008
    Beans
    80

    Want grub in 9.1 to show only XP and active ubuntu

    I'm installing this for someone else who will never use or need to use any other option than "boot windows" or "boot ubuntu." Having anything else in grub will just confuse them.

    I can't figure out how to configure the new grub2 file properly in /etc/default/grub, which is what replaced the old list file - that's what google tells me, anyway.

    What do I need to do to make only 2 OSs show up on this?

  2. #2
    Join Date
    Oct 2007
    Location
    Colorado
    Beans
    190
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Want grub in 9.1 to show only XP and active ubuntu

    Quote Originally Posted by DnDer View Post
    I'm installing this for someone else who will never use or need to use any other option than "boot windows" or "boot ubuntu." Having anything else in grub will just confuse them.

    I can't figure out how to configure the new grub2 file properly in /etc/default/grub, which is what replaced the old list file - that's what google tells me, anyway.

    What do I need to do to make only 2 OSs show up on this?
    check out removing entries caveat: haven't tried this myself yet but i'm going to try as soon as I post

    http://ubuntuforums.org/showthread.php?t=1195275

  3. #3
    Join Date
    Oct 2008
    Beans
    80

    Re: Want grub in 9.1 to show only XP and active ubuntu

    Read it, didn't understand it. Also read the readme in /etc/geub.d/ and it didn't make a lot of sense, either.

    First time I've ever attempted something like this, so I know nothing about what I'm doing.

  4. #4
    Join Date
    Oct 2008
    Beans
    80

    Re: Want grub in 9.1 to show only XP and active ubuntu

    Down to 4 entries...

    generic 2.6.31-19, generic recovery 2.6.31-19, xp home, nt/2000/xp (which was never on the netbook to my knowledge... maybe that's the recovery console...)

    If I could just stack them in generic 2.6.31-19, xp home as my first two choices, then I'd be golden.

  5. #5
    Join Date
    Oct 2007
    Location
    Colorado
    Beans
    190
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Want grub in 9.1 to show only XP and active ubuntu

    ok, this is what i did:

    warning this will break your system if you make a mistake so be very sure you know what you are doing and you are willing to live with the consequences if you do make a mistake

    1) open up a terminal and type:

    Code:
    uname -r
    this is the kernel you want to keep: on my machine its 2.6.31-19-generic it may be different on your machine.

    so in synaptic package manager search "linux-headers" and and right click on the headers that aren't the output from uname -r. and click on "mark for complete removal"

    then search linux-image and do the same thing you just did for the header files (mark for complete removal) then click apply and reboot and you should just have memtest xp and ubuntu in grub. to get rid of memtest
    paste this command into a terminal

    Code:
    sudo chmod -x /etc/grub.d/20_memtest86+
    this is just a temporary fix because as soon as a new kernel is released you'll have that entry in the grub menu.

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
  •