Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

removing grub

  • 16-11-2007 9:44pm
    #1
    Registered Users, Registered Users 2 Posts: 1,445 ✭✭✭


    i have ubuntuand vista on a sony laptop and i want to get rid of ubuntu as i have it on another dsktop now. How do i get rid of grub and make windows boot. Have searched the web how to do it but as i dont have a vista dvd i can find out how can anyone please help me
    thanks
    rory


Comments

  • Registered Users, Registered Users 2 Posts: 1,606 ✭✭✭djmarkus


    unless you've backed up your MBR you're pretty fooked, you can get grub to boot a windows partition though


  • Closed Accounts Posts: 13,874 ✭✭✭✭PogMoThoin


    just edit the gruloader & set it to zero seconds, also set it to boot the 4th os by default, ie Windows. You'll never know its there :)


    Found this for ya,
    Configure GRUB

    If you want to modify how GRUB handles the new dualbooting environment, you need to edit the boot menu. Boot into Ubuntu and open up a Terminal window (Applications, Accessories, Terminal), and type in:

    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_bak

    and enter your root password when asked - this makes a backup of the GRUB menu file just in case things go wrong.

    Next, type in:

    sudo gedit /boot/grub/menu.lst

    This opens up the boot menu as a text file in gedit.

    There are loads of options you can change, but only a couple that you’re likely to be interested in. The default boot entry is defined by the “default” value.

    The default value is 0, which means that the first entry in the list (which is Ubuntu) always gets loaded.

    If you want to make it so that Windows Vista loads by default, change the value to 4, as Vista is the fifth item in the list (the numbering system starts at 0 and "Other operating systems" counts as a line).

    The other way to load Windows Vista by default is to change the value for “default” from a numerical value to “saved”. Then, GRUB will load whichever boot entry has been marked with “savedefault”.

    If you scroll down the list and have a look at the entries, you’ll notice that both the main Ubuntu entry and Windows Vista have been marked with “savedefault”. Remove the value for Ubuntu and Windows Vista will launch by default.

    It's also worthwhile changing the description of the Vista entry from "Windows Vista/Longhorn (loader" to just "Windows Vista".

    You can also increase the boot menu timeout – just change the value for “timeout”. You can also hide the GRUB boot menu by removing the hash in front of “hiddenmenu”. Save and exit gedit to keep any changes.

    If instead of GRUB you want Vista's bootloader to be in charge, load up the Vista installation and install EasyBCD. Go to “Manage Bootloader”, then “Reinstall the Vista Bootloader”, an GRUB is overwritten. You can then configure the Vista bootloader to add Linux to the boot menu.


  • Registered Users, Registered Users 2 Posts: 1,445 ✭✭✭jd83


    only saw this now but i download a program called bcd and it fixed the problem in 2 secs. but thanks anyway for your help


  • Registered Users, Registered Users 2 Posts: 2,082 ✭✭✭Tobias Greeshman


    You've solved it, but I'll post this anyways

    Actually can't guarantee this will work in vista, but will with XP:

    Boot with the XP master CD, and go into the recovery console, and type the command 'fixmbr', this will just rewrite the old mbr code back, before it was overwritten by grub.

    eg. > fixmbr \Device\Harddisk(0)


Advertisement