LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to make XP boot as default OS in WinXP-Ubuntu dual boot system (https://www.linuxquestions.org/questions/ubuntu-63/how-to-make-xp-boot-as-default-os-in-winxp-ubuntu-dual-boot-system-481631/)

svin 09-08-2006 01:06 PM

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.

camorri 09-08-2006 01:25 PM

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.

HappyTux 09-08-2006 01:27 PM

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


aysiu 09-08-2006 03:08 PM

https://help.ubuntu.com/community/Gr...hangeDefaultOS

svin 09-10-2006 12:19 AM

Thanks friends, got it.

flashdudette 10-29-2007 09:53 AM

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.

camorri 10-29-2007 10:22 AM

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.

mitchell7man 10-29-2007 10:45 AM

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.

flashdudette 10-29-2007 01:13 PM

Thank you - I think I got it. Must reboot now to see if this work. Scarry!

flashdudette 10-30-2007 08:36 AM

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?

camorri 10-30-2007 09:39 AM

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".

flashdudette 10-31-2007 07:27 AM

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

camorri 10-31-2007 11:00 AM

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.

nthillaiarasu 11-22-2007 05:42 AM

while installing grub in ubuntu u can make which os u want to be as default

JuliaHenson 11-04-2009 05:49 PM

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


All times are GMT -5. The time now is 01:02 PM.