KR20120017885A - Method of multiple boot manager - Google Patents

Method of multiple boot manager Download PDF

Info

Publication number
KR20120017885A
KR20120017885A KR1020100080812A KR20100080812A KR20120017885A KR 20120017885 A KR20120017885 A KR 20120017885A KR 1020100080812 A KR1020100080812 A KR 1020100080812A KR 20100080812 A KR20100080812 A KR 20100080812A KR 20120017885 A KR20120017885 A KR 20120017885A
Authority
KR
South Korea
Prior art keywords
partition
multiple boot
boot
managers
computer
Prior art date
Application number
KR1020100080812A
Other languages
Korean (ko)
Other versions
KR101271784B1 (en
Inventor
모우밍 마
칭훙 차오
포창 청
Original Assignee
기가 바이트 테크놀러지 컴퍼니 리미티드
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 기가 바이트 테크놀러지 컴퍼니 리미티드 filed Critical 기가 바이트 테크놀러지 컴퍼니 리미티드
Priority to KR1020100080812A priority Critical patent/KR101271784B1/en
Publication of KR20120017885A publication Critical patent/KR20120017885A/en
Application granted granted Critical
Publication of KR101271784B1 publication Critical patent/KR101271784B1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • 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/4416Network booting; Remote initial program loading [RIPL]

Landscapes

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

Abstract

PURPOSE: A method of a multiple boot manager is provided to include a multiple boot manager and an address flag instructing a first partition or a second partition. CONSTITUTION: A partition for a multiple boot manager storing is defined(32). A computer is operated to load a first operating system(34). An operating system for implementing an application program under a first operating system condition is changed to change the address flag of the partition for the multiple boot manager(36). The first operating system is unloaded, and the multiple boot manager in the partition is loaded(38).

Description

다중 부트 매니저의 방식 {METHOD OF MULTIPLE BOOT MANAGER}Multiple boot manager method {METHOD OF MULTIPLE BOOT MANAGER}

본 발명은 다중 부트 매니저의 방식, 보다 특히 하드 디스크 상에서 다중 부트 매니저를 위한 파티션을 규정하는 방법에 관한 것이다.The present invention relates to the manner of multiple boot managers, more particularly to defining partitions for multiple boot managers on a hard disk.

X86 중앙 처리 장치(CPU)로 구성된 컴퓨터에 관한 한, 정상적인 부트 절차는 운영 체제(OS)가 로딩될 때까지 컴퓨터를 기동시키는 것이다.As far as the computer is configured with the X86 central processing unit (CPU), the normal boot procedure is to start the computer until the operating system (OS) is loaded.

IBM PC와 호환가능한 컴퓨터 시스템에서 수행되는 제 1 공정은 컴퓨터의 스위치를 켠 후에 기본 입출력 시스템(Basic Input / Output System; BIOS)이다. 실제로, BIOS는 마더보드(motherboard) 또는 플래시 메모리 상의 읽기 전용 메모리(Read-Only Memory; ROM)에 저장되어 있는데, 이는 컴퓨터 시스템의 기본적인 운영을 위한 서비스 프로그램(service program)으로서 작동한다. 일반적으로, 하드웨어에 저장된 소프트웨어는 펌웨어(firmware)라 불리워진다. 펌웨어는 적절한 유틸리티 프로그램에 의하여 메모리에 저장된 서비스 프로그램을 업데이트하거나 복구하는데 이롭다.The first process performed on a computer system compatible with an IBM PC is the Basic Input / Output System (BIOS) after switching on the computer. Indeed, the BIOS is stored in a read-only memory (ROM) on a motherboard or flash memory, which acts as a service program for the basic operation of a computer system. In general, software stored in hardware is called firmware. The firmware is beneficial for updating or restoring service programs stored in the memory by appropriate utility programs.

우선, BIOS는 정상 작동시에 컴퓨터와 연결된 주변장치를 확인하기 위해 전원공급시 자체 검사(Power On Self Test, POST)를 수행한다. 이후에, BIOS는 부트 섹터(boot sector)를 검색하고, 소프트웨어 상에서 부트 섹터를 읽게 하고, 소프트웨어에 위치된 운영 체제를 로딩하라는 명령을 수행한다. 소프트웨어에 운영 체제가 존재하지 않은 경우에, BIOS는 하드 디스크에 위치된 운영 체제를 로딩하기 위해 마스터 부트 레코드(master boot record; MBR)로서 알려진 하드 디스크 상의 제 1 섹터를 읽는다.First, the BIOS performs a Power On Self Test (POST) to check the peripherals connected to the computer during normal operation. Thereafter, the BIOS retrieves the boot sector, causes the boot sector to be read on the software, and executes a command to load an operating system located in the software. If there is no operating system in the software, the BIOS reads the first sector on the hard disk known as the master boot record (MBR) to load the operating system located on the hard disk.

도 1은 일반 하드 디스크 파티션을 도시한 것으로서, 이는 예시적인 것이지 제한적인 것은 아니다. 실제로, 하드 디스크 상에 파티션의 여러 정의 모드(definition mode)가 존재한다. 도 1에 도시된 바와 같이, 하드 디스크 상의 제 1 섹터는 실린더 0, 헤드 0, 섹터 1에 어드레스를 갖는, 마스터 부트 레코드(MBR)(15)로서 알려져 있다. 하드 디스크는 여러 운영 체제를 로딩하기 위해 복수의 파티션들로 분할될 수 있다. 파티션은 제 1 파티션(11, 12) 및 확장된 파티션(13)으로 분할될 수 있다. 제 1 파티션은 지금까지 최대 4개로 규정된다. 하드 디스크 상에 확장된 파티션이 존재하는 경우에, 제 1 파티션은 최대 3개로 규정된다. 확장된 파티션이 단 하나일지라도, 몇개의 논리 파티션(131-133)이 존재하도록 규정될 수 있다.1 illustrates a typical hard disk partition, which is illustrative and not restrictive. Indeed, there are several definition modes of partitions on a hard disk. As shown in FIG. 1, the first sector on the hard disk is known as a master boot record (MBR) 15, with addresses at cylinder 0, head 0, sector 1. FIG. The hard disk may be divided into a plurality of partitions for loading various operating systems. The partition may be divided into first partitions 11 and 12 and extended partitions 13. Up to four first partitions are defined so far. In the case where there is an extended partition on the hard disk, the first partition is defined as a maximum of three. Even if there is only one extended partition, several logical partitions 131-133 may be defined to exist.

MBR(15)에 저장된 데이타는 3개의 파트(part)로 분할될 수 있다. 그 중 하나의 파트는 부트 섹터를 메모리에 로딩하기 위한, 부트 파티션 로더(boot partition loader; BPL) 또는 프리-로더(pre-loader), 프리-부트(pre-boot)(151)이다. 두번째 파트는 각 파티션의 기동 어드레스 및 볼륨과 같은, 하드 디스크 파티션의 조건들을 기록하기 위한 파티션 테이블(partition table)이 포함된, 하드 디스크 상에 파티션의 데이타를 저장하기 위한 파티션 데이타(152)이다. 세번째 파트는 MBR의 전체 섹터 데이타가 정확한 지를 검증하기 위한 검증 데이타(153)이다.Data stored in the MBR 15 may be divided into three parts. One part of it is a boot partition loader (BPL) or pre-loader, pre-boot 151, for loading a boot sector into memory. The second part is partition data 152 for storing partition data on the hard disk, including a partition table for recording the conditions of the hard disk partition, such as the start address and volume of each partition. The third part is verification data 153 for verifying that the entire sector data of the MBR is correct.

컴퓨터를 부팅시키는 것에 대한 예를 들면, 우선 컴퓨터의 스위치를 켰을 때, BIOS 프로그램이 실행되며, BIOS는 메모리에 로딩된다. 이후에, 전원공급시 자체 검사(POST)는 CPU, 마더보드, 메모리 등과 같은 컴퓨터 상의 하드웨어를 시험하기 위해 실행된다. 시험 결과는 스크린 또는 복사기로 출력되고, 디스플레이된다. POST에 의하여, 하드웨어 및 주변기기들은 후속 부팅 절차에서 정상적으로 작동되는 지가 시험된다. 비디오 그래픽 카드(VGA), 내장형 장치 전자기기(integrated device electronics; IDE) 또는 직렬 고급 기술 첨부파일(serial advanced technology attachment; SATA)과 같은 다른 하드웨어 장치에 BIOS가 저장되어 있는 경우에, BIOS 프로그램이 동시에 실행된다.For example, for booting a computer, first when the computer is switched on, the BIOS program is executed and the BIOS is loaded into memory. Thereafter, a power-on self test (POST) is performed to test the hardware on the computer, such as the CPU, motherboard, memory, and the like. The test results are output to a screen or copier and displayed. By POST, hardware and peripherals are tested for normal operation in subsequent boot procedures. If the BIOS is stored on another hardware device, such as a video graphics card (VGA), integrated device electronics (IDE), or serial advanced technology attachment (SATA), the BIOS program Is executed.

BIOS는 컴퓨터를 기동시키기 위한 부트 섹터를 탐색하라는 명령을 수행하고 컴퓨터를 기동시키기 위한 부트 섹터를 메모리에 로딩한다. 하드 디스크에 관한 한, 하드 디스크 상의 제 1 섹터에 위치된 MBR은 읽혀지고 메모리에 로딩된다. 프로그램 실행의 제어는 부트 플래그로 구성된 파티션을 메모리에 로딩하는 마스터 부트 레코드(MBR)의 부트 파티션 로더로 이동된다. 프로그램 실행의 제어는 부트 플래그를 지닌 파티션의 부트 섹터로 이동된다. 부트 섹터에는 부트 로더가 포함되어 있는데, 이에 의해 가이딩 어시스트(guiding assist)를 통해 실행하기 위해 부트 플래그를 지닌 파티션의 운영 체제를 메모리에 로딩한다. 그리고, 프로그램 실행의 제어는 운영 체제로 이동하며, 이에 따라 부팅 절차가 완료된다.The BIOS executes a command to search for a boot sector for starting the computer and loads the boot sector in memory for starting the computer. As far as the hard disk is concerned, the MBR located in the first sector on the hard disk is read and loaded into memory. Control of program execution is transferred to the boot partition loader of the master boot record (MBR), which loads a partition comprised of boot flags into memory. Control of program execution is shifted to the boot sector of the partition with the boot flag. The boot sector contains a boot loader, which loads the operating system of the partition with the boot flag into memory for execution through guiding assist. The control of program execution is shifted to the operating system, whereby the booting procedure is completed.

하드 디스크가 로딩되는 여려 운영 체제를 지닌 복수의 파티션들로 분할될 수 있지만, 실행을 위해 단지 부팅 플래그를 지닌 파티션이 메모리에 로딩되어 있다. 그 결과, 정상적인 부팅 절차는 선형으로 서로 배타적인데, 즉 부팅 플래그와 OS가 배치된 파티션만이 바로 로딩될 수 있으며, 그와는 반대로 부팅 플래그와 OS가 배치되지 않은 파티션은 실행될 수 없다.A hard disk can be partitioned into multiple partitions with multiple operating systems loaded, but only partitions with boot flags are loaded into memory for execution. As a result, the normal booting procedures are linearly mutually exclusive, that is, only partitions with boot flags and OSs can be loaded immediately, and conversely, partitions without boot flags and OSs cannot be executed.

다중 부팅 컴퓨터를 위하여, 다중 부트 매니저와 같은 소프트웨어는 여러 파티션 상에 배치된 상이한 OS가 관리될 수 있고 실행을 위한 메모리에 선택적으로 로딩되도록 개발된다. 일반 다중 부트 매니저로는 SPF 디스크, GRUB, LILO 등과 같은 것이 있다.For multiple boot computers, software such as multiple boot managers are developed such that different OSs placed on multiple partitions can be managed and selectively loaded into memory for execution. Common multiple boot managers include SPF disks, GRUB, and LILO.

MBR이 BIOS가 수행된 후 실행을 위한 메모리에 로딩된 제 1 섹터이기 때문에, 대부분의 다중 부트 매니저는 다중 부트 매니저가 설치되어 있는 MBR을 변경시키거나 개조시키기 위한 것이다. 이에 따라, 프로그램 실행의 제어는 OS가 로딩되기 전에 MBR에 의해 이루어진다. 컴퓨터를 부팅시키는 옵션은 사용자가 컴퓨터를 부팅시키기 위한 파티션 또는 운영 체제를 선택하기 위해 제공된다.Since the MBR is the first sector loaded into memory for execution after the BIOS has been performed, most of the multiple boot managers are for modifying or modifying the MBR in which the multiple boot managers are installed. Thus, control of program execution is achieved by the MBR before the OS is loaded. An option to boot the computer is provided for the user to select a partition or operating system for booting the computer.

그러나, MBR이 적절치 않게 변형되거나 개조될 때 보안 문제가 나타난다. 예를 들어, 섹터는 비정상적인 부팅 절차를 수행하도록 쉽게 부팅 바이러스 감염되거나 손상된다. 부가적으로, 대부분의 다중 부트 매니저는 작동하지 않고, 프로그램 실행의 제어가 이동됨으로 인해 다시 실행될 수 없다. 다른 OS로 변경될 때, 컴퓨터는 전체 부트 절차, 예를 들어 콜드 부트(cold boot) 또는 핫 부트(hot boot)를 다시 재기동시키거나 완료되어야 한다. 다시 말해서, 부트 절차는 BIOS가 로딩된 후에 실행되어야 한다. 다중 부트 매니저가 프로그램 실행의 제어를 획득한 때에만, 상이한 OS가 임의적으로 메모리에 로딩될 수 있다.However, security issues arise when MBRs are inappropriately modified or modified. For example, sectors are easily infected with boot viruses or damaged to perform abnormal boot procedures. In addition, most multiple boot managers do not work and cannot be run again because control of program execution is shifted. When changing to a different OS, the computer must restart or complete the entire boot procedure, for example cold boot or hot boot. In other words, the boot procedure must be executed after the BIOS has loaded. Only when multiple boot managers have gained control of program execution, different OSs can be loaded arbitrarily into memory.

본 발명은 BIOS 및 저장 매체가 장착된 컴퓨터에서 다중 부트 매니저의 방식을 제공하기 위한 것이다. 상기 저장 매체는 다중 부트 매니저를 위한 파티션, 제 1 파티션, 및 제 2 파티션으로 규정되어 있으며, 여기서 다중 부트 매니저를 위한 파티션에는 다중 부트 매니저, 및 제 1 파티션 또는 제 2 파티션을 지시하는 어드레스 플래그가 포함되어 있다.The present invention provides a scheme of multiple boot managers in a computer equipped with a BIOS and a storage medium. The storage medium is defined as a partition for the multiple boot manager, a first partition, and a second partition, where the partition for the multiple boot manager has multiple boot managers and an address flag indicating the first partition or the second partition. Included.

다중 부트 매니저의 방식은 하기 3개의 단계를 포함한다: 컴퓨터 시스템을 기동시키는 단계, 운영 체제를 변경시키는 단계, 컴퓨터 시스템을 재부팅하는 단계.The multiple boot manager approach involves three steps: starting up the computer system, changing the operating system, and rebooting the computer system.

컴퓨터를 기동시키는 제 1 단계는 하기와 같은 단계들을 포함한다: BIOS 프로그램을 실행시키는 단계; 마스터 부트 레코드(MBR)를 메모리에 BIOS 로딩하는 단계; 어드레스 플래그에 의해 명시된 프리-부트 파티션에 따라 제 1 파티션을 지시하고, 다중 부트 매니저를 위한 파티션을 메모리에 MBR 로딩하고, 프로그램 실행의 제어를 다중 부트 매니저를 위한 파티션으로 이동시키는 단계; 다중 부트 매니저를 위한 파티션에는 실행을 위한 제 1 파티션에 로딩되는 다중 부트 매니저가 포함되어 있으며, 프로그램 실행의 제어를 제 1 파티션으로 이동시키는 단계; 제 1 파티션에는 제 1 파티션의 제 1 운영 체제를 메모리에 로딩하기 위한 부트 로더를 가지는 부트 섹터가 포함되며, 프로그램 실행의 제어를 제 1 OS로 이동시키는 단계, 이에 따라 부팅 절차가 완료된다.The first step of starting the computer includes the following steps: executing a BIOS program; BIOS loading the master boot record (MBR) into memory; Indicating a first partition according to a pre-boot partition specified by an address flag, MBR loading a partition for multiple boot managers into memory, and moving control of program execution to a partition for multiple boot managers; The partition for the multi-boot manager includes a multi-boot manager loaded in the first partition for execution, and the method further comprises: moving control of program execution to the first partition; The first partition includes a boot sector having a boot loader for loading a first operating system of the first partition into a memory, and shifts control of program execution to the first OS, thereby completing a booting procedure.

OS를 변경시키는 단계는 하기 단계들을 포함한다: 제 1 OS의 조건 하에서 응용 프로그램을 실행하고, 사용자에 의해 선택하기 위해 대화 옵션 인터페이스(conversational option interface)를 생성시키는 단계; 사용자의 선택 또는 작업에 따라 제 2 파티션을 지시하도록 다중 부트 매니저를 위한 파티션의 어드레스 플래그를 변경시키는 단계.Changing the OS includes the following steps: running an application under the conditions of the first OS, and creating a conversational option interface for selection by the user; Changing an address flag of a partition for multiple boot managers to indicate a second partition according to a user's selection or operation.

마지막으로, 컴퓨터를 재부팅하는 단계는 제 1 OS를 언로딩하고; 마스터 부트 레코드(MBR)를 로딩하고; 다중 부트 매니저를 위한 파티션에 위치된 다중 부트 매니저를 로딩하고; 파중 부트 매니저를 위한 파티션의 어드레스 플래그에 따라 제 2 파티션을 지시하고 다중 부트 매니저를 제 2 파티션에 로딩하고; 제 2 파티션 상에 위치된 제 2 OS를 로딩함을 포함한다. 마스터 부트 레코드(MBR)를 로딩하는 단계는 임의적으로 생략될 수 있다.Finally, rebooting the computer may include unloading the first OS; Load the master boot record (MBR); Load multiple boot managers located in a partition for multiple boot managers; Instruct a second partition according to the address flag of the partition for the middle boot manager and load multiple boot managers into the second partition; Loading a second OS located on the second partition. The step of loading the master boot record (MBR) may optionally be omitted.

도 1은 일반 하드 디스크 파티션들을 도시한 것이다.
도 2는 본 발명에 따른 하드 디스크의 파티션들을 도시한 것이다.
도 3은 다중 부트 매니저의 방식을 예시한 흐름도이다.
도 4는 다중 부트 매니저의 방식의 다른 구체예를 예시한 흐름도이다.
도 5 및 도 6은 본 발명에 따라 컴퓨터를 기동시키는 단계의 흐름도이다.
도 7은 본 발명에 따라 재부팅 절차의 흐름도를 도시한 것이다.
도 8은 본 발명에 따라 재부팅 절차에 대한 다른 구체예의 흐름도를 도시한 것이다.
1 illustrates typical hard disk partitions.
2 illustrates partitions of a hard disk according to the present invention.
3 is a flowchart illustrating a scheme of multiple boot managers.
4 is a flowchart illustrating another embodiment of a scheme of multiple boot managers.
5 and 6 are flowcharts of steps for starting a computer in accordance with the present invention.
7 shows a flowchart of a reboot procedure in accordance with the present invention.
8 shows a flowchart of another embodiment for a reboot procedure in accordance with the present invention.

본 발명은 다중 부트 모드로 설정된 데스크탑 컴퓨터 또는 노트북 컴퓨터와 같은 컴퓨터에 적용할 수 있는 다중 부트 매니저의 방식을 제공한다. 본 발명에 따른 다중 부트 방법은 선택된 운영 체제를 메모리에 로딩할 목적으로 컴퓨터의 스위치를 온/오프 시에 선택하기 위한 여러 임의적인 운영 체제를 로딩하기 위한 것이다.The present invention provides a scheme of multiple boot managers that can be applied to computers such as desktop computers or notebook computers that are set to multiple boot modes. The multiple boot method according to the present invention is for loading various arbitrary operating systems for selecting on / off the switch of a computer for the purpose of loading the selected operating system into memory.

도 2는 본 발명에 따른 하드 디스크의 파티션을 도시한 것으로서, 이는 단지 예시적인 것으로 제한적이지 않으며, 실제로 하드 디스크 상에 파티션의 여러 정의 모드가 존재한다. 컴퓨터에는 저장 매체(2), 바람직하게 하드 디스크가 장착된다. 저장 매체(2)는 어드레스가 실린더 0, 헤드 0, 섹터 1인 제 1 섹터에 위치된 마스터 부트 레코드(MBR)(25)를 포함한다. 저장 매체(2)는 다중 부트 매니저(24)를 위한 파티션, 및 적어도 제 1 파티션(21) 및 제 2 파티션(22)인 복수의 주 파티션(21-22)과 같은 복수의 파티션(21-24)을 포함한다. 주 파티션은 상이한 운영 체제를 로딩하기 위해 사용되는데, 제 1 파티션(21)에는 제 1 OS가 로딩되며, 제 2 파티션(22)에는 제 2 OS가 로딩된다. 본 발명에 따른 상이한 OS는 상이한 버젼의 윈도우 운영 체제, 예를 들어 윈도우 XP, 윈도우 VISTA, 윈도우 7, 또는 윈도우 운영 체제 이외의 운영 체제, 예를 들어, UNIX, Linux, FreeBSD, Solaris, 또는 MAC OSX를 포함한다.2 illustrates a partition of a hard disk according to the present invention, which is merely illustrative and not limited, and there are actually several definition modes of partitions on the hard disk. The computer is equipped with a storage medium 2, preferably a hard disk. Storage medium 2 includes a master boot record (MBR) 25 located in a first sector whose addresses are cylinder 0, head 0, sector 1. Storage medium 2 comprises a partition for multiple boot managers 24 and a plurality of partitions 21-24, such as a plurality of primary partitions 21-22, which are at least a first partition 21 and a second partition 22. ). The primary partition is used for loading different operating systems, where the first partition 21 is loaded with the first OS and the second partition 22 is loaded with the second OS. Different OS according to the present invention may be used in different versions of Windows operating systems, for example Windows XP, Windows VISTA, Windows 7, or operating systems other than Windows operating systems, for example UNIX, Linux, FreeBSD, Solaris, or MAC OSX. It includes.

본 발명에 따른 다중 부트 매니저(24)를 위한 파티션은 저장 매체(2)의 독립적인 파티션인데, 이는 메모리에 로딩된 MBR(25)을 위한 지정된 파티션이다. 다중 부트 매니저(24)를 위한 파티션은 컴퓨터의 부팅을 제어하기 위한 프로그램인 다중 부트 매니저(241), 각 파티션의 어드레스 및 볼륨을 기록하기 위한 파티션 테이블(242), 및 메모리에 로딩될 제 1 파티션(21)과 제 2 파티션(22) 사이에 하나의 파티션을 지정하기 위한 어드레스 플래그(243)를 포함한다.The partition for the multiple boot manager 24 according to the invention is an independent partition of the storage medium 2, which is the designated partition for the MBR 25 loaded in the memory. The partition for the multiple boot manager 24 includes the multiple boot manager 241, which is a program for controlling the booting of the computer, a partition table 242 for recording the address and volume of each partition, and a first partition to be loaded into the memory. And an address flag 243 for designating one partition between the 21 and the second partitions 22.

도 3은 다중 부트 매니저의 방식을 예시한 흐름도이다. 이러한 구체예에 기술된 방식은 다중 부트 매니저가 저장된 다중 부트 매니저의 파티션을 규정하는 단계(단계 32); 제 1 OS를 로딩하기 위해 컴퓨터를 기동시키는 단계(단계 34); 제 1 OS의 조건 하에서 다중 부트 매니저를 위한 파티션의 어드레스 플래그를 변경시키도록 응용 프로그램을 실행시키기 위해 OS를 변경시키는 단계(단계 36); 제 1 OS를 언로딩하고 다중 부트 매니저를 로딩하고 어드레스 플래그에 따른 제 2 운영 체제를 로딩하기 위해 컴퓨터를 재부팅하는 단계(단계 38)를 포함한다.3 is a flowchart illustrating a scheme of multiple boot managers. The scheme described in this embodiment includes defining partitions of multiple boot managers in which multiple boot managers are stored (step 32); Starting the computer to load the first OS (step 34); Changing the OS to run an application to change an address flag of a partition for multiple boot managers under conditions of the first OS (step 36); Rebooting the computer to unload the first OS, load multiple boot managers, and load a second operating system according to the address flag (step 38).

도 4는 다중 부트 매니저의 방식의 다른 구체예를 예시한 흐름도이다. 우선, 저장 매체를 셋업하는 단계(단계 42)가 실행된다. 저장 매체는 다중 부트 매니저를 위한 파티션, 제 1 파티션 및 제 2 파티션으로 규정되며, 여기서 다중 부트 매니저를 위한 파티션은 다중 부트 매니저, 및 제 1 파티션 또는 제 2 파티션을 지시하는 어드레스 플래그를 포함한다.4 is a flowchart illustrating another embodiment of a scheme of multiple boot managers. First, a step of setting up a storage medium (step 42) is executed. The storage medium is defined as a partition for multiple boot managers, a first partition and a second partition, where the partition for multiple boot managers includes multiple boot managers and an address flag indicating the first or second partition.

본원에서, 본 발명에 따라 컴퓨터를 부팅하는 흐름도는 도 5 및 도 6을 참조로 하여 기술될 것이다. 컴퓨터의 기동을 실행시키는 단계(단계 44)는 하기와 같은 단계들을 포함한다. BIOS 프로그램은 프로그램 실행의 제어를 획득하기 위해 컴퓨터의 기동 또는 켜짐(power-on) 신호에 응하여 실행된다(단계 440). BIOS는 정상 작동에서 컴퓨터와 연결되어 있는 주변기기들을 확인하기 위해 전원공급시 자체 검사(POST)를 수행한다. 이후에, BIOS는 실린더 0, 헤드 0, 섹터 1에 어드레스를 갖는 하드 디스크 상의 메모리에 위치된 마스터 부트 레코드(MBR)를 로딩하기 위해 부트 섹터를 검색한다(단계 441). BIOS는 프로그램 실행의 제어를 마스터 부트 레코드(MBR)로 이동시킨다(단계 442). MBR은 다중 부트 매니저를 위한 파티션을 메모리에 로딩하고(단계 443), 프로그램 실행의 제어를 다중 부트 매니저를 위한 파티션으로 이동시킨다(단계 444). 다중 부트 매니저를 위한 파티션은 다중 부트 매니저 및 어드레스 플래그를 포함한다. 다중 부트 매니저는 제 1 파티션을 지시하는 어드레스 플래그에 따라 제 1 파티션을 메모리에 로딩하며(단계 445), 다중 부트 매니저를 위한 파티션은 프로그램 실행의 제어를 제 1 파티션으로 이동시킨다(단계 446). 제 1 파티션은 제 1 파티션 상에 위치된 제 1 OS를 메모리에 로딩하기 위한(단계 447) 부트 로더를 갖는 부트 섹터를 포함한다. 제 1 파티션은 프로그램 실행의 제어를 제 1 파티션 상에 위치된 제 1 OS로 이동시킨다(단계 448).Here, a flowchart of booting a computer according to the present invention will be described with reference to FIGS. 5 and 6. Performing startup of the computer (step 44) includes the following steps. The BIOS program is executed in response to a computer startup or power-on signal to obtain control of program execution (step 440). The BIOS performs a power-on self test (POST) to check the peripherals connected to the computer in normal operation. The BIOS then retrieves the boot sector to load the master boot record (MBR) located in memory on the hard disk addressed to cylinder 0, head 0, sector 1 (step 441). The BIOS transfers control of program execution to the master boot record (MBR) (step 442). The MBR loads a partition for multiple boot managers into memory (step 443) and moves control of program execution to a partition for multiple boot managers (step 444). Partitions for multiple boot managers include multiple boot managers and address flags. The multiple boot manager loads the first partition into memory according to an address flag indicating the first partition (step 445), and the partition for the multiple boot manager transfers control of program execution to the first partition (step 446). The first partition includes a boot sector having a boot loader for loading (step 447) a first OS located on the first partition into memory. The first partition transfers control of program execution to a first OS located on the first partition (step 448).

다음으로, 하기 단계들을 포함하는 운영 체제를 변경시키는 단계가 실행된다: 제 1 OS의 조건하에서 응용 프로그램을 실행시키는 단계, 및 사용자에 의해 선택하기 위한 상이한 운영 체제의 복수의 명칭 옵션을 포함하는 대화 옵션 인터페이스를 생성시키는 단계; 바람직한 인터페이스는 라디오 버튼 옵션으로서 디자인되며, 여기서 제 1 OS의 명칭 옵션은 기능억제되거나(disable) 액세스 불가능하거나(unaccessible), 제 1 OS의 명칭 옵션은 디스플레이되지 않는다. 응용 프로그램은 다음 부팅에서 참조하기 위해 제 2 파티션으로 지시된 어드레스 플래그를 얻기 위해 사용자의 선택에 따라 다중 부트 매니저를 위한 파티션의 어드레스 플래그를 변경시킨다. 응용 프로그램은 다중 부트 매니저를 위한 파티션 상에 위치된 다중 부트 매니저와 통신할 수 있거나 다중 부트 매니저를 활성화되게 명령할 수 있다.Next, a step of changing an operating system is executed, which includes the following steps: running an application under the conditions of the first OS, and a dialog comprising a plurality of naming options of different operating systems for selection by the user. Creating an option interface; The preferred interface is designed as a radio button option, where the name option of the first OS is disabled or inaccessible, or the name option of the first OS is not displayed. The application program changes the address flag of the partition for multiple boot managers according to the user's choice to obtain an address flag directed to the second partition for reference at the next boot. An application can communicate with multiple boot managers located on a partition for multiple boot managers or can instruct multiple boot managers to be activated.

도 7에 관하여, 도 7은 본 발명에 따른 재부팅 절차의 흐름도를 도시한 것이다. 재부팅 절차의 단계는 데이타 보존을 안전하고 통합적으로 확보하기 위해 제 1 OS를 언로딩하는 단계(단계 481)를 포함한다. 재부트 절차는 컴퓨터를 재기동시키는 것, 예를 들어 컴퓨터를 핫 기동(hot start) 또는 콜드 기동(cold start)시키는 것이 아니라 BIOS 프로그램이 생략된 후속 부트 절차를 의미하는 것이다. 콜드 부트 또는 핫 부트이든 간에 일반 부트 절차는 실행을 위한 BIOS 프로그램을 로딩해야 하지만, 본 발명에 따른 재부트 절차는 BIOS가 아닌 마스터 부트 레코드(MBR)를 메모리에 로딩하는 것이 필요하고(단계 482), 프로그램 실행의 제어를 MBR의 부트 파티션 로더로 이동시킨다. 이후에, MBR은 다중 부트 매니저를 위한 파티션을 메모리에 로딩하며(단계 483), 프로그램 실행의 제어는 다중 부트 매니저를 포함하는 다중 부트 매니저를 위한 파티션으로 이동된다. 다중 부트 매니저는 제 2 파티션을 지시하는 어드레스 플래그에 따라 제 2 파티션을 메모리에 로딩하며(단계 485), 다중 부트 매니저를 위한 파티션은 프로그램 실행의 제어를 제 2 파티션으로 이동시킨다. 제 2 파티션은 제 2 파티션 상에 위치된 제 2 OS를 메모리에 로딩하기 위한(단계 487) 부트 로더를 갖는 부트 섹터를 포함한다. 제 2 파티션은 프로그램 실행의 제어를 제 2 파티션 상에 위치된 제 2 OS로 이동시킨다.With reference to FIG. 7, FIG. 7 shows a flowchart of a reboot procedure according to the present invention. Steps in the reboot procedure include unloading the first OS (step 481) to securely and integrally ensure data retention. The reboot procedure does not mean restarting the computer, for example a subsequent boot procedure in which the BIOS program is omitted, but rather a hot start or cold start of the computer. The normal boot procedure, whether cold boot or hot boot, must load a BIOS program for execution, but the reboot procedure according to the present invention requires loading a non-BIOS master boot record (MBR) into memory (step 482), Transfer control of program execution to the MBR's boot partition loader. Thereafter, the MBR loads a partition for multiple boot managers into memory (step 483), and control of program execution is transferred to a partition for multiple boot managers including multiple boot managers. The multiple boot manager loads the second partition into memory according to an address flag indicating the second partition (step 485), and the partition for the multiple boot manager transfers control of program execution to the second partition. The second partition includes a boot sector having a boot loader for loading (step 487) a second OS located on the second partition into memory. The second partition transfers control of program execution to a second OS located on the second partition.

도 8은 본 발명에 따른 재부팅 절차에 대한 다른 구체예의 흐름도이다. 본 구체예는 BIOS 프로그램 및 마스터 부트 레코드(MBR)가 생략된 재부트 절차를 기술하는 것이다. 재부트 단계들은 제 1 운영 체제를 언로딩하는 단계(단계 481); BIOS 프로그램 및 마스터 부트 레코드(MBR)가 아닌 다중 부트 매니저를 위한 파티션을 메모리에 로딩하는 단계; 프로그램 실행의 제어를 다중 부트 매니저를 위한 파티션으로 이동시키는 단계; 이후 단계 485 및 단계 487을 수행하는 단계를 포함한다.8 is a flowchart of another embodiment of a reboot procedure according to the present invention. This embodiment describes a reboot procedure with the BIOS program and master boot record (MBR) omitted. Reboot steps include: unloading the first operating system (step 481); Loading a partition into memory for multiple boot managers other than a BIOS program and a master boot record (MBR); Moving control of program execution to a partition for multiple boot managers; Thereafter, steps 485 and 487 are performed.

본 발명이 이러한 바람직한 구체예에 관하여 설명되었지만, 다른 여러 가능한 변형예 및 변경예가 하기에 청구되는 바와 같은 본 발명의 정신 및 범위를 벗어나지 않고 이루어질 수 있다.
While the invention has been described in terms of these preferred embodiments, many other possible modifications and variations can be made without departing from the spirit and scope of the invention as claimed below.

Claims (9)

다중 부트 매니저(multiple boot manager)가 저장된 다중 부트 매니저를 위한 파티션(partition)을 규정하는 단계;
제 1 운영 체제를 로딩하기 위해 컴퓨터를 기동시키는 단계;
다중 부트 매니저를 위한 파티션의 어드레스 플래그(address flag)를 변경시키기 위해 제 1 OS의 조건 하에서 응용 프로그램을 실행시키기 위한 운영 체제를 변경시키는 단계;
제 1 OS를 언로딩(unloading)하고, 다중 부트 매니저를 위한 파티션에 위치된 다중 부트 매니저를 로딩하고, 어드레스 플래그에 따라 제 2 OS를 로딩하기 위해 컴퓨터를 재부팅하는 단계를 포함하는 다중 부트 매니저의 방식.
Defining a partition for multiple boot managers in which multiple boot managers are stored;
Starting a computer to load a first operating system;
Changing an operating system for running an application under conditions of a first OS to change an address flag of a partition for multiple boot managers;
Unloading the first OS, loading multiple boot managers located in the partition for the multiple boot managers, and rebooting the computer to load the second OS according to the address flag. system.
다중 부트 매니저, 및 제 1 파티션 또는 제 2 파티션을 지시하는 어드레스 플래그를 포함하는 다중 부트 매니저를 위한 파티션, 제 1 파티션, 및 제 2 파티션으로 규정되는 저장 매체를 셋업하는 단계;
제 1 운영 체제를 로딩하기 위해 컴퓨터를 기동시키는 단계;
제 1 OS의 조건 하에서 응용 프로그램을 실행시키고 사용자에 의한 선택을 위한 대화 옵션 인터페이스를 생성시키고; 사용자의 선택 또는 작업에 따라 제 2 파티션을 지시하도록 다중 부트 매니저를 위한 파티션의 어드레스 플래그를 변경시킴을 포함하는 운영 체제를 변경시키는 단계; 및
제 1 OS를 언로딩(unloading)하고; 다중 부트 매니저를 위한 파티션을 로딩하고; 다중 부트 매니저를 위한 파티션의 어드레스 플래그에 따라 제 2 파티션을 지시하고 제 2 파티션에 다중 부트 매니저를 로딩하고; 제 2 파티션 상에 위치된 제 2 OS를 로딩함을 포함하는 컴퓨터를 재부팅하는 단계를 포함하는 다중 부트 매니저의 방식.
Setting up a storage medium defined as a partition, a first partition, and a second partition for the multiple boot manager including the multiple boot manager and an address flag indicating the first partition or the second partition;
Starting a computer to load a first operating system;
Run the application under conditions of the first OS and generate a conversation option interface for selection by the user; Altering an operating system comprising changing an address flag of a partition for multiple boot managers to indicate a second partition according to a user's selection or operation; And
Unloading the first OS; Load partitions for multiple boot managers; Indicate a second partition according to an address flag of a partition for multiple boot managers and load multiple boot managers into the second partition; Rebooting the computer comprising loading a second OS located on the second partition.
제 2항에 있어서, 상기 컴퓨터를 기동시키는 단계가 BIOS 프로그램을 실행하고; 마스터 부트 레코드(MBR)를 BIOS 로딩하고; 다중 부트 매니저를 위한 파티션을 MBR 로딩하고; 다중 부트 매니저를 위한 파티션의 어드레스 플래그에 따라 제 1 파티션을 로딩하고; 제 1 파티션 상에 위치된 제 1 OS를 로딩함을 추가로 포함하는 다중 부트 매니저의 방식.3. The method of claim 2, wherein starting the computer comprises: executing a BIOS program; BIOS loading the master boot record (MBR); MBR load partitions for multiple boot managers; Load a first partition according to an address flag of a partition for multiple boot managers; And loading the first OS located on the first partition. 제 2항 또는 제 3항에 있어서, 상기 컴퓨터를 기동시키는 단계가, 프로그램 실행의 제어를 BIOS에서 MBR로 이동시키고; 프로그램 실행의 제어를 MBR에서 다중 부트 매니저를 위한 파티션으로 이동시키고; 프로그램 실행의 제어를 다중 부트 매니저를 위한 파티션에서 제 1 파티션으로 이동시키고; 프로그램 실행의 제어를 제 1 파티션에서 제 1 OS로 이동시킴을 추가로 포함하는 다중 부트 매니저의 방식.4. The method of claim 2 or 3, wherein starting the computer further comprises: moving control of program execution from the BIOS to the MBR; Move control of program execution from the MBR to the partition for multiple boot managers; Move control of program execution from a partition for multiple boot managers to a first partition; And further including transferring control of program execution from the first partition to the first OS. 제 2항에 있어서, 상기 컴퓨터를 재부팅하는 단계에서, 상기 제 2 파티션이 제 2 OS를 제 2 파티션에 로딩하기 위한 부트 로더(boot loader)를 추가로 포함하는 다중 부트 매니저의 방식.3. The method of claim 2, wherein in the step of rebooting the computer, the second partition further comprises a boot loader for loading a second OS into the second partition. 제 2항에 있어서, 상기 운영 체제를 변경시키는 단계에서, 상기 대화 옵션 인터페이스가 액세스불가능한(unaccessible) 제 1 명칭 옵션(name option)을 갖는 상이한 운영 체제의 복수의 명칭 옵션을 포함하는 라디오 버튼 옵션(radio button option)으로서 디자인되는 다중 부트 매니저의 방식.3. The radio button option of claim 2, wherein in the step of changing the operating system, the conversation option interface comprises a plurality of name options of different operating systems having a first name option that is inaccessible. Multiple boot manager schemes designed as radio button options. 제 2항에 있어서, 상기 응용 프로그램이 제 1 파티션 또는 제 2 파티션으로 지시하도록 다중 부트 매니저를 위한 파티션의 어드레스 플래그를 변경하는 것을 목적으로 하는 다중 부트 매니저의 방식.3. The method of claim 2, wherein the application program aims to change an address flag of a partition for the multiple boot manager to point to the first partition or the second partition. 제 2항에 있어서, 상기 컴퓨터를 재부팅하는 단계가 마스터 부트 레코드(MBR)를 로딩하는 것을 추가로 포함하는 다중 부트 매니저의 방식.3. The method of claim 2, wherein rebooting the computer further comprises loading a master boot record (MBR). 제 2항에 있어서, 상기 저장 매체가 하나 이상의 파티션이 규정된 복수의 하드 디스크를 포함하며, 상기 다중 부트 매니저를 위한 파티션이 하드 디스크들 중 하나 상에 규정되어 있는 다중 부트 매니저의 방식.
3. The method of claim 2, wherein the storage medium comprises a plurality of hard disks with one or more partitions defined, and a partition for the multiple boot manager is defined on one of the hard disks.
KR1020100080812A 2010-08-20 2010-08-20 Method for executing multiple boot manager KR101271784B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100080812A KR101271784B1 (en) 2010-08-20 2010-08-20 Method for executing multiple boot manager

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100080812A KR101271784B1 (en) 2010-08-20 2010-08-20 Method for executing multiple boot manager

Publications (2)

Publication Number Publication Date
KR20120017885A true KR20120017885A (en) 2012-02-29
KR101271784B1 KR101271784B1 (en) 2013-06-07

Family

ID=45839719

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100080812A KR101271784B1 (en) 2010-08-20 2010-08-20 Method for executing multiple boot manager

Country Status (1)

Country Link
KR (1) KR101271784B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626361B1 (en) 2000-12-16 2006-09-20 삼성전자주식회사 Computer system including multi operating system and method for changing into other operating system without reboot of the same
TWI223774B (en) 2003-07-18 2004-11-11 Mitac Technology Corp Selectable booting operation method by the bios with the multi-partition in the disk
KR101081719B1 (en) * 2008-08-26 2011-11-08 한국통신인터넷기술 주식회사 System and method of controlling operating system for terminal

Also Published As

Publication number Publication date
KR101271784B1 (en) 2013-06-07

Similar Documents

Publication Publication Date Title
US8751783B2 (en) Booting computing devices with EFI aware operating systems
USRE40092E1 (en) Method for quickly booting a computer system
US9430250B2 (en) Bootability with multiple logical unit numbers
US20010039612A1 (en) Apparatus and method for fast booting
US9501289B2 (en) Method of a UEFI firmware and computer system thereof
US7516319B2 (en) Method for booting a computer with second OS involves formatting portion of main memory with a second file system to generate ramdisk
KR950002945B1 (en) Apparatus and method for loading a system reference diskette image from a system partition in a personal computer system
US7660979B2 (en) Multi-mode computer systems and operating methods thereof
US20030233534A1 (en) Enhanced computer start-up methods
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
US20120042156A1 (en) Method of multiple boot manager
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
US20090013167A1 (en) Computer device, method for booting the same, and booting module for the same
US20060047940A1 (en) Computer multi-buttons booting system and method
KR100678974B1 (en) Apparatus and method for security and user comfortability in rebooting computer system
US8291206B2 (en) Method for booting computer system
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US20130097412A1 (en) Performing A Boot Sequence In A Multi-Processor System
US11221842B2 (en) Systems and methods for executing and verifying system firmware update before committing firmware update to motherboard
US20060168440A1 (en) OS selection methods and computer systems utilizing the same
US7080243B2 (en) Method and system for comparing firmware images
US20060080518A1 (en) Method for securing computers from malicious code attacks
US20120005464A1 (en) Start up processing method, information processing apparatus, and computer-readable storage medium storing program
KR101271784B1 (en) Method for executing multiple boot manager
JP5723554B2 (en) Multi-boot manager method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160427

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee