Ubuntu Installation :: Editing GRUB Settings - Set Windows 7 64 Bit As Default OS In The Boot Loader Instead Of 10.10
Jan 18, 2011
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.
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 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 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?
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 just installed Ubuntu Server 10.04. When I reboot, it stops at a "grub>" prompt. I figured out that I can continue booting by entering these four commants:
set root=(hd0,1) linux /boot/vmlinuz-2.6.32-21-generic-pae root=/dev/sda1 ro initrd /boot/initrd.img-2.6.32-21-generic-pae boot
I can't figure out, however, how to save these as the default so that the machine can boot without someone present to enter these commands. Running "grub-set-default" tells me "entry not specified." I don't see anywhere in /etc/default/grub that looks relevant.
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.
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'm running SuSE 11.2, dual booted with Windows 7. SuSE installed fine, but when I rebooted, it went straight to windows and didn't give me the option of booting into SuSE. I reinstalled SuSE and went into the boot settings in Yast. When I rebooted, neither Windows nor SuSe would boot. I ran a system repair from the SuSE disk, at the boot loader settings, it displays the SuSE Linux partition and the Failsafe Linux recovery partition. I did not format any drives in the system repair. How do I add the Windows partition to the boot loader settings?
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 have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code: i915.modeset=1 and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
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 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 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.
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 have a laptop with windows vista installed on the internal hardrive.Last March I installed wanted to start to use linux so I brought a separate external hardrive partitioned it to enable media storage on one section and installed ubuntu on the other half. It works fine and so does the windows vista on my internal hardrive, however I have to have the hardrive plugged in to boot.Until now this hasnt bothered me, however I've recently started to take my laptop into university and cannot switch it off unless I have the external hardrive with me as I cannot switch it on without it.With it plugged in it loads up GRUB and then gives me the option to load either Ubuntu or windows vista, however if it is not plugged in when I power up it says GRUB loader failed.It also occured to me that if for some reason my external hardrive fails in the future I wont be able to use my laptop anymore.Has the installation of ubuntu (and GRUB) altered the MBR? Is there some way I can edit the settings so that I can load windows vista without the hardrive plugged in, and then if it is plugged in I get the choice which one to load?
I recently replaced a failed graphics card w/ a GT 240. Next thing I know, Fedora 11 won't boot up properly. I guess it was a driver issue. I can tell you I went about fixing it all wrong because I wiped the FC11 partition (intending to install FC13) and now I can't boot anything up. My system consists of: sda1 vista, sdb1 XP, sdb5 extended, sdb6 Fedora. I thought grub was on the fedora partition, but reinstalling fedora with grub on that partition didn't fix the boot up problem. Do I need to replace the windows boot loader on sda1 with grub when installing fedora?
I am running Ubuntu 10.10. Normally when I boot, I get the choice to run Ubuntu or the Windows loader, where I choose between 7 or XP. I have just noticed that when I boot now, I do not have the choice of going into windows. This has happened on two of my PC's just in the last few days. I assume one of the updates has overwritten the grub configuration file as I still get the grub menu but not the windows option. I have tried sudo update-grub but this did not solve the problem.
I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.