KR20020007090A - Method and system for booting recovery a computer - Google Patents

Method and system for booting recovery a computer Download PDF

Info

Publication number
KR20020007090A
KR20020007090A KR1020000040841A KR20000040841A KR20020007090A KR 20020007090 A KR20020007090 A KR 20020007090A KR 1020000040841 A KR1020000040841 A KR 1020000040841A KR 20000040841 A KR20000040841 A KR 20000040841A KR 20020007090 A KR20020007090 A KR 20020007090A
Authority
KR
South Korea
Prior art keywords
boot
flash memory
boot record
computer
disk drive
Prior art date
Application number
KR1020000040841A
Other languages
Korean (ko)
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 KR1020000040841A priority Critical patent/KR20020007090A/en
Publication of KR20020007090A publication Critical patent/KR20020007090A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • 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/4408Boot device selection

Landscapes

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

Abstract

PURPOSE: A computer and a method for recovering booting of the computer are provided to recover immediately the booting without extra booting diskette though a boot record of a hard disk drive is deleted or is damaged by using a booting recovery program stored in a flash memory. CONSTITUTION: A computer includes a flash memory(40), a booting recovery program(45), a CPU(Central processing Unit)(10), a controller(20), a hard disk drive(90), a hard disk controller(80), a floppy disk drive(70), a floppy disk controller(60), and RAM(Random Access Memory)(30). The flash memory(40) is a nonvolatile memory and stores BIOS(Basic Input/Output System) data related to a basic operation of computer system. The booting recovery program(45) is stored in the flash memory(40). The CPU(10) reads out the BIOS data from the flash memory(40) and boots the computer system. A controller(20) is operated by the flash memory(40) and performs a read/write work on the flash memory(40). The hard disk drive(90) stores data and records a boot record for use in boot. The hard disk controller(80) outputs a control signal for driving the hard disk drive(90) by an instruction of CPU(10). The floppy disk drive(70) records data in a floppy disk or reads the data recorded therein. The floppy disk controller(60) outputs a control signal for driving the floppy disk drive(70) by an instruction of CPU(10). The RAM(30) stores the BIOS data read out from the flash memory by the controller(20) and the floppy disk controller(60).

Description

컴퓨터 및 그 부팅 복구 방법 { Method and system for booting recovery a computer }{Method and system for booting recovery a computer}

본 발명은, 컴퓨터 및 그 부팅 복구 방법에 관한 것이다.The present invention relates to a computer and a boot recovery method thereof.

도 3은 종래 컴퓨터의 부팅 과정을 나타낸 흐름도이고, 도 4는 종래 컴퓨터의 블록구성도이다. 제 4도에 도시되어 있는 바와 같이, 종래의 컴퓨터는, 컴퓨터 시스템의 기본 동작에 관련된 바이오스 데이터를 저장하고 있는 플래쉬 메모리(140)와; 플래쉬 메모리(140)로부터 바이오스 데이터를 읽어와 시스템을 부팅 시키는 중앙처리장치(110)와; 중앙처리장치(110)에 의하여 동작하여 플래쉬 메모리(140)에 읽기/쓰기 작업을 수행하는 컨트롤러(120)와; 데이터를 저장하며 부팅을 위한 부트레코드가 기록된 하드디스크 드라이브(190)와; 중앙처리장치(110)에서 명령을 받아 하드디스크 드라이브(190)를 구동하기 위한 제어 신호를 출력하는 하드디스크 컨트롤로(180)를 포함한다. 또한, 플로피 디스크에 데이터를 기록하거나 플로피 디스크에 기록되어 있는 데이터를 판독하기 위한 플로피 디스크 드라이브(170)와; 중앙처리장치(110)에서 명령을 받아 플로피 디스크 드라이브(170)를 구동하기 위한 제어 신호를 출력하는 플로피 디스크 컨트롤로(160)와; 컨트롤로(120)와 플로피 디스크 컨트롤러(160)에 의하여 플래쉬 메모리(140)에서 읽어 들인 바이오스 데이터를 저장하는 램(130)으로 이루어진다.3 is a flowchart illustrating a booting process of a conventional computer, and FIG. 4 is a block diagram of a conventional computer. As shown in FIG. 4, a conventional computer includes a flash memory 140 that stores BIOS data related to the basic operation of a computer system; A central processing unit (110) for booting the system by reading the BIOS data from the flash memory (140); A controller 120 operated by the central processing unit 110 to perform a read / write operation on the flash memory 140; A hard disk drive 190 storing data and having a boot record recorded therein for booting; The hard disk control path 180 outputs a control signal for driving the hard disk drive 190 by receiving a command from the CPU 110. A floppy disk drive 170 for recording data on a floppy disk or reading data recorded on the floppy disk; A floppy disk control path 160 which receives a command from the central processing unit 110 and outputs a control signal for driving the floppy disk drive 170; The control path 120 and the floppy disk controller 160 may include a RAM 130 for storing BIOS data read from the flash memory 140.

상기와 같은 구성에 의한 종래 컴퓨터의 부팅 과정을 설명하면 다음과 같다.Referring to the booting process of the conventional computer by the above configuration as follows.

컴퓨터 시스템에 전원이 공급되면 중앙처리장치(110)는 어드레스 신호를 출력하여 컨트롤러(120)를 인에이블 시킨다(P10). 중앙처리장치(110)에 의하여 인에이블된 컨트롤러(120)는 플래쉬 메모리(140)의 어드레스 신호와 데이터를 읽기 위한 롬 선택신호를 액티브시킨다. 이에 따라, 플래쉬 메모리(140)내의 롬 바이오스가 POST (Power On Self Test) 루틴을 실행시켜 컴퓨터의 하드웨어를 점검하고 하드디스크 드라이브(190) 상태를 파악한다(P20). 롬 바이오스가 하드디스크 드라이브(190)의 마스터 부트레코드를 하드디스크 컨트롤러(180)를 통해 읽어 들이게 되는데, 만일 이 부분을 읽어 들이지 못하면 Drive Failure 혹은 그 비슷한 메시지를 출력하여 부팅 오류를 표시한다(P30). 플래쉬 메모리(140)내의 롬 바이오스가 하드디스크 드라이브(190)의 마스터 부트레코드를 읽어 들여, 이상이 없으면 컨트롤러(120)는 시스템 버스(150)를 통하여 읽어 들인 바이오스 데이터를 중앙처리장치(110)에 전달하여 지정된 부팅 순서에 따라 자동 부팅된다(P60).When power is supplied to the computer system, the CPU 110 outputs an address signal to enable the controller 120 (P10). The controller 120 enabled by the CPU 110 activates the ROM signal of the flash memory 140 and the ROM selection signal for reading data. Accordingly, the ROM BIOS in the flash memory 140 executes a power on self test (POST) routine to check the hardware of the computer and determine the state of the hard disk drive 190 (P20). The ROM BIOS reads the master boot record of the hard disk drive 190 through the hard disk controller 180. If it fails to read this part, the ROM BIOS displays a boot error by outputting a Drive Failure or similar message (P30). . The ROM BIOS in the flash memory 140 reads the master boot record of the hard disk drive 190, and if there is no error, the controller 120 sends the BIOS data read through the system bus 150 to the CPU 110. Automatically boot according to the specified boot order by passing (P60).

그런데, 이러한 종래 컴퓨터의 부팅 과정에서 하드디스크 드라이브(190)의 부트레코드가 바이러스 등에 의해 삭제 또는 손상되는 경우가 발생하게 된다. 이때, 사용자는 플로피 디스크 드라이브(170)에 부팅 디스켓을 집어넣게 된다(P40). 롬 바이오스가 플로피 디스크 드라이브(170)에 저장되어 있는 부트레코드를 읽어 들여, 플로피 디스크 컨트롤러(160)를 통해 중앙처리장치(110)에 전달하여 지정된 부팅순서에 따라 시스템을 부팅시킨다(P60). 따라서, 종래에는 사용자가 항상 별도의 부팅디스켓을 상비해야 하는 단점이 있었다.However, the boot record of the hard disk drive 190 may be deleted or corrupted by a virus or the like during the booting of the conventional computer. At this time, the user inserts a bootable diskette into the floppy disk drive 170 (P40). The ROM BIOS reads the boot record stored in the floppy disk drive 170, transfers the boot record to the central processing unit 110 through the floppy disk controller 160, and boots the system in the designated boot order (P60). Therefore, in the related art, a user has to always have a separate boot diskette.

따라서, 본 발명의 목적은, 바이러스 등에 의해 하드디스크 드라이브의 부트 레코드가 삭제 또는 손상되는 되더라도 별도의 부팅디스켓 없이 즉시 부팅 복구 가능한 컴퓨터와 그 부팅 복구 방법을 제공하는 것을 목적으로 한다.Accordingly, an object of the present invention is to provide a computer and a boot recovery method capable of immediately boot recovery without a separate boot diskette even if the boot record of the hard disk drive is deleted or corrupted by a virus or the like.

도 1은 본 발명에 따른 컴퓨터의 부팅 과정을 나타낸 흐름도,1 is a flowchart illustrating a booting process of a computer according to the present invention;

도 2는 본 발명에 따른 컴퓨터의 블록구성도,2 is a block diagram of a computer according to the present invention;

도 3은 종래 컴퓨터의 부팅 과정을 나타낸 흐름도,3 is a flowchart illustrating a booting process of a conventional computer;

도 4는 종래 컴퓨터의 블록구성도이다.4 is a block diagram of a conventional computer.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

10 : 중앙처리장치 20 : 컨트롤러10: central processing unit 20: controller

30 : 램 40 : 플래쉬 메모리30: RAM 40: Flash Memory

45 : 부팅복구 프로그램 50 : 시스템 버스45: boot recovery program 50: system bus

60 : 플로피 디스크 컨트롤러 70 : 플로피 디스크 드라이브60: floppy disk controller 70: floppy disk drive

80 : 하드디스크 컨트롤러 90 : 하드디스크 드라이브80: hard disk controller 90: hard disk drive

상기 목적은, 본 발명에 따라, 부트레코드 영역을 갖는 보조기억장치와, 상기 부트레코드를 읽어 들여 운영체계를 부팅하는 중앙처리 장치를 갖는 컴퓨터에있어서, 상기 보조기억장치의 부트레코드와 동일 내용을 저장하며, 읽기 및 쓰기 가능한 비휘발성 메모리와, 컴퓨터 시스템의 부팅 오류시 상기 비휘발성 메모리내의 부트레코드를 읽어 상기 보조기억장치의 부트레코드를 복구하는 부팅복구 프로그램을 더 포함하는 것을 특징으로 하는 컴퓨터에 의해서 달성된다.According to the present invention, a computer having a secondary storage device having a boot record area and a central processing unit for booting an operating system by reading the boot record has the same contents as a boot record of the secondary storage device. And a boot recovery program that stores and reads and writes a nonvolatile memory, and a boot recovery program that reads a boot record in the nonvolatile memory and recovers a boot record of the auxiliary memory device in the event of a boot failure of the computer system. Is achieved by

여기서, 상기 부팅복구 프로그램은 상기 비휘발성 메모리내에 저장되는 것이 컴퓨터의 부팅속도를 단축시킬 수 있어 바람직하다.In this case, it is preferable that the boot recovery program is stored in the nonvolatile memory to reduce the booting speed of the computer.

또한, 상기 보조기억장치는 하드디스크 드라이브이며, 상기 비휘발성 메모리는 컴퓨터 시스템의 기본 입력 및 출력 시스템 데이터를 저장하는 플래쉬 메모리인 것이 전원이 끊겨도 저장된 정보를 보존하는 롬의 특성과 읽기 쓰기가 자유로운 램의 특성을 모두 갖고 있어 바람직하다.In addition, the auxiliary memory device is a hard disk drive, and the nonvolatile memory is a flash memory for storing basic input and output system data of a computer system. It is preferable because it has all the characteristics of the RAM.

한편, 상기 목적은, 본 발명의 다른 분야에 따르면, 부트레코드 영역을 갖는 보조기억장치와, 상기 부트레코드를 읽어 들여 운영체계를 부팅하는 중앙처리 장치를 갖는 컴퓨터의 부팅 복구 방법에 있어서, 상기 보조기억장치의 부트레코드를 읽기 및 쓰기 가능한 비휘발성 메모리에 저장하는 단계; 컴퓨터 시스템의 전원인가에 따라 상기 비휘발성 메모리에서 컴퓨터의 주변기기를 확인하는 바이오스 포스트 루틴을 실행하는 단계; 상기 바이오스 포스트 루틴에서 상기 보조기억장치의 부팅 오류시 상기 비휘발성 메모리내의 부트레코드를 읽어 내는 단계; 읽어 들인 상기 부트레코드로 상기 보조기억장치의 부트레코드를 복구하여 컴퓨터의 운영체계를 부팅시키는 단계를 포함하는 것을 특징으로 하는 컴퓨터의 부팅 복구 방법에 의해서도 달성될 수 있다.According to another aspect of the present invention, there is provided a boot recovery method for a computer having an auxiliary storage device having a boot record area and a central processing unit for booting an operating system by reading the boot record. Storing a boot record of the storage device in a nonvolatile memory which can be read and written; Executing a bios post routine for identifying peripherals of the computer in the nonvolatile memory upon application of a power to a computer system; Reading a boot record in the nonvolatile memory upon booting of the auxiliary memory in the BIOS post routine; It may also be achieved by a boot recovery method of a computer, comprising the step of booting the operating system of the computer by restoring the boot record of the auxiliary storage device to the boot record read.

여기서, 상기 비휘발성 메모리는 컴퓨터 시스템의 기본 입력 및 출력 시스템 데이터를 저장하는 플래쉬 메모리인 것이 전원이 끊겨도 저장된 정보를 보존하는 롬의 특성과 읽기 쓰기가 자유로운 램의 특성을 모두 갖고 있어 바람직하다.The nonvolatile memory is preferably a flash memory that stores basic input and output system data of a computer system, and has both characteristics of a ROM that preserves stored information even when power is cut off and a RAM that is free to read and write.

또한, 부팅 오류시 상기 플래쉬 메모리내의 부트레코드를 읽어 상기 보조기억장치의 부트레코드를 복구하는 단계는, 상기 플래쉬 메모리의 부트섹터에 저장된 부팅복구 프로그램에 의해 수행되는 것이 컴퓨터의 부팅속도를 단축시킬 수 있어 바람직하다.In addition, in the case of a boot failure, reading the boot record in the flash memory and restoring the boot record of the auxiliary memory may be performed by a boot recovery program stored in a boot sector of the flash memory to reduce the booting speed of the computer. It is preferable.

그리고, 상기 보조기억장치의 부트레코드를 상기 비휘발성 메모리에 주기적으로 저장하는 것이 상기 보조기억장치의 변환 사항을 수동으로 저장하는 불편함을 해소할 수 있어 바람직하며, 상기 부팅복구 프로그램은 상기 보조기억장치의 바이러스 검사 후 상기 보조기억장치의 부트레코드를 상기 비휘발성 메모리에 저장하는 것이 상기 보조기억장치의 오류를 수정하는 데 효과적이다.In addition, periodically storing the boot record of the auxiliary memory device in the nonvolatile memory may alleviate the inconvenience of manually storing the conversion information of the auxiliary memory device, and the boot recovery program may include the auxiliary memory. Storing the boot record of the secondary storage device in the nonvolatile memory after virus scanning of the device is effective to correct an error of the secondary storage device.

이하, 첨부한 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 컴퓨터의 부팅 과정을 나타낸 흐름도이고, 도 2는 본 발명에 따른 컴퓨터의 블록구성도이다.1 is a flowchart illustrating a booting process of a computer according to the present invention, and FIG. 2 is a block diagram of a computer according to the present invention.

이들 도면에 도시된 바와 같이, 본 발명에 따른 컴퓨터의 구성은, 컴퓨터 시스템의 기본 동작에 관련된 바이오스 데이터를 저장하고 있는 비휘발성 메로리인 플래쉬 메모리(40)와; 플래쉬 메모리(40)내에 저장되는 부팅복구 프로그램(45)과; 플래쉬 메모리(40)로부터 바이오스 데이터를 읽어와 시스템을 부팅시키는 중앙처리장치(10)와; 중앙처리장치(10)에 의하여 동작하여 플래쉬 메모리(40)에 읽기/쓰기작업을 수행하는 컨트롤러(20)와; 데이터를 저장하며 부팅을 위한 부트레코드가 기록된 하드디스크 드라이브(90)와; 중앙처리장치(10)에서 명령을 받아 하드디스크 드라이브(90)를 구동하기 위한 제어 신호를 출력하는 하드디스크 컨트롤러(80)를 포함한다. 또한, 플로피 디스크에 데이터를 기록하거나 플로피 디스크에 데이터를 기록하거나 플로피 디스크에 기록되어 있는 데이터를 판독하기 위한 플로피 디스크 드라이브(70)와; 중앙처리장치(10)에서 명령을 받아 플로피 디스크 드라이브(70)를 구동하기 위한 제어신호를 출력하는 플로피 디스크 컨트롤러(60)와; 컨트롤로(20)와 플로피 디스크 컨트롤러(70)에 의하여 플래쉬 메모리(40)에서 읽어 들인 바이오스 데이터를 저장하는 램(30)을 포함한다.As shown in these figures, the configuration of the computer according to the present invention includes a flash memory 40 which is a nonvolatile memory for storing BIOS data related to the basic operation of the computer system; A boot recovery program 45 stored in the flash memory 40; A central processing unit (10) which reads the BIOS data from the flash memory (40) and boots the system; A controller 20 operated by the central processing unit 10 to perform a read / write operation on the flash memory 40; A hard disk drive 90 storing data and having a boot record recorded therein for booting; The hard disk controller 80 receives a command from the central processing unit 10 and outputs a control signal for driving the hard disk drive 90. A floppy disk drive 70 for recording data on a floppy disk, recording data on a floppy disk, or reading data recorded on the floppy disk; A floppy disk controller 60 which receives a command from the central processing unit 10 and outputs a control signal for driving the floppy disk drive 70; And a RAM 30 for storing BIOS data read from the flash memory 40 by the control path 20 and the floppy disk controller 70.

컴퓨터 시스템에 관련된 바이오스 데이터를 저장하는 플래쉬 메모리(40)는 전원이 끊겨도 저장된 정보를 보존하는 롬(ROM)과 읽기 쓰기가 자유로운 램(RAM)의 특성을 모두 가지고 있다. 플래쉬 메모리(40)내에는 롬 바이오스가 형성되어 있으며, 이에 따라 부팅시 하드웨어를 점검하고 하드디스크 드라이브(90) 상태를 파악하는 POST(Power On Self Test) 루틴을 실행한다. 시스템에 전원을 켜서 실행되면롬 바이오스의 POST(Power On Self Test) 루틴이 자체적으로 시스템의 각 부분이 점검되어 주변의 하드웨어가 체크된다.The flash memory 40 storing BIOS data related to a computer system has both characteristics of a ROM that preserves stored information even when power is lost and a RAM that is free to read and write. The ROM BIOS is formed in the flash memory 40, and thus, a POST (Power On Self Test) routine for checking hardware and checking the state of the hard disk drive 90 is executed at boot time. When the system is powered up and running, ROM BIOS's Power On Self Test (POST) routines themselves check each part of the system to check the surrounding hardware.

중앙처리장치(10)는 플래쉬 메모리(40)내의 롬 바이오스에서 읽어 들인 바이오스 데이터를 바탕으로 시스템을 부팅시킨다. 플래쉬 메모리(40)내의 롬 바이오스가 POST(Power On Self Test) 루틴을 실행시켜 하드디스크의 마스터 부트레코드를 읽어 내면, 컨트롤러(20)는 시스템 버스(50)를 통하여 읽어 들인 부트레코드를시스템 버스(50)를 통하여 중앙처리장치(10)에 전달한다. 이에, 중앙처리장치(10)는 지정된 부팅 순서에 따라 시스템을 부팅시킨다.The central processing unit 10 boots the system based on the bios data read from the ROM bios in the flash memory 40. When the ROM BIOS in the flash memory 40 executes a power on self test (POST) routine to read the master boot record of the hard disk, the controller 20 reads the boot record read through the system bus 50. 50) to the central processing unit (10). Thus, the CPU 10 boots the system in the designated boot order.

한편, 플래쉬 메모리(40)내의 부트섹터 내에는 부팅복구 프로그램(45)이 저장된다. 부팅복구 프로그램(45)은 롬 바이오스의 POST(Power On Self Test) 과정에서 롬 바이오스가 바이러스 등에 의해 하드디스크 드라이브(90)의 부트레코드를 읽어 들이지 못하는 경우, 바이러스를 치료하고 플래쉬 메모리(40)내에 저장시켜 놓은 부트레코드를 호출시켜 하드디스크 드라이브(90)의 부트레코드를 복구시키게 된다.On the other hand, the boot recovery program 45 is stored in the boot sector in the flash memory 40. When the boot recovery program 45 does not read the boot record of the hard disk drive 90 due to a virus or the like during the POST (Power On Self Test) process of the ROM BIOS, the boot recovery program 45 treats the virus and stores the flash memory 40 in the flash memory 40. The saved boot record is called to restore the boot record of the hard disk drive 90.

상기와 같은 구성에 의한 본 발명에 따른 컴퓨터의 부팅 과정을 설명하면 다음과 같다.Referring to the booting process of the computer according to the present invention by the above configuration as follows.

컴퓨터 시스템에 전원이 공급되면 중앙처리장치(10)는 어드레스 신호를 출력하여 컨트롤러(20)를 인에이블 시킨다(S10). 중앙처리장치(10)에 의하여 인에이블된 컨트롤러(20)는 플래쉬 메모리(40)의 어드레스 신호와 데이터를 읽기 위한 롬 선택신호를 액티브시킨다. 이에 따라, 플래쉬 메모리(40)내의 롬 바이오스가 POST(Power On Self Test)루틴을 실행시켜 컴퓨터의 하드웨어를 점검하고 하드디스크 드라이브(90) 상태를 파악한다(S20). 롬 바이오스가 하드디스크 드라이브(90)의 마스터 부트레코드를 읽어 들인다(S30). 롬 바이오스가 하드디스크 드라이브(90)의 부트레코드를 읽어 들이지 못하면 Drive Failure 혹은 그 비슷한 메시지의 부팅 오류를 출력한다. 플래쉬 메모리내의 롬 바이오스가 하드디스크 드라이브(90)의 마스터 부트레코드를 읽어 들이면, 컨트롤러(20)는 시스템 버스(50)를 통하여 읽어 들인 바이오스 데이터를 중앙처리장치(10)에 전달하여 지정된 부팅 순서에 따라 자동 부팅된다(S80).When power is supplied to the computer system, the CPU 10 outputs an address signal to enable the controller 20 (S10). The controller 20 enabled by the CPU 10 activates an address signal of the flash memory 40 and a ROM selection signal for reading data. Accordingly, the ROM BIOS in the flash memory 40 executes a power on self test (POST) routine to check the hardware of the computer and determine the state of the hard disk drive 90 (S20). The ROM BIOS reads the master boot record of the hard disk drive 90 (S30). If the ROM BIOS fails to read the boot record of the hard disk drive 90, it outputs a boot failure with a Drive Failure or similar message. When the ROM BIOS in the flash memory reads the master boot record of the hard disk drive 90, the controller 20 transfers the BIOS data read through the system bus 50 to the CPU 10 in the designated boot order. It is automatically booted (S80).

여기서, 바이러스 등에 의해 하드디스크 드라이브(90)의 부트레코드가 삭제된 경우, 플로피 디스크 드라이브(70)의 부팅디스켓의 필요없이, 롬 바이오스에 의해 플래쉬 메모리(40)내의 부트섹터에 저장된 부팅복구 프로그램(45)이 호출된다(S40). 부팅복구 프로그램(45)은 먼저 하드디스크 드라이브(90)에 바이러스가 침투하였는지 점검한다(S50). 하드디스크 드라이브(90)가 바이러스에 감염되였다면 바이러스를 치료하게 된다(S55). 바이러스 검사 후 부팅복구 프로그램(45)은 플래쉬 메모리(40)내에 저장되어 있던 부트레코드를 호출하게된다(S60). 호출되어진 플래쉬 메모리(40)내의 부트레코드로 하드디스크 드라이브(90)의 부트레코드를 복구시켜 저장하게 된다(S70). 롬 바이오스는 부트레코드가 복구되면 바이오스 데이터를 중앙처리장치(10)에 전달하여 지정된 부팅순서에 따라 시스템의 운영체계를 부팅시킨다(S80).Here, when the boot record of the hard disk drive 90 is deleted by a virus or the like, a boot recovery program stored in the boot sector of the flash memory 40 by the ROM BIOS without the need for a boot diskette of the floppy disk drive 70 ( 45 is called (S40). The boot recovery program 45 first checks whether a virus penetrates the hard disk drive 90 (S50). If the hard disk drive 90 is infected with a virus to treat the virus (S55). After the virus test, the boot recovery program 45 calls the boot record stored in the flash memory 40 (S60). The boot record of the hard disk drive 90 is restored and stored as the boot record in the flash memory 40 that has been called (S70). ROM BIOS delivers the BIOS data to the central processing unit 10 when the boot record is recovered to boot the operating system of the system in the designated boot order (S80).

여기서, 부팅복구 프로그램(45)은 사용자의 눈에는 보이지 않으며 일괄적으로 프로그램의 모든 과정을 수행하는 일괄처리방식 또는, 사용자에 의한 소정의 입력을 기다려 그 입력에 따라 부팅복구 프로그램(45)을 수행하는 대화식 방식으로 제작 할 수 있다. 부팅복구 프로그램(45)이 일괄처리방식인 경우에는 초기 선택사항으로 하드디스크 드라이브(90)의 부트레코드 저장 기간을 설정한다. 부팅복구 프로그램(90)은 설정에 따라 자동으로 하드디스크 드라이브(90)의 부트레코드를 읽어 들여 플래쉬 메모리(40)에 부트레코드를 저장하게 된다. 또한, 대화식 방식으로 사용자가 입력하는 경우에는, 사용자의 선택에 따라 하드디스크 드라이브(90)의 부트레코드를 플래쉬 메모리(40)를 비주기적으로 저장할 수 있다.Here, the boot recovery program 45 is invisible to the user's eyes, the batch processing method for performing all the processes of the program in a batch, or wait for a predetermined input by the user to perform the boot recovery program 45 according to the input Can be produced in an interactive way. When the boot recovery program 45 is a batch process method, a boot record storage period of the hard disk drive 90 is set as an initial option. The boot recovery program 90 automatically reads the boot record of the hard disk drive 90 according to the setting, and stores the boot record in the flash memory 40. In addition, when the user inputs in an interactive manner, the flash memory 40 may be aperiodically stored in the boot record of the hard disk drive 90 according to the user's selection.

이와 같이, 플래쉬 메모리내에 저장된 부팅복구 프로그램에 의해, 바이러스 등에 의해 보조기억장치인 하드디스크 드라이브의 부트레코드가 삭제 또는 손상되더라도, 즉시 플래쉬 메모리내에 저장되어 있던 부트레코드를 호출하여 하드디스크 드라이브의 부트레코드를 복구시켜 운영체계를 부팅 시킬 수 있는 컴퓨터와 그 부팅 복구 방법이 제공된다.In this way, even if the boot record stored in the flash memory is deleted or corrupted by a virus or the like by the boot recovery program stored in the flash memory, the boot record stored in the flash memory is immediately called by calling the boot record stored in the flash memory. It provides a computer that can boot an operating system by restoring the system and its boot recovery method.

이상 설명한 바와 같이, 본 발명에 따르면, 바이러스 등에 의해 하드디스크 드라이브의 부트레코드가 삭제 또는 손상되더라도 별도의 부팅디스켓 없이 즉시 부팅 복구 가능한 컴퓨터와 그 부팅 복구 방법이 제공된다.As described above, according to the present invention, even if a boot record of a hard disk drive is deleted or damaged due to a virus or the like, a computer and a boot recovery method capable of booting immediately without a separate boot diskette are provided.

Claims (8)

부트레코드 영역을 갖는 보조기억장치와, 상기 부트레코드를 읽어 들여 운영체계를 부팅하는 중앙처리 장치를 갖는 컴퓨터에 있어서,A computer having a secondary storage device having a boot record area and a central processing unit that reads the boot record and boots the operating system, 상기 보조기억장치의 부트레코드와 동일 내용을 저장하며, 읽기 및 쓰기 가능한 비휘발성 메모리와,A non-volatile memory which stores the same contents as the boot record of the auxiliary memory device and which can be read and written; 컴퓨터 시스템의 부팅 오류시 상기 비휘발성 메모리내의 부트레코드를 읽어 상기 보조기억장치의 부트레코드를 복구하는 부팅복구 프로그램을 더 포함하는 것을 특징으로 하는 컴퓨터.And a boot recovery program that reads a boot record in the nonvolatile memory and restores the boot record of the auxiliary memory device in the event of a boot failure of the computer system. 제 1항에 있어서,The method of claim 1, 상기 부팅복구 프로그램은 상기 비휘발성 메모리내에 저장되는 것을 특징으로 하는 컴퓨터.And said boot recovery program is stored in said non-volatile memory. 제 1항에 있어서,The method of claim 1, 상기 보조기억장치는 하드디스크드라이브이며, 상기 비휘발성 메모리는 컴퓨터 시스템의 기본 입력 및 출력 시스템 데이터를 저장하는 플래쉬 메모리인 것을 특징으로 하는 컴퓨터.And the auxiliary memory device is a hard disk drive, and the nonvolatile memory is a flash memory for storing basic input and output system data of a computer system. 부트레코드 영역을 갖는 보조기억장치와, 상기 부트레코드를 읽어 들여 원영체계를 부팅하는 중앙처리장치를 갖는 컴퓨터의 부팅 복구 방법에 있어서,In the boot recovery method of a computer having a secondary storage device having a boot record area, and a central processing unit for reading the boot record and booting the operating system, 보조기억장치의 부트레코드를 읽기 및 쓰기 가능한 비휘발성 메모리에 저장하는 단계;Storing the boot record of the auxiliary memory in a nonvolatile memory that can be read and written; 컴퓨터 시스템의 전원인가에 따라 상기 비휘발성 메모리에서 컴퓨터의 주변기기를 확인하는 바이오스 포스트 루틴을 실행하는 단계;Executing a bios post routine for identifying peripherals of the computer in the nonvolatile memory upon application of a power to a computer system; 상기 바이오스 포스트 루틴에서 상기 보조기억장치의 부팅 오류시 상기 비휘발성 메모리내의 부트레코드를 읽어내는 단계;Reading a boot record in the nonvolatile memory when a boot failure of the auxiliary storage device occurs in the BIOS post routine; 읽어 들인 상기 부트레코드로 상기 보조기억장치의 부트레코드를 복구하여 컴퓨터의 운영체계를 부팅시키는 단계를 포함하는 것을 특징으로 하는 컴퓨터의 부팅 복구 방법.Restoring the boot record of the auxiliary storage device to the boot record read to boot the operating system of the computer. 제 4항에 있어서,The method of claim 4, wherein 상기 비휘발성 메모리는 컴퓨터 시스템의 기본 입력 및 출력 시스템 데이터를 저장하는 플래쉬 메모리인 것을 특징으로 하는 컴퓨터의 부팅 복구 방법.And the nonvolatile memory is a flash memory for storing basic input and output system data of a computer system. 제 4항 또는 5항에 있어서,The method according to claim 4 or 5, 부팅 오류시 상기 플래쉬 메모리내의 부트레코드를 읽어 상기 보조기억장치의 부트레코드를 복구하는 단계는, 상기 플래쉬 메모리의 부트섹터에 저장되는 부팅복구 프로그램에 의해 수행되는 것을 특징으로 하는 컴퓨터의 부팅 복구 방법.Restoring the boot record of the auxiliary memory device by reading a boot record in the flash memory in the case of a boot failure, by performing a boot recovery program stored in a boot sector of the flash memory. 제 4항에 있어서,The method of claim 4, wherein 상기 보조기억장치의 부트레코드를 상기 비휘발성 메모리에 주기적으로 저장하는 것을 특징으로 하는 컴퓨터의 부팅 복구 방법.And booting the boot record of the auxiliary memory in the nonvolatile memory. 제 4항에 있어서,The method of claim 4, wherein 상기 부팅복구 프로그램은 상기 보조기억장치의 바이러스 검사 후 상기 보조기억장치의 부트레코드를 상기 비휘발성 메모리에 저장하는 것을 특징으로 하는 컴퓨터의 부팅 복구 방법.The boot recovery program stores a boot record of the auxiliary memory device in the nonvolatile memory after virus scanning of the auxiliary memory device.
KR1020000040841A 2000-07-15 2000-07-15 Method and system for booting recovery a computer KR20020007090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000040841A KR20020007090A (en) 2000-07-15 2000-07-15 Method and system for booting recovery a computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000040841A KR20020007090A (en) 2000-07-15 2000-07-15 Method and system for booting recovery a computer

Publications (1)

Publication Number Publication Date
KR20020007090A true KR20020007090A (en) 2002-01-26

Family

ID=19678341

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000040841A KR20020007090A (en) 2000-07-15 2000-07-15 Method and system for booting recovery a computer

Country Status (1)

Country Link
KR (1) KR20020007090A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010070803A (en) * 2001-06-08 2001-07-27 하창섭 Recovery and back-up system and the method using thereof
KR100388961B1 (en) * 2000-12-19 2003-06-25 엘지전자 주식회사 data restoring control device of the flash ROM in the information processing system
WO2006086302A1 (en) * 2005-02-07 2006-08-17 Transmeta Corporation Method and system for validating a computer system
KR100731497B1 (en) * 2005-05-31 2007-06-21 지멘스 오토모티브 주식회사 Apparatus and method for controlling error code of micom
KR100790038B1 (en) * 2005-11-08 2008-01-02 엘지전자 주식회사 Video display apparatus capable of application code data up-loading and control method thereof
KR100884054B1 (en) * 2007-07-13 2009-02-18 주식회사 가자아이 Method for restoration and backup of computer system
US7565523B2 (en) 2005-04-15 2009-07-21 Samsung Electronics Co., Ltd. Apparatus and method for restoring master boot record infected with virus
KR100957095B1 (en) * 2007-12-13 2010-05-13 현대자동차주식회사 Embedded system for repairing flash memory and the method thereof
KR101022468B1 (en) * 2003-12-30 2011-03-15 삼성전자주식회사 Embedded computer system for reducing the time for rebooting the unusually logged off system
KR20130026739A (en) * 2011-09-06 2013-03-14 한국전자통신연구원 Partial rebooting recovery apparatus and method
KR20140131982A (en) * 2012-03-30 2014-11-14 인텔 코포레이션 Providing an immutable antivirus payload for internet ready compute nodes

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100388961B1 (en) * 2000-12-19 2003-06-25 엘지전자 주식회사 data restoring control device of the flash ROM in the information processing system
KR20010070803A (en) * 2001-06-08 2001-07-27 하창섭 Recovery and back-up system and the method using thereof
KR101022468B1 (en) * 2003-12-30 2011-03-15 삼성전자주식회사 Embedded computer system for reducing the time for rebooting the unusually logged off system
WO2006086302A1 (en) * 2005-02-07 2006-08-17 Transmeta Corporation Method and system for validating a computer system
US7793347B2 (en) 2005-02-07 2010-09-07 Rozas Guillermo J Method and system for validating a computer system
US7565523B2 (en) 2005-04-15 2009-07-21 Samsung Electronics Co., Ltd. Apparatus and method for restoring master boot record infected with virus
KR100731497B1 (en) * 2005-05-31 2007-06-21 지멘스 오토모티브 주식회사 Apparatus and method for controlling error code of micom
KR100790038B1 (en) * 2005-11-08 2008-01-02 엘지전자 주식회사 Video display apparatus capable of application code data up-loading and control method thereof
KR100884054B1 (en) * 2007-07-13 2009-02-18 주식회사 가자아이 Method for restoration and backup of computer system
KR100957095B1 (en) * 2007-12-13 2010-05-13 현대자동차주식회사 Embedded system for repairing flash memory and the method thereof
KR20130026739A (en) * 2011-09-06 2013-03-14 한국전자통신연구원 Partial rebooting recovery apparatus and method
KR20140131982A (en) * 2012-03-30 2014-11-14 인텔 코포레이션 Providing an immutable antivirus payload for internet ready compute nodes
US9251347B2 (en) 2012-03-30 2016-02-02 Intel Corporation Providing an immutable antivirus payload for internet ready compute nodes

Similar Documents

Publication Publication Date Title
US7831857B2 (en) Method and system for recovering from operating system crash or failure
JP4668416B2 (en) Protecting boot block code when enabling write access to the boot block
US7480819B1 (en) Method for boot recovery
EP1022655B1 (en) Computer with bootable secure program
US20060150037A1 (en) Methods and systems for operating system recovery
US20040172578A1 (en) Method and system of operating system recovery
JP2006526831A (en) Boot from non-volatile memory
US6016536A (en) Method for backing up the system files in a hard disk drive
TW200414041A (en) Method and system for maintaining firmware versions in a data processing system
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
US20080098381A1 (en) Systems and methods for firmware update in a data processing device
KR100381416B1 (en) Computer system and method for saving of product key of the same
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
US20050021933A1 (en) Method for booting computer system with memory card
KR20020007090A (en) Method and system for booting recovery a computer
CN105786545B (en) Breakpoint recovery method and system based on heterogeneous hybrid memory
US20040015671A1 (en) Single-chip microcomputer and boot region switching method thereof
JP3194900B2 (en) Memory management method for computer having hard disk drive
KR100299119B1 (en) PC possessing apparatus for controlling flash ROM
KR101393034B1 (en) Apparatus and method for restoring system
US7882353B2 (en) Method for protecting data in a hard disk
CN113094107B (en) Data protection method, device, equipment and computer storage medium
CN114035813A (en) Upgrading method, device, equipment and storage medium
KR100575927B1 (en) Method for booting the nand flash memory using multi boot loader in mobile station
JPH08161160A (en) Method for updating firmware of optical disk reproducing device

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination