Ubuntu Installation :: Can I Remove Grub / Make Windows Boot Loader Default
Aug 31, 2010
I have Windows 7 and Ubuntu 10.04 dual-booted on my machine. grub was aautomaticlu installed as the primary loader. Soon i want to nuke my ubuntu partition but i know that will delete grub. Can i remove grub or at least make Windows boot loader default.
I am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10. I have entered the command gksudo gedit /boot/grub/menu.lst into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.
Background: I am dual booting Debian and Window 7. Wanted to make windows-loader default and hide grub if possible. Google search took me here: [URL].... (third answer, about editing grub)
Make Windows (ANY variant) the default Grub2 menu option. Description: This sets Windows as the default boot option, and (with NO user action) the PC will auto-launch Windows on startup.
STEPS: A. sudo update-grub #List your current menu items B. Edit setup file sudo gedit /etc/default/grub GRUB_DEFAULT=”Windows 7 (loader) on /dev/sda1″ #Set the boot default to your Windows boot partition [WARNING: Just setting 'GRUB_DEFAULT=n', will NOT work after kernel updates, etc. Save the file and close.] sudo update-grub
Question: I must have done something wrong, for update-grub (as root) now gives this: "/usr/sbin/grub-mkconfig: 6: /etc/default/grub: 2: not found"
What should I do now to make grub as it was in the beginning?
[By the way, it's been very difficult to get Debian related pages...]
I just made my system unbootable... Here is what i did.. I have two sata HDDs
160 GB (Contained Windows 7) 500 GB
I copied entire 160 gb as an mirrored image to 500GB HDD using Acronis Disk Director. I deleted entire 160 GB HDD.. Removed the 500 GB HDD and kept it seperate.. Installed ClearOS Enterprise 5.2 Worked a little bit... The i wanted to delete ClearOS.. So i connected 500GB HDD and booted again in Acronis Disk director Formated the entire 160GB HDD.. Copied back the entire 160 from 500GB HDD.. Now my sytem refuses to boot... Just 4 letters "GRUB" appears on the screen... I tried booting using XP CD.. It gives a blue screen.. I tried Windows 7 CD.. It says unable to fix due to MBR problem..
I've had to give up trying to install linux. It just won't work on my machine, a Presario 6370us that has been upgraded over the years such that it is not compatible with linux, apparently. (You can read my travails elsewhere on this board; thanks very much to all who tried to help.)
Now, how do I remove the GRUB boot loader from my system? I need the system to boot directly to Windows XP.
I can't start linux in any way, shape, or form, so I need to either edit GRUB inside the GRUB environment itself, or to do so from Windows.
Ideally, I'd like to remove GRUB entirely. Failing that, I'd like to edit the GRUB config file so that only Windows is an option. Failing that, I need to make Windows the default OS.
I installed Ubuntu 11.04 64-Bit via Wubi but it seems that when I turn on my machine I first get the Windows Boot Loader, when I select Ubuntu from the list it then goes into GRUB with the option to select Ubuntu or Windows. Is there any way to change this so only GRUB is used?
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
I tried to install linux on hard disk and it installed without any problem. However, when i boot i directly get the windows boot loader screen and no grub screen. I reinstalled linux. I tried to fix grub, but still no grub screen.
I installed Ubuntu 11.04 on a separate partition, with Grub being in it own partition. When I start the PC only windows Xp is available. So how do I get grub or Ubuntu load with windows xp boot loader? I tried with Live cd, the sudo grub but then it says command not found. I think its because Ubuntu 11.04 uses grub 2.
I had a dual boot machine with fedora 12 and windows vista and I could use grub boot-loader to switch between two. Few days ago windows got corrupt and I have to reinstall it. I put windows 7 now and as usual it erased grub. So to reinstall I put the fedora 12 installation CD on and followed some usual setup steps. When I got the command line I issued the command "grub-install /dev/sda" (sda not hda because It showed bunch of sda, sda1..) but surprisingly it said grub command not found. I remember doing it before while it worked fine.
I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):
I have been unable to locate an answer to the below.Just installed 10.10 server and noticed that during boot each time the Grub Menu pops up. I have to manually press a key on my keyboard each time to get through this menu. This is a big problem as this is going to be administered remotely. here is my /boot/grub/grub.cfg file
Code: # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates[code].......
Now, It seems to me that with the settings above that menu should time out after a few seconds but it is not. I must press enter each time.how I can get this damn thing to timeout after a few seconds?
One thing I notice and hope someone here can steer me in the right direction. When I start up my computer I have the list of options to choose from, if I choose to boot into Win 7 I am the presented again with another boot menu from windows. I would like to remove the Windows boot loader.
i've a little problem with the grub loader. I've two OS in my laptot: Ubuntu 9.10 Karmic Koala 64bit and Windows 7 64bit. But i can't boot Windows 7 from the grub loader. The grub still load the /dev/sda1 partition that is the recovery partition of the laptot, while windows 7 is in the partition /dev/sda6. I tried to modify the path in the grub.cfg, but still load the wrong partition, how i can do?
I recently installed ubuntu 9.10 32 bit using live cd onto a recently new Dell machine with windows7.
Everything was fine for a couple of weeks, but last night I got the error code...
Looking into the forums, I see that maybe I need to re-install grub 2. When I started probing using fdisk, I saw that the boot partition was my windows partition. So, I thought I would ask to find out if this looks right before I start making things worse code...
I just installed Fedora 11 (I installed over the Fedora 10 installation I had already installed)..
-Before I would have Grub give the choice of Fedora 10 or Windows (Where Windows would load the Win Boot loader for my options of Windows 7 and Windows Vista)
-NOW: I have the same options.. But when i select Windows (It loads the Recovery partition) instead of the Windows Boot Loader...
Here is my fdisk -l
Device Boot Start End Blocks Id System /dev/sda1 1 192 1536000 27 Unknown Partition 1 does not end on cylinder boundary. /dev/sda2 192 5414 41943040 7 HPFS/NTFS Partition 2 does not end on cylinder boundary. code....
I have triple booted Windows XP (195 GB)partition 0? the second partition is Windows 7 (195 GB)And the rest of a 1TB hard drive went to Open Suse 11.3. if it makes any difference I used g parted to create the three partitions and made them all primary. My problem is I want to change the way they all get along. When I boot up, I get the options;
Desktop -- openSUSE 11.3-2.6.34-12 Failsafe -- openSUSE 11.3-2.6.34-12 windows 1 windows 2
which is fine, but clicking on windows 1 takes me to the windows boot loader with the options of windows 7, or previous version of windows. clicking on windows 2 brings up a screen telling me " rootnoverify (hd0,1) chainloader +1 BOOTMGR is missing press ctrl+alt+del to restart" I would like the end result to be windows 1=XP,windows 2=7, then I can rename them accordingly. one more thing, when I installed openSUSE, I let it automatically configure the hard drive and create the necessary partitions(it deleted partition 3 first). i remember it saying somewhere that the boot manager was past the 125 GB limit, and might not boot.
I just installed Ubuntu, and I realised that the Default OS is Ubuntu however my family use this PC as well and by Default I want the system to boot in to windows vista, ubuntu is for my use only, how can I do this? Also my family are not that good with computers and it shows Windows Vista loader (sda3) that's a recovery partition! I don't want them to messing around with the bootloader.
This is a problem when Windows is running some malware that cannot be removed, which happens all the time. The problem is all the new hardware or specialized hardware will not work on Linux so Windows is the only choice. I would think the latest versions of Linux would have this problem worked out by now. I installed 11.3 one week ago, only to find that the repair option in the install menu no longer exists so don't bother uses this link to reload the GRUB HowTo Boot into openSUSE when it won't Boot from the Grub Code on the Hard Drive. I also tried this link Re-Install Grub Quickly with Parted Magic which does not work either. On step 2 typing grub returns the error message "grub command not found". You can use GRUB if you boot the install DVD and select Rescue Boot. However when you type find /boot/grub/menu.lst the error message "file not found" is returned.
I did the following to restore my GRUB boot record. Boot the install DVD and select the update option during installation. Change all the repositories to enable except the NVIDIA repository, it is not responding at this time. When the system comes up go into Yast and open the boot loader. It should have your original boot menu in memory. Change the default to another option and re-write the MBR. This will write a new MBR using the original data updated with your new default. Re-boot and then change your default back. I am just a NewBe so this may not be exactly correct but I hope it saves someone like me some time fixing a MBR re-writing by the Windows installer.
i want to boot windows from grub loader and delete linux .Is this possible?or can i keep only /boot partition so that windows boot from grub prompt i want to boot windows from grub loader and dont want any linux partitions on my machine.Is this possible?or can i keep only /boot partition so that windows boot from grub prompt and delete rest of the linux so that i can get all free space.it is not possible for my system to get windows boot loader hence i want only grub boot loader to load only windows.
I've just came across something rather strange. I've been having a problem with GRUB 2 and Windows as highlighted in this thread:[URL].. Often when I attempt to access my Windows partition from GRUB I will get the Windows failed to start error, but today I may have found something rather interesting that may help me solve my problem. Sorry if it looks like im double posting, but im asking something different.
Basically when Windows fails to boot it restarts and when I attempt to boot it again I usually get the Windows failed to start screen with the option to run Startup and Repair when I ran it earlier, I suddenly saw the Windows Vista Loading bar, which is rather impossible as im running Windows 7. But my laptop came pre-loaded with Windows Vista as well as a recovery partition with Windows Vista on it. I thought I'd removed them both completely but now seeing the Windows Vista Loading screen says otherwise. It looks like some part of the Vista loader remains and well could be the cause of my boot issues. So im wondering how can I go about fully removing the Windows Vista Boot loader?
Brand new to Fedora. I installed F14, the 64 bit version today. Just wondering, during the install, there really wasn't a lot of options regarding which bootloader to use nor options (use a graphical or text mode).So... what bootloader did Fedora install on my system? Can I modify it? I'd like to get rid of that ugly blue-ish back ground among other things.
I was wondering how I can make Windows XP the first and default option on my Grub 2. I use Ubuntu 9.10 through a semi-dedicated partition on my second hard drive, if that helps. I use Grub 2 just cause I have a grub.cfg file, and here it is.
Code: # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates