Ubuntu Installation :: Setting Grub's Default OS To Windows
Jul 2, 2011
i always had windows as default in my grub (this is my desktop pc, mostly for gaming, i use windows here for about 98% of the time linux is just for working)i lastly upgrades to 11.04 (bad idea never change a running system)and now my grub starts linux as default and i dont know why.i started startupmanager and set windows as default no change i clicked myself into the /boot/grub/grub.cfg and opened it as su - it looks like everything is right here too but i could think of something, i need to change there.
View 3 Replies
ADVERTISEMENT
May 29, 2010
I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:
Code:
#!/bin/sh
exec tail -n +3 $0
[code]....
View 9 Replies
View Related
Jul 16, 2010
I have a laptop which this morning had Ubuntu installed on it with no partitioning. Since then I have partitioned the hard-drive into three sections: A partition called "William", the original Ubuntu partition and a general data storage partition called "DATA" (in that order). I then installed Windows 7 Professional 64-Bit on the William partition with no problems to speak of. I have been following the instructions on how to re-enable grub & grub2 after a Windows install at URL...
View 4 Replies
View Related
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.
View 2 Replies
View Related
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.
View 4 Replies
View Related
Jun 28, 2010
I'm trying to configure GRUB to boot XP preferentially- my wife insists. Having looked up the GRUB manual I see that I can set this using the default command.
The problem is, when I go to my grub command line default is not a recognized command. If I hit TAB for a list of commands, it isn't there.
I think I'm using some 0.9x version of GRUB, since the partitions etc seem to be numbered starting at 0, not 1.
While I'm at it, I was just going to play around and figure this out, but: the menu interface lists five versions of Ubuntu (all those weird kernel variations) then XP. So would XP be default 1 or default 5?
View 3 Replies
View Related
Jan 27, 2011
I Just updated my 10.04 LTS system, which dual boots Windows XP. Prior to the update the default was to boot to XP, now it is to Memtest.
I tried to edit /etc/default/ grub and make the default be 14 instead of 12, which would be XP, but Ubuntu, (using gedit), refused to accept my change.
I don't have a problem scrolling around to pick XP, or the latest Linux kernel to boot, but my wife sure does. How can I make Ubuntu/Grub default to to XP ?
View 2 Replies
View Related
May 17, 2010
I've seen previous threads about this, but they're rather old and I can't seem to apply their solution to the latest (10.04) stable release of Ubuntu.
What's the "best" way of changing the default option in the bootloader? I'd rather set it to "Windows 7" for the time being as it's what I use at work.
View 2 Replies
View Related
Feb 7, 2010
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
[Code].....
View 4 Replies
View Related
Mar 4, 2011
I am dual booting Windows and Ubuntu 10.10. I installed StartUp-Manager so that I could easily make Windows my default OS upon Startup.I did a sudo apt-get update / sudo apt-get upgrade and now I have a new kernel. This moved Windows down in the list, so now MemTest86 is the default OS upon Startup.I want to make Windows the default always, not just until the next Kernel upgrade comes through.
View 3 Replies
View Related
Feb 18, 2010
I have been trying to edit grub to make windows vista the default but whne i got to the menu.lst it is blank. I use this from the official guide gksudo gedit /boot/grub/menu.lst and it still comes up blank as well as sudo gedit /boot/grub/menu.lst
View 2 Replies
View Related
Jun 7, 2011
I accidentally set the grub startup manager's time to 0 secs and windows xp as the default OS. (I have windows xp and ubuntu on this laptop.)
Now when I turn on or restart my computer, it boots up straight to windows, I can no longer access the grub boot selection screen or my ubuntu OS.
View 9 Replies
View Related
Dec 29, 2010
After setting up a persistent Lubuntu (10.10) on a 4GB SD with Universal-USB-Installer-1.8.1.8 , I started changing the passwd of the original user ubuntu , but after rebooting, I can't log in. So I resorted to hitting Ctrl+the function key that gives you a CLI, and changed the password for "ubuntu" user then tried to log on again. No success.Then I created a new user with a password, and managed to log in with this user, but it is not the same experience, the menus are lacking, and it is not possible to log on to wifi, similar problem to this user
View 3 Replies
View Related
Mar 11, 2015
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...]
View 7 Replies
View Related
Apr 21, 2011
The grub splash were you choose which os you want to load. Is there a way to change it and make it look like iuno.... lm5/6 or opensuse? Obviously I'd change the image. I just don't want to just change the image. How can I change it to boot windows by default instead?
View 2 Replies
View Related
Jul 27, 2010
I've just finished installing the software on the box. I've made it a dual-boot but want to set the default to Windows XP Media Center so my grandson can work with it. I want to change the boot configuration file but the documentation show working with menu.lst file but I can't find it. How do I make the changes without blowing grub out of the water?
View 2 Replies
View Related
Mar 31, 2010
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):
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
[code]....
View 4 Replies
View Related
Oct 20, 2010
So I am creating a LDAP server for my school's Linux lab, so users on our school network can log into the Linux machines.
I found a guide here url...Authentication
But during the install, I get the following error.
update-rc.d: warning: libnss-ldap start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (none)
View 2 Replies
View Related
May 4, 2010
I just upgraded to Lucid Lynx, and while everything kernel-wise is running fine so far, I have a problem that is giving me heartburn. It appears that I have broken my Windows XP boot command, as selecting that boot option will only loop back to the GRUB selection menu. The Partition is there, and I can access it through ubuntu's file manager, but right now I simply cannot boot into windows. Partition information: 540gb set for windows (NTFS), 55 set for unbuntu.
[Code]....
During the update, an autoconfig screen came up asking me to select what I wanted to boot from in GRUB. I selected what I thought referred to the harddisk partitions (and not simply selecting all of them. ) Is there any way to bring that window back up to change that? while I am a *cough* Windows power user *cough*, I don't understand ubuntu (or Linux) very well, so please keep that in mind when replying.
View 5 Replies
View Related
Apr 22, 2010
installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files
used sudo update-grub2.
View 9 Replies
View Related
Feb 7, 2010
I recently installed Karmic, and want to change the default Grub entry to Windows XP. Having done some research and tried things out, I am a bit confused. I have edited etc/default/grub so that it has GRUB_DEFAULT=6 (to correspond to my XP installation) and GRUB_TIMEOUT="3", but after running sudo grub-mkconfig the grub.cfg file still says set default="0".
View 9 Replies
View Related
May 24, 2010
I do not know what to do, i cannot load windows partition. it just loads grub again. this must have been something that happened when i upgraded to the 10.04 or w/e. can someoen help me out with what i can do to stop this or fix it. maybe i can reinstall but i want to know what will work first, i do not have a lot of time to fool with my computer like this again. i spent a week getting ubuntu on my computer the first time so i do not ever want to spend that much time again especially in finals week. !
View 1 Replies
View Related
Feb 26, 2010
I loaded Kubuntu 9.1 and got a mess in the Grub 2 Boot Menu, which I can't correct.
I get extra choices in the Boot menu, and the first few, which are supposedly for Kubuntu Karmic Koala all put me in a shell, which ends in a black screen, then shows up a shell once I hit "enter". Then I just have a "intramfs" (?) prompt.
So I went into Grub2 to change it, and it refuses to do it. All I get is a screen full of error messages every time I try, with no change. Apparently it is looking to access drive sdb8, which is non-existent. I DO have a drive sda8, though.
So with all the wonderfulness of the indirect system to change Grub 2 how am I supposed to set it right? The old Grub worked fine, and just took simple changes to the menu.lst file.
Can't somebody write a program that lets Grub 2 be changed from within the program, rather than all this running around trying to find what file to change, and how to get the change to work?
Just to be clear, here are the errors as they show up when grub-update is flailing around:
"error: cannot open '/dev/sdb' while attempting to get disk size
error: cannot open '/dev/sdb' while attempting to get disk size
Generating grub.cfg
error: cannot open '/dev/sdb' while attempting to get disk size
[Code].....
View 9 Replies
View Related
Apr 26, 2010
I have just installed Ubuntu 9.10 on a laptop previously running 8.10
I am unable to change the default OS in Grub from Ubuntu 9.10 as I cannot find /boot/grub/menu.lst.
How do you change the default OS in this newer version of Grub.
View 9 Replies
View Related
May 2, 2011
I think my Natty 64 bit install is missing a dependency for gk, even though it shows up install in Synaptic. I have also tried using Start up Manager and the changes I make there don't show up after restarting either. I just want to change the default boot to number 4, Windows. Any suggestions are welcome, but I have tried all the ones I've found on this forum so far and none have worked, including editing etc/grub/default and saving with sudo update-grub. That's when I get a "gk not found" error.
View 2 Replies
View Related
Mar 21, 2011
I've been using squeeze for a year or two now, on a PC dual booting with windows xp. Not long ago I thought that, as it's now become the stable release version, I'd do a fresh install, which I've been trying to do with the first two dvds. The installation proceeds as expected, up to and including setting grub. However, although grub saysthat it has detected windows xp, and I tell it to set up the dual boot, the computer on reboot goes straight into windows xp, with no on-scrteen option shown for choosing debian.
View 6 Replies
View Related
Mar 30, 2011
Durring the upgrade from lenny to squeeze everything went fine but grub2 fails to configure
Setting up grub-pc (1.98+20100804-14) ....
and it hangs, even freezes there...
Is it safe to restart the server, will grub1 still function if I do ?
View 4 Replies
View Related
Aug 31, 2010
I have created usb stick from which I install fedora. The bootloader is on the MBR of the usb stick and I want to put it onto the harddrive.I have tried running grub and setting up the MBR on the hard drive, but attemts to load the kernel fail with "Error 15: File not found".
View 2 Replies
View Related
Jun 27, 2010
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.
How do I save my default grub settings?
View 2 Replies
View Related
Aug 9, 2010
I just got to finish installing ubuntu lastest version on my new netbook, im really exited about how powerful it can get. The thing is, I'm still keeping my old Windows 7 partition and data, and I want to access it faster, editing the grub options, to change the timer on it, and the default booting option.
View 6 Replies
View Related