LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-06-2006, 09:29 AM   #1
holrin
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Theoretical considerations about switching between OS's


Hello All.

I'm new on this forum, so please be mercyfull
I'm just wondering if it will be possible to fast switch between operating systems in following way:
Assume, that we're using laptop with 2 operating systems. On first partition we have WinXP, next partition is Linux (as swap) and additionally we have third partition with filesystem which can be easily accesed from both WinXP and Linux.
Now, assume that we're currently using linux. We're suspending system to file. This file is located on our third partition. We restarting machine. Now, we need some app operating from MBR. This app is checking our third partition and if we have more than one suspend file it asks us which of those files we want to load. When we choose, it loads desired OS.
This approach is more complicated than use of some virtual PC software but it has one big advantage - it doesn't share a phisical memory between two simultaneously running systems.
This short description is a big simplification. I'm aware that it may be difficult to implement/configure. But I'm hardly know if it can be done at all.
Thanks in advance for any replies.

Kind Regards,
holrin.

Last edited by holrin; 10-06-2006 at 09:34 AM.
 
Old 10-06-2006, 09:54 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
suspending a system to a file is a feature of the running os.
the os would write the file and the os has to read the file (though at an earlier stage as for example the login promp)
that means that the system has to start to a certain point at which it checks for the file and is able to load it.
it is not a boot loader that loads a syspend-to-disk file it is the actual system

it might be possible to suspend (eg) windows to disk (file)
on next boot, boot into linux, suspend to disk (file) on next boot, boot into windows and windows being able to detect a previously saved suspend-to-disk image which it then loads... but the final result would be you having a windows system which has not been restarted for serveral days, and that is never a good thing for a normal desktop windows system :-)
 
Old 10-06-2006, 06:49 PM   #3
holrin
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, I know that loading suspended system is OS dependent. What I'm thinking about is to do some low level coding and create kind of modified bootloader which can detect dumps from suspended systems and let us decide which system we want to launch.
I believe, that kind of launch should be faster than normal startup procedure. Furthermore, it should be easy to create simple desktop app and use it for fast suspend-and-reboot action.
But, as I mentioned before it's only theoretical consideration
Thanks for reply.

Kind Regards,
holrin.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Theoretical Hacking for IT Managers LXer Syndicated Linux News 0 04-26-2006 12:33 PM
Theoretical test enviroment Richie55 Linux - General 1 02-02-2006 07:15 AM
security considerations with 777 on shared host? learnfast Linux - Newbie 3 08-13-2005 01:59 PM
Firewall considerations - 2 Dual boot PCs rickh Fedora 3 04-26-2005 10:06 PM
Theoretical Question jgr220 Linux - Security 3 03-29-2003 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:19 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