jimras Posted May 14, 2005 Report Share Posted May 14, 2005 Right now, when booting the computer, booting into Linux is the default.Is there a way to change this so that Windows will be the default instead? Quote Link to post Share on other sites
shanenin Posted May 14, 2005 Report Share Posted May 14, 2005 sure this is easy. as root you need to open the file /boot/grub/grub.conf then change the line that saysdefault 0change to default 1 Quote Link to post Share on other sites
jimras Posted May 14, 2005 Author Report Share Posted May 14, 2005 I looked in the boot directory and found a folder named Grub and opened that one but I didn't find a file called grub.conf in there.Maybe it has something with doing it "as root"I don't know what that means. Forgive a noobie for his stupidity.What do I need to do to be this "root" Quote Link to post Share on other sites
shanenin Posted May 14, 2005 Report Share Posted May 14, 2005 you might have better luck using nano, a text editer. Open up a terminal(place to type commands) then you will need to set a root password. use this commandsudo passwd rootafter your password is set your will change to root with the su command. It will ask for newly acuired root passwordsuthen open up the file with nanonano /boot/grub/grub.confthen you can make chages to the file, and then press <ctrl> x to save. Quote Link to post Share on other sites
shanenin Posted May 14, 2005 Report Share Posted May 14, 2005 (edited) you could probably just dosudo gedit this will give you root privledges while using the graphical editer Edited May 14, 2005 by shanenin Quote Link to post Share on other sites
jimras Posted May 15, 2005 Author Report Share Posted May 15, 2005 That's what I didThen I edited the boot loader's script and listed Windows first and now that's the default.Thanks for the helpJim Quote Link to post Share on other sites
tictoc5150 Posted May 15, 2005 Report Share Posted May 15, 2005 I was gonna post to this last night but didn't have time...glad you got your answer but I have a question.grub.conf does not exist on my system either (also ubuntu)...just for clarification to anyone else that may come across this thread....you edited "menu.lst", correct? Quote Link to post Share on other sites
jimras Posted May 15, 2005 Author Report Share Posted May 15, 2005 Yes, that is correct.I did a cut and paste to move the information about Windows XP to the top of the list so it showed up before the Linux and now the bootloader will load Windows XP after 10 seconds if you don't change it. This is what I wanted because my wife sometimes uses my computer. Quote Link to post Share on other sites
martymas Posted May 15, 2005 Report Share Posted May 15, 2005 hi team. will ubuntu dual boot with win.xppro i tried the dual boot but i couldnt find the option.so i had to come out and try and find a unbuntu help board.ubuntu wanted to delete the xp partition .and i couldnt find a way to stop it.i have other Q sbut in the mean time i have to concentrate on getting the dual boot right.thanks later i need advice on the modem.i have a Intel® 536EP Modemand win keeps asking me to download the win patch for the modem.but i want to keep it free of a win patch.i bought it as linux compatable .i understand.this modem need a specialised refference nohope you can help. marty Quote Link to post Share on other sites
shanenin Posted May 15, 2005 Report Share Posted May 15, 2005 your way worked just fine :-)you also could have done the following to your menu.list file:default 0change todefault 1default 0 means boot the first in the list, if you changed it to default 1 it would boot the second one on the list Quote Link to post Share on other sites
jimras Posted May 15, 2005 Author Report Share Posted May 15, 2005 Hey, Marty!Mine dual boots just fine but I have a seperate HD that I use for my Linux so all I had to do was tell it to install on hdb.Jim Quote Link to post Share on other sites
martymas Posted May 15, 2005 Report Share Posted May 15, 2005 hi thanks jimrathanks ive just installed a 10 geg hdd.and i thought of putting a linux OS on .i was sent 6 ubuntu disks to give away.so i gave one to my self.ive had it on a 4.5 hdd but i needed win xp as well.so i increased my hdd space by installing 2 hdd 20 g and a 10g.on the 20 i have xppro.and i thought of using ubuntu on the smaller drive.when i tried to install it with win xp i couldnt find the option to dual boot .thats why i posted.ive tried for 2 weeks now.im a fan of linux .but it is so hard to get help.that i let it lay for a while.how ever ile have another go. marty Quote Link to post Share on other sites
iccaros Posted May 15, 2005 Report Share Posted May 15, 2005 I was gonna post to this last night but didn't have time...glad you got your answer but I have a question.grub.conf does not exist on my system either (also ubuntu)...just for clarification to anyone else that may come across this thread....you edited "menu.lst", correct? menu.1st should bea soft link to grub.conf somewhere. do a ls -la on it. if not then they recopiled grub to look for menu.1st.. Quote Link to post Share on other sites
shanenin Posted May 15, 2005 Report Share Posted May 15, 2005 (edited) menu.lst may be a soft link to grub.conf, but is is the config file grub needs to boot. I have not tested it , but I do not think grub will boot with only a grub.conf file. I am pretty certain menu.lst is the only config file that is mandatory for grub to work. I bet the grub.conf file started to get added to distros, because people were used to using lilo.conf.below is a link i referencedhttp://www.gnu.org/software/grub/manual/gr...l#Configuration Edited May 15, 2005 by shanenin Quote Link to post Share on other sites
martymas Posted May 16, 2005 Report Share Posted May 16, 2005 Hey, Marty!Mine dual boots just fine but I have a seperate HD that I use for my Linux so all I had to do was tell it to install on hdb.Jim yo jimraswell ive got ubuntu on and it gives me the option to boot to either OS.it was some time before i was able to figure out the partitioning and the dual boot but im there now.i have both OSES on and get the option to boot to what ever i want.im on winxp at the moment so i can post in.i havent been able configure the ubuntu dial up yet.but one step at the time.were do i go to look for my hard ware so i can see if my modem is recognised .hey this is a new challenge .thanks marty Quote Link to post Share on other sites
iccaros Posted May 16, 2005 Report Share Posted May 16, 2005 menu.lst may be a soft link to grub.conf, but is is the config file grub needs to boot. I have not tested it , but I do not think grub will boot with only a grub.conf file. I am pretty certain menu.lst is the only config file that is mandatory for grub to work. I bet the grub.conf file started to get added to distros, because people were used to using lilo.conf.below is a link i referencedhttp://www.gnu.org/software/grub/manual/gr...l#Configuration I'll accept that.. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.