Ubuntu Question


Recommended Posts

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?

Link to post
Share on other sites

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"

Link to post
Share on other sites

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 command

sudo passwd root

after your password is set your will change to root with the su command. It will ask for newly acuired root password

su

then open up the file with nano

nano /boot/grub/grub.conf

then you can make chages to the file, and then press <ctrl> x to save.

Link to post
Share on other sites

That's what I did

Then I edited the boot loader's script and listed Windows first and now that's the default.

Thanks for the help

Jim

Link to post
Share on other sites

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?

Link to post
Share on other sites

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.

Link to post
Share on other sites

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 s

but 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 Modem

and 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 no

hope you can help.

marty

Link to post
Share on other sites

your way worked just fine :-)

you also could have done the following to your menu.list file:

default 0

change to

default 1

default 0 means boot the first in the list, if you changed it to default 1 it would boot the second one on the list

Link to post
Share on other sites

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

Link to post
Share on other sites

hi thanks jimra

thanks 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

Link to post
Share on other sites
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..

Link to post
Share on other sites

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 referenced

http://www.gnu.org/software/grub/manual/gr...l#Configuration

Edited by shanenin
Link to post
Share on other sites
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 jimras

well 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

Link to post
Share on other sites
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 referenced

http://www.gnu.org/software/grub/manual/gr...l#Configuration

I'll accept that..

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...