How To Switch Default Os?


Recommended Posts

Hi.

How do I change the default boot up OS from Linux to Widows?

I have a dual boot PC with Fedora and WinXP. When I start the computer I have to choose "other" on the bootloader. Otherwise it boots to Linux.

I want it the other way around. Boot to Windows by default.

Thanks,

Joe

Edited by irregularjoe
Link to post
Share on other sites

I'm not too familiar with FC but this should work

su
(password when prompted)
gedit /boot/grub/grub.conf

change default to the number of the operating system you want. start counting from zero and count each "title" entry. (you can also change the default time if you choose)

save and close

that should do it

Link to post
Share on other sites

just to add to tictoc5150's post . In the example below, you would change default to 1 from 0

#grub.conf generated by anaconda

default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz

title GNU/Linux Fedora Core 1 (2.4.22-1.2174.nptl)
root (hd0,4)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi apm=off acpi=on rhgb
initrd /initrd-2.4.22-1.2174.nptl.img

title Microsoft Windows XP Pro
rootnoverify (hd0,0)
chainloader +1

Link to post
Share on other sites
just to add to tictoc5150's post . In the example below, you would change default to 1 from 0

#grub.conf generated by anaconda

default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz

title GNU/Linux Fedora Core 1 (2.4.22-1.2174.nptl)
root (hd0,4)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi apm=off acpi=on rhgb
initrd /initrd-2.4.22-1.2174.nptl.img

title Microsoft Windows XP Pro
rootnoverify (hd0,0)
chainloader +1

Thanks for the replies.

Something's not working though.

I get past the password promt and type in this:

gedit /boot/grub/grub.conf (and then enter)

and this is what I get:

Gedit 2731

GnomeUI-Warning

"While connecting to session manager: Auth. rejected, reason- none of the auth. protocols specified are supported and host based auth. failed."

What am I doing wrong? :unsure:

Link to post
Share on other sites
try this

su -

enter password

then run gedit agian

when I do it the way you were first shown, I get the same error in the shell, but it still does ppen gedit properly

Thanks!

Yes I did get the error again but noticed that it had opened anyway.

Strange, 'huh?

But I was able to change both the boot order and the timeout.

:thumbsup:

Joe

Link to post
Share on other sites
try this

su -

enter password

then run gedit agian

when I do it the way you were first shown, I get the same error in the shell, but it still does ppen gedit properly

Thanks!

Yes I did get the error again but noticed that it had opened anyway.

Strange, 'huh?

But I was able to change both the boot order and the timeout.

:thumbsup:

Joe

shanenin rules! :thumbsup:

Link to post
Share on other sites
try this

su -

enter password

then run gedit agian

when I do it the way you were first shown, I get the same error in the shell, but it still does ppen gedit properly

Thanks!

Yes I did get the error again but noticed that it had opened anyway.

Strange, 'huh?

But I was able to change both the boot order and the timeout.

:thumbsup:

Joe

shanenin rules! :thumbsup:

I agree. :thumbsup:

Link to post
Share on other sites
try this

su -

enter password

then run gedit agian

when I do it the way you were first shown, I get the same error in the shell, but it still does ppen gedit properly

Thanks!

Yes I did get the error again but noticed that it had opened anyway.

Strange, 'huh?

But I was able to change both the boot order and the timeout.

:thumbsup:

Joe

shanenin rules! :thumbsup:

I agree. :thumbsup:

One more question if I may:

Grub refers to Windows as "other". (talk about disrespect! :lol:

Can I change "other" to "windows" in grub.conf?

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