LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-13-2006, 11:08 AM   #1
bestguy
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Dual boot Linux with Windows AS PER TIME SCHEDULE


Hi All,
I wanted to dual boot linux with another OS like Windows XP, but as per a schedule. For example linux should automatically boot after 11 pm in the night till 8 in the morning, after that Windows should boot.
Is there any way by which we can schedule boot loader for this?

Thanks for reading.
 
Old 02-13-2006, 12:46 PM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hi,

I'm pretty sure this isn't possible - unless you have the knowledge to create a shell script which runs (via cron) at 8am, which changes Windows to the default OS to be booted in GRUB and then reboots the computer. If you haven't got a BIOS password, then the Windows XP screen should be on the PC by 8:05am. Then you'd have to create another script to be run at 11pm for Windows, which *somehow* accesses the Linux filesystem (only possible with ext2 AFAIK, and even that isn't perfect) and makes Linux the default OS to be booted in GRUB, and then reboots the computer. Not long after the Linux login manager shows up on the screen.

I haven't got the knowledge to write those scripts, and anyway - Windows' ability to write to Linux filesystems is highly limited, so my ingenious plan probably wouldn't work anyway.

Sorry mate, this isn't gonna work.

Cheers,

-jk

Ps. Welcome to LQ!!
 
Old 02-13-2006, 01:33 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I found this link for a windows based "timed reboot" (it's about a quarter way down the page)...
http://www.sover.net/~wysiwygx/WinUtils5.html

So now all you have to figure out is how to make your script change the boot sequence for one reboot only. Then when windows reboots, your bootloader would already be set to linux...
 
Old 02-13-2006, 01:43 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's a link on how to get grub to boot an entry only once. http://www.gnu.org/software/grub/man..._002donly.html

Looks like all the tools are there and you just need to tie them neatly together!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 03:29 PM
linux/ windows dual boot. Windows XP is in portable HDD (already installed) izquierdista Linux - General 1 02-03-2006 10:23 AM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 11:37 AM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration