how to reboot into os of my choise
Hello,
I want to reboot to the specific OS of my choice , which i want to give at command line. i have 2 linux OS and dos in by box. How can i do it. |
Hello
Which bootloader do you use? You might read this first: http://www.redhat.com/docs/manuals/l...e/ch-grub.html Bye Koen Plessers |
i want to make my question more clear
my lab box has 2 linux OS and DOS remotely(from my room) i want to reboot that lab machine and go into another linux of my interest (dos or another linux). i am using GRUB as boot loader |
Change the default OS in /boot/grub/grub.conf(or menu.lst, whichever exists) to the OS you want to boot into. Then restart. But make sure you can log in remotely into the going-to-be-booted OS, or you will have to walk to your lab.
Hope this helps. |
Thanks koyi
ya i am aware of what you have replied.I am in search of command line option. some thing like this reboot OS2 or reboot OS3 .... thankyou for you time |
What about writing your own script for that?
For example, prepare a few grub.conf files(i.e. grub.conf.DOS, grub.conf.linux1, grub.conf.linux2) which boot the machine into the specified OS. Then, link grub.conf to one of these files through the script file you create yourself. :D But I m not sure if it works from DOS, since you cant modified files on your linux partition from DOS(or maybe you can through some utilities... I dont know...) Good luck. |
Thanks koyi
hope i can do like this if i mention reboot OS2 or OS3 i will go to that particular OS if i reboot from DOS i will go to default OS.( i will keep default choice as linux) so that from there i can go to OS of my choice. but this a time consuming one. i will make some goggling and see whether from dos also if there exists any way of doing it. Umesh |
All times are GMT -5. The time now is 08:02 AM. |