LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   a simple question about priority of boot (https://www.linuxquestions.org/questions/linux-general-1/a-simple-question-about-priority-of-boot-756945/)

soltanloo 09-22-2009 03:49 AM

a simple question about priority of boot
 
Dear all my freinds, Hi
i have installed a linux fedora 10 and a windows xp SP2 on my PC. after turning on the PC i have just 3 seconds time to choose windows and enter to windows. how can i increase this time ? and how can i change this priority that windows will be the default OS ?

i'm beginer with Linux. thank u for your favor in advance.

acid_kewpie 09-22-2009 03:58 AM

edit /boot/grub/grub.conf and change the timeout to a longer time in seconds, and the default option to a different one in the list (starting from 0) save and close.

soltanloo 09-22-2009 05:31 AM

thank u acid_kewpie
how can i edit this file ? i tried to open it but i have no permission. in fact i can'n enter to root user. i know root password. and i can enter it from batch with su command. but generally i can't. i have fedora 10. during installation i didn't change any setting.
could you please guide me to solve this problems ?
thank u.

soltanloo 09-22-2009 05:31 AM

thank u acid_kewpie
how can i edit this file ? i tried to open it but i have no permission. in fact i can'n enter to root user. i know root password. and i can enter it from batch with su command. but generally i can't. i have fedora 10. during installation i didn't change any setting.
could you please guide me to solve this problems ?
thank u.

mobinskariya 09-22-2009 05:33 AM

you meant that you can use su,isnt it?

soltanloo 09-22-2009 05:41 AM

yes. i can use it.

mobinskariya 09-22-2009 06:17 AM

then as root at terminal type
Code:

vim /boot/grub/grub.conf
then you can edit by presiing letter i.. change the file as stated by acid_kewpie..to save the file press esc then :wq

or you can try
Code:

su -c "nautilus --browser"
this will open a file manager for root.. be careful when playing around with file as root in gui.

soltanloo 09-22-2009 07:28 AM

thank u mobinskariya
it worked very nice
i wish u reach to everything that u want.

mobinskariya 09-22-2009 07:46 AM

Quote:

Originally Posted by soltanloo (Post 3692792)
thank u mobinskariya
it worked very nice
i wish u reach to everything that u want.

thank u, :)

blues1207 09-22-2009 08:38 PM

login in as root


All times are GMT -5. The time now is 08:46 AM.