US20110040958A1 - Method of switching computer operating systems - Google Patents

Method of switching computer operating systems Download PDF

Info

Publication number
US20110040958A1
US20110040958A1 US12/722,442 US72244210A US2011040958A1 US 20110040958 A1 US20110040958 A1 US 20110040958A1 US 72244210 A US72244210 A US 72244210A US 2011040958 A1 US2011040958 A1 US 2011040958A1
Authority
US
United States
Prior art keywords
computer
bios
operating system
memory
loader
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/722,442
Inventor
Giant Liang
Sub Chung
Alex Tang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Insyde Software Corp
Original Assignee
Insyde Software Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Insyde Software Corp filed Critical Insyde Software Corp
Assigned to INSYDE SOFTWARE CORPORATION reassignment INSYDE SOFTWARE CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHUNG, SUB, LIANG, GIANT, TANG, ALEX
Publication of US20110040958A1 publication Critical patent/US20110040958A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a method of switching operating systems in a computer, with which the computer executes the procedure of switching different operating systems. A first operating system executes a process of switching to a second operating system. A process of restoring backup data of a BIOS is executed. The BIOS reads computer system information of an initial state backed up in a memory of the computer and configures the computer to make the computer restored to the initial state of booting. The BIOS calls and executes an interruption service to search a loader of the second operating system. The loader loads the second operating system into the memory. The second operating system boots up and is entered.

Description

    FIELD OF THE INVENTION
  • The present invention relates to a method of switching operating systems in a computer, and in particular, a method of switching various operating systems in a computer that has two or more operating systems installed.
  • BACKGROUND TO THE INVENTION
  • There is firmware generally known as BIOS (Basic Input Output System) in a computer system. It accompanies a computer machine and is a program stored in a read-only memory (ROM), which comprises many basic subprograms of input/output instructions for the computer. When the computer boots up, a basic input output system will be executed to conduct an initial value configuration and power-on self test (POST), and the data (memory size, whether there are floppy disc drive and hard disc drive, system time, etc.) in the CMOS (Complementary Metal-Oxide Semiconductor) are read.
  • After the completion of the aforementioned booting process, the computer will load and execute the operating system (OS) and run applications in the operating system environment. In accordance with the demand of computer users, two or more different operating systems rather than a single operating system are desired to be installed in the computer so that the user can perform tasks with the computer.
  • For a computer having two or more operating systems installed, when the operating environment is to be switched from the current operating system to another one, a shutdown process is usually conducted first and then the computer boots up again. During the booting process, for example, a hotkey should be pressed so that the BIOS loads and executes another operating system.
  • However, the aforementioned method of switching the operating environment from the current operating system to another one requires shutting down and then re-booting the computer. Such a procedure of shutting down and then re-booting the computer greatly increases the time for the user's waiting for the switch between operating systems and also increases the procedure of the computer executing the switch between operating systems.
  • SUMMARY OF THE INVENTION
  • The object of the present invention is to provide a method of switching operating systems in a computer, with which, when different operating systems in the computer are to be switched, the computer need not execute the procedure of shutdown and re-booting. Therefore, the time for the user's waiting for the switch between operating systems is shortened and the procedure of the computer executing the switch between operating systems is reduced.
  • According to the first aspect of the present invention, a method of switching operating systems in a computer is provided, with which the computer executes the procedure of switching different operating systems. The method comprises the steps of:
  • executing a process of switching to a second operating system in a first operating system;
  • executing a process of restoring backup data of a BIOS;
  • the BIOS reading a piece of computer system information of an initial state backed up in a memory of the computer and configuring the computer to make the computer restored to the initial state of booting;
  • the BIOS calling and executing an interruption service to search a loader of the second operating system;
  • the loader loading the second operating system into the memory; and
  • booting and entering the second operating system.
  • According to the second aspect of the present invention, the method of the first aspect further comprises the steps of:
  • executing the booting process of the BIOS;
  • the BIOS backing up the piece of computer system information of an initial state in the memory;
  • the BIOS calling and executing the interruption service to search the loader of the first operating system;
  • the loader loading the first operating system into the memory; and
  • booting and entering the first operating system.
  • According to the third aspect of the present invention, in the method of the second aspect, the piece of computer system information comprises information about a memory type range register (MTRR) of CPU, a BIOS data area (BDA), an extended BIOS area (EBDA), a CMOS, and a low pin count (LPC) register of a south bridge.
  • According to the fourth aspect of the present invention, in the method of the second aspect, the loader executes the steps of:
  • sending the BIOS a request for allocation of a memory space, so that the BIOS replies with a starting address of the allocated memory space;
  • adjusting the address of the program machine code; and
  • loading the adjusted program machine code into the memory.
  • According to the fifth aspect of the present invention, a computer readable recording medium having a program recorded thereon is provided. The method as defined in any one of the first to fourth aspects can be implemented when the program is loaded into a computer from the recording medium and executed.
  • According to the sixth aspect of the present invention, a computer program product having a program recorded therein is provided. The method as defined in any one of the first to fourth aspects can be implemented when the program is loaded into a computer from the computer program product and executed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a flowchart of the method of switching operating systems in a computer according to the present invention.
  • DESCRIPTION OF PREFERRED EMBODIMENTS
  • A preferred embodiment of the present invention will be described below with reference to the accompanying drawing.
  • FIG. 1 is a flowchart of the method of switching operating systems in a computer according to the present invention. The procedure shown in FIG. 1 is implemented in accordance with the hardware architecture of a computer. The hardware architecture of a computer described below is well known to the persons having ordinary knowledge in this art and will thus be omitted here.
  • Referring to FIG. 1, after being powered on, the computer will execute a well-known BIOS booting process (Step S10). During the BIOS booting process, an SMI (System Management Interrupt) signal is triggered to call and execute a first SMI handler function, and this function backs up a piece of important computer system information of initial state in a memory of the computer (Step S12). Here, the piece of computer system information comprises information about a memory type range register (MTRR) of CPU, a BIOS data area (BDA), an extended BIOS area (EBDA), a CMOS, and a low pin count (LPC) register of a south bridge.
  • Next, during the BIOS booting process, an interruption service program is called and executed to search a loader of the first operating system (Step S14). Here, the loader executes the following steps:
      • (1) The operating system is stored in the disk drive before booting. When the operating system is to be executed, it is necessary to allocate a block of the memory space so that the operating system can be loaded and executed. When the operating system is to be executed, the loader will send the BIOS a request for allocation of a sufficient block of the memory space. When the space is available, the BIOS will reply to the loader with a starting address of the allocated memory space.
      • (2) After the BIOS replies with the starting address of the allocated memory space, the loader will adjust the machine code of the operating system in connection with the address so that the operating system can be correctly executed later.
      • (3) The adjusted machine code of the operating system is loaded into the memory and waits to be executed by the operating system.
  • Next, the loader loads the first operating system into the memory (Step S16) and then starts up and executes the first operating system to enter the operating environment of the first operating system (Step S18). The user can thus use applications that are compatible with the operating environment of the first operating system.
  • Under the operating environment of the first operating system, if a switch from the first operating system to the second operating system is to be made, an application for switching operating systems is executed in the first operating system (Step S20). When the application is executed, an SMI signal of the BIOS will be triggered to call and execute a second SMI handler function (Step S22).
  • When the function is executed, the BIOS reads the piece of computer system information of initial state that has been backed up in the memory, and configures the computer to make the computer restored to the initial state of booting (Step S24).
  • Next, the BIOS calls and executed the interruption service program to search a loader of the second operating system (Step S26). The loader loads the second operating system into the memory (Step S28) and then starts up and executes the second operating system to enter the operating environment of the second operating system (Step S30). The user can thus use applications that are compatible with the operating environment of the second operating system.
  • The method of switching operating systems in a computer according to the present invention as described above can be implemented with a program, and the program can be stored in a computer readable recording medium. The procedural steps as described above and shown in the drawing can be implemented when the program is loaded into a computer from the computer readable recording medium and executed.
  • Similarly, the method of switching operating systems in a computer according to the present invention as described above can be implemented with a computer program product. The procedural steps as described above and shown in the drawing can be implemented when the computer program product is, for example, downloaded to a computer from the internet and executed.
  • The advantage of the present invention is to provide a method of switching operating systems in a computer, with which, when different operating systems in the computer are to be switched, the computer need not execute the procedure of shutdown and re-booting. Therefore, the time for the user's waiting for the switch between operating systems is shortened and the procedure of the computer executing the switch between operating systems is reduced.
  • While the present invention has been described above with reference to the preferred embodiment and illustrative drawing, it should not be considered as limited thereby. Various equivalent alterations, omissions and modifications made to its configuration and the embodiment by the skilled persons could be conceived of without departing from the scope of the present invention.

Claims (6)

1. A method of switching operating systems in a computer, with which the computer executes the procedure of switching different operating systems, the method comprising the steps of:
executing a process of switching to a second operating system in a first operating system;
executing a process of restoring backup data of a BIOS;
the BIOS reading a piece of computer system information of an initial state backed up in a memory of the computer and configuring the computer to make the computer restored to the initial state of booting;
the BIOS calling and executing an interruption service to search a loader of the second operating system;
the loader loading the second operating system into the memory; and
booting and entering the second operating system.
2. The method according to claim 1, further comprising the steps of:
executing the booting process of the BIOS;
the BIOS backing up the piece of computer system information of an initial state in the memory;
the BIOS calling and executing the interruption service to search the loader of the first operating system;
the loader loading the first operating system into the memory; and
booting and entering the first operating system.
3. The method according to claim 2, wherein the piece of computer system information comprises information about a memory type range register of CPU, a BIOS data area, an extended BIOS area, a CMOS, and a low pin count register of a south bridge.
4. The method according to claim 2, wherein the loader executes the steps of:
sending the BIOS a request for allocation of a memory space, so that the BIOS replies with a starting address of the allocated memory space;
adjusting the address of the program machine code; and
loading the adjusted program machine code into the memory.
5. A computer readable recording medium having a program recorded thereon, adapted to implement the method as defined in any one of claims 1 to 4 when the program is loaded into a computer from the recording medium and executed.
6. A computer program product having a program recorded therein, adapted to implement the method as defined in any one of claims 1 to 4 when the program is loaded into a computer from the computer program product and executed.
US12/722,442 2009-08-14 2010-03-11 Method of switching computer operating systems Abandoned US20110040958A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW098127360A TW201106271A (en) 2009-08-14 2009-08-14 Method of switching different operating systems in computer
TW098127360 2009-08-14

Publications (1)

Publication Number Publication Date
US20110040958A1 true US20110040958A1 (en) 2011-02-17

Family

ID=43589285

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/722,442 Abandoned US20110040958A1 (en) 2009-08-14 2010-03-11 Method of switching computer operating systems

Country Status (2)

Country Link
US (1) US20110040958A1 (en)
TW (1) TW201106271A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120042156A1 (en) * 2010-08-16 2012-02-16 Giga-Byte Technology Co., Lti Method of multiple boot manager
US20130179672A1 (en) * 2012-01-06 2013-07-11 Asustek Computer Inc. Computer and quick booting method thereof
US8874889B2 (en) 2011-05-18 2014-10-28 Asustek Computer Inc. Method of switching between multiple operating systems of computer system
CN105094873A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Handheld terminal system switching method and device
US20170161098A1 (en) * 2014-12-29 2017-06-08 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Method, device, and terminal for switching operating systems
US10565162B2 (en) 2017-08-02 2020-02-18 Mastercard International Incorporated Systems and methods for customized operating system conversion
US10838737B1 (en) * 2017-08-31 2020-11-17 American Megatrends International, Llc Restoration of memory content to restore machine state

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885535A (en) * 2017-11-08 2018-04-06 青岛海信电器股份有限公司 A kind of system start method, system switching method and device
TWI750783B (en) * 2020-08-27 2021-12-21 技嘉科技股份有限公司 Bios recovery system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010018717A1 (en) * 2000-02-29 2001-08-30 International Business Machines Corporation Computer system, operating system switching system, operating system mounting method, operating system switching method, storage medium, and program transmission apparatus
US6393560B1 (en) * 1998-04-30 2002-05-21 Intel Corporation Initializing and restarting operating systems
US20040068632A1 (en) * 2002-10-02 2004-04-08 Nalawadi Rajeev K. Method and apparatus for using an ACPI NVS memory region as an alternative CMOS information area
US20040158701A1 (en) * 2003-02-12 2004-08-12 Dell Products L.P. Method of decreasing boot up time in a computer system
US20060133362A1 (en) * 2004-12-17 2006-06-22 Stein Richard E Fast initialization of medical device system having multiple operating systems
US20070055860A1 (en) * 2005-09-07 2007-03-08 Szu-Chung Wang Method of fast booting for computer multimedia playing from standby mode
US20080162901A1 (en) * 2004-12-24 2008-07-03 Zhongqing Li Computer Multiple Operation System Switching Method
US20100125723A1 (en) * 2008-11-19 2010-05-20 Barnes Cooper Method and system to enable fast platform restart
US7853826B2 (en) * 2004-09-24 2010-12-14 Phoenix Technologies, Ltd. Operating system transfer and launch without performing post

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393560B1 (en) * 1998-04-30 2002-05-21 Intel Corporation Initializing and restarting operating systems
US20010018717A1 (en) * 2000-02-29 2001-08-30 International Business Machines Corporation Computer system, operating system switching system, operating system mounting method, operating system switching method, storage medium, and program transmission apparatus
US20040068632A1 (en) * 2002-10-02 2004-04-08 Nalawadi Rajeev K. Method and apparatus for using an ACPI NVS memory region as an alternative CMOS information area
US20040158701A1 (en) * 2003-02-12 2004-08-12 Dell Products L.P. Method of decreasing boot up time in a computer system
US7853826B2 (en) * 2004-09-24 2010-12-14 Phoenix Technologies, Ltd. Operating system transfer and launch without performing post
US20060133362A1 (en) * 2004-12-17 2006-06-22 Stein Richard E Fast initialization of medical device system having multiple operating systems
US20080162901A1 (en) * 2004-12-24 2008-07-03 Zhongqing Li Computer Multiple Operation System Switching Method
US20070055860A1 (en) * 2005-09-07 2007-03-08 Szu-Chung Wang Method of fast booting for computer multimedia playing from standby mode
US20100125723A1 (en) * 2008-11-19 2010-05-20 Barnes Cooper Method and system to enable fast platform restart

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120042156A1 (en) * 2010-08-16 2012-02-16 Giga-Byte Technology Co., Lti Method of multiple boot manager
US8874889B2 (en) 2011-05-18 2014-10-28 Asustek Computer Inc. Method of switching between multiple operating systems of computer system
US20130179672A1 (en) * 2012-01-06 2013-07-11 Asustek Computer Inc. Computer and quick booting method thereof
CN105094873A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Handheld terminal system switching method and device
US20170161098A1 (en) * 2014-12-29 2017-06-08 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Method, device, and terminal for switching operating systems
US10565162B2 (en) 2017-08-02 2020-02-18 Mastercard International Incorporated Systems and methods for customized operating system conversion
US10838737B1 (en) * 2017-08-31 2020-11-17 American Megatrends International, Llc Restoration of memory content to restore machine state

Also Published As

Publication number Publication date
TW201106271A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
US20110040958A1 (en) Method of switching computer operating systems
US6446203B1 (en) Method and system for selecting from multiple boot code images to be loaded in a data processing system
EP2189901B1 (en) Method and system to enable fast platform restart
US8874889B2 (en) Method of switching between multiple operating systems of computer system
KR101292429B1 (en) Fast booting an operating system from an off state
US8239664B2 (en) Computer system having dual bios program protecting function and control method thereof
US20120110379A1 (en) Firmware recovery system and method
US20120191961A1 (en) Computer System and Operating System Switching Method Thereof
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
EP3163441B1 (en) Computer device and memory starting method for computer device
US20080098246A1 (en) Computer system and control method thereof
CN104778081B (en) Method for switching operating system and electronic device
US20070101191A1 (en) Memory dump method, computer system, and memory dump program
CN109905770B (en) Terminal starting method and device and terminal
US20110078429A1 (en) Electronic device and booting method therefor
US20030188115A1 (en) System and method for backing up data from a quiesced storage device
US20100106956A1 (en) Bios switching system and a method thereof
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
US20190228157A1 (en) Computing device having two trusted platform modules
US20060265581A1 (en) Method for switching booting devices of a computer
JP2011232986A (en) Information processor and memory dump collection method
EP2645239A1 (en) Electronic apparatus and booting method
US7089433B2 (en) Method and system for operating system quiescent state
KR20130068630A (en) Method for initializing embedded device and apparatus thereof
US20070198822A1 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof

Legal Events

Date Code Title Description
AS Assignment

Owner name: INSYDE SOFTWARE CORPORATION, TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIANG, GIANT;CHUNG, SUB;TANG, ALEX;REEL/FRAME:024069/0736

Effective date: 20100209

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION