LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2006, 12:06 PM   #1
svin
Newbie
 
Registered: Jun 2005
Location: India
Posts: 10

Rep: Reputation: 0
How to make XP boot as default OS in WinXP-Ubuntu dual boot system


Hi,
I have installed Ubuntu 5.10 on my office computer along with WinXP. I didnot have any problems with installation. But after installation Ubuntu has become the default OS. As I remember during installation Ubuntu didnot ask for boot order preference as Redhat does.

My colleagues are horified at the site of linux?! [Well, I had to tell them that its linux ] They want their *favourite* windows to be intact and load first.

Somebody guide me how to make xp boot as default OS. I can always reboot into Ubuntu at my leisure.
 
Old 09-08-2006, 12:25 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
For this to work you needed to install either Grub or Lilo. You need to make the change in your boot loader, and make windbloze 'default'. Which one did you install? The method to change the default OS is a little different depending on which one you installed.
 
Old 09-08-2006, 12:27 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally Posted by svin
Hi,
I have installed Ubuntu 5.10 on my office computer along with WinXP. I didnot have any problems with installation. But after installation Ubuntu has become the default OS. As I remember during installation Ubuntu didnot ask for boot order preference as Redhat does.

My colleagues are horified at the site of linux?! [Well, I had to tell them that its linux ] They want their *favourite* windows to be intact and load first.

Somebody guide me how to make xp boot as default OS. I can always reboot into Ubuntu at my leisure.

Edit this section of your /boot/grub/menu.lst and put in the number of the entry for the XP in the file and it should boot by default.

Code:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default         0
 
Old 09-08-2006, 02:08 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
https://help.ubuntu.com/community/Gr...hangeDefaultOS
 
Old 09-09-2006, 11:19 PM   #5
svin
Newbie
 
Registered: Jun 2005
Location: India
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks friends, got it.
 
Old 10-29-2007, 08:53 AM   #6
flashdudette
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
I cannot save the file I edited because I do not have the permission. Does this mean I need to log as an administrator? I do not know how to get the screen that allows me to run as an administrator so I can save the menu.lst file. Or is there another way. i know i get a screen when I install software.
 
Old 10-29-2007, 09:22 AM   #7
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
In Ubuntu you use the command 'sudo' to get root privileges. Open a command prompt, and type, as an example 'sudo kate'. The system will prompt you for the root password. Type it in, the cursor does not move, press enter. If the password is correct, the system will run the editor named kate. Open your file, edit it, save it. You should have set the root password during the install.

Use any editor you want, kate is just an example.
 
Old 10-29-2007, 09:45 AM   #8
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Rep: Reputation: 31
Okay, here ore overall instructions

Applications>Accessories>Terminal

sudo gedit /boot/grub/menu.lst

password?: yourpassword [enter]

it will open the file edit it as mentioned above and you will be able to save it.
 
Old 10-29-2007, 12:13 PM   #9
flashdudette
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
Thank you - I think I got it. Must reboot now to see if this work. Scarry!
 
Old 10-30-2007, 07:36 AM   #10
flashdudette
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
So, I rebooted and got an error because I misscounted the number of lines - I put 3 for default but needed 4. After that it worked. Pretty cool!
I have Ubuntu on its own drive but it is very slow. What could the problem be?
 
Old 10-30-2007, 08:39 AM   #11
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
When you say it is slow, could you be more specific. Is it during booting, running a web browser, or some other application?

Could you also post the hardware you are running Ubuntu on? What version and release of Ubuntu?

Lots of things can make it appear "slow".
 
Old 10-31-2007, 06:27 AM   #12
flashdudette
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
Well - this is not a new desktop computer - It is the latest version of Ubuntu. It is a 2.93 gighz processor - 2 gig of memory - the hard drive it is one has 20 gig (older). OK video card with 56 k mem.
It is slow booting and seems slow to browse. (Using wireless connection).

It is definitely slower than that other OS it dual boots with.


Thanks.
Marie
 
Old 10-31-2007, 10:00 AM   #13
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,845

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
For the slow booting, have a look through the messages logged during boot. From a konsole, type 'dmesg' and you will see a bunch of messages on your screen. You can use grep to search for things like error or timeout. I don't think the slowness has anything to do with hardware. See if you can find anything that might give us a clew as to why booting is slow.

Browsing, Have you tried different browsers? Missing plugins can be troublesome. I have seen on some systems IPv6 causing slowness. Unless you need it, it can be disabled. To find out if it is loaded, from a konsole, do a 'sudo lsmod' and look for a IPv6 module. I may have nothing to do with it, but at this point it is guess work.
 
Old 11-22-2007, 04:42 AM   #14
nthillaiarasu
Member
 
Registered: Nov 2007
Posts: 39

Rep: Reputation: 15
while installing grub in ubuntu u can make which os u want to be as default
 
Old 11-04-2009, 04:49 PM   #15
JuliaHenson
LQ Newbie
 
Registered: Jul 2009
Posts: 24

Rep: Reputation: 15
changing default boot - Grub or Lilo?

Part of your answer to the question of how to change the default boot OS, says that your answer depends on whether "Grub" or "Lilo" has been used.

How does one find out whether they have "Grub" or "Lilo"?

Thank you,
Julia
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 02:37 PM
Dual boot winxp/ubuntu on raid array and ide drive buildintechie Linux - General 1 10-24-2005 11:35 PM
Problem with Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 4 09-08-2005 07:27 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Upgrading to WinXP on a dual-boot system srcosmo Linux - General 6 05-26-2004 08:20 AM


All times are GMT -5. The time now is 07:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration