LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2009, 02:04 AM   #1
Stuggi
LQ Newbie
 
Registered: Apr 2009
Location: Jakobstad, Finland
Distribution: Debian
Posts: 4

Rep: Reputation: 0
How to exit to Grub without rebooting?


I and my buddy are trying to make a fast-switching dual-boot system for a desktop computer, and we came up with the clever idea that if you could exit to Grub instead of rebooting you could switch to Windows much faster. The problem is that we have trouble finding out if this is even possible, and if so, how to we do it? The ideal thing would be to get Linux to halt/hibernate and then exit to Grub so one could load Windows.

Getting Windows to do the same is going to be the next problem...
 
Old 04-27-2009, 02:13 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Nope - there is no way to return to the loader code. kexec offers that sort of functionality for Linux only, but it actually requires 2 kernel to be loaded (resident) in storage.
No chance for Windoze.

Try running as virtual guests if switching speed is your main concern.
 
Old 04-27-2009, 02:27 AM   #3
Stuggi
LQ Newbie
 
Registered: Apr 2009
Location: Jakobstad, Finland
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Well, if we could get linux to fast switch into Windows then that would be a start since Windows would only be used for gaming and such. A reboot before going into Linux would be acceptable.

But these virtual guests, does it support all the hardware stuff needed for directX or such?
 
Old 04-27-2009, 03:41 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Don't know - I don't need it; others will be able to help there. Can't see why not.
Then there's always "wine" - don't know what the performance would be like for gaming, as again I've never used it.
 
Old 04-27-2009, 03:59 PM   #5
Stuggi
LQ Newbie
 
Registered: Apr 2009
Location: Jakobstad, Finland
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Okay, hopeflyy we can get this sorted as my friend probably couldn't live without his games...
 
Old 04-27-2009, 04:14 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The conceptual problem is that, when you see GRUB, you have not yet "booted" any OS, so talking about "exiting to GRUB instead of rebooting" is almost an oxymoron.

To accomplish your goal of "fast switching," just (as syg00 suggested) run both your OSs as virtual systems on the same box. That way they'd both be running on your hardware, and you could switch between then with whatever "hot key" combination you set up.
 
  


Reply

Tags
dual boot, grub, linux, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic when rebooting (grub issue?) GeneralDark Linux - Newbie 25 03-09-2008 03:27 PM
grub prompt i am geting after rebooting before that i delete partions by fdisk sridhar-at-redhat Linux - Hardware 1 11-27-2006 11:22 AM
Problems with Grub rebooting Dell Laptop UKHack Linux - Laptop and Netbook 8 01-10-2006 05:21 AM
getting suse 10 to bypass grub menu when rebooting cheroub SUSE / openSUSE 2 01-10-2006 03:01 AM
After GRUB, laptop keeps rebooting ragazzino Linux - Laptop and Netbook 1 03-04-2004 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 PM.

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