TW201003522A - Booting method of computer system - Google Patents

Booting method of computer system Download PDF

Info

Publication number
TW201003522A
TW201003522A TW097125130A TW97125130A TW201003522A TW 201003522 A TW201003522 A TW 201003522A TW 097125130 A TW097125130 A TW 097125130A TW 97125130 A TW97125130 A TW 97125130A TW 201003522 A TW201003522 A TW 201003522A
Authority
TW
Taiwan
Prior art keywords
target data
computer system
booting
disk
virtual disk
Prior art date
Application number
TW097125130A
Other languages
English (en)
Other versions
TWI359378B (en
Inventor
Hsien-Shan Wang
Tsung-Fu Hung
Original Assignee
Asustek Comp Inc
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 Asustek Comp Inc filed Critical Asustek Comp Inc
Priority to TW097125130A priority Critical patent/TWI359378B/zh
Priority to US12/490,320 priority patent/US8291206B2/en
Publication of TW201003522A publication Critical patent/TW201003522A/zh
Application granted granted Critical
Publication of TWI359378B publication Critical patent/TWI359378B/zh

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0632Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system

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)

Description

201003522 21888twf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種開機方法,且特別是有關於—種 將傳統軟碟機(legacy floppy)移除後,電腦系統之開機 方法。 【先前技術】 隨著電腦科技的進步’電子資料之大小越來越大,儲 Γ 存媒介也隨之多樣化’軟碟片已經難以滿足大量資料的儲 存,而由於萬用串列匯流排(Universal Serial Bus, USB) 隨身碟的問世,使用者更是漸漸不再使用軟碟片來儲存隨 身資料,一方面軟碟片容量小,另一方面亦是其穩定性低, 時常讀取不到資料,因此現在使用者不希望在購買個人電 腦時再添購傳統軟碟機。 圖1繪示為習知電腦系統之開機方法流程圖。請參照 圖1,此習知技術之作業環境為在安裝作業系統下之開機 動作’首先開啟電源(步驟101 ),接著進入自我測試(P ower
On Self Test, POST)(步驟1〇2)。由於電腦系統設備眾 多,因此在開機時會先檢查系統内之元件是否正常,然後 =始從光碟載入作業系統(步驟1〇3)。在安裝作業系統 枯,有%候必須先安裝某些硬體設備的驅動程式,才能偵 ,到此硬體設備而繼續安裝作業系統。因此接下來便判斷 疋否需要從軟碟機A來讀取驅動程式(步驟1〇4)。另外 必須先行製作载有驅動程式之軟碟片(步驟105),以便 k軟碟機來安裝.鴨程式之需。若判斷需要從軟碟機A來 201003522 -------21888twf.d〇c/n ’則將事先準備好的軟碟片放入軟碟機,。 ^人碟機A讀人驅動程式(步驟撕)以進行安裝 式之步驟。安裝完驅動式 "王 安奘兹庄私♦ 切枉式之後,建立虛擬硬碟,以放置 ,而之槽案(步驟1G7)。先將安餘案自光碟 ^似虛擬硬碟中再開始進行安裝。若在步驟刚不 需要從軟碟機A來讀取程式,職接往下執行 107以建立虛擬硬碎。 y 士、於咮在70成步驟107之後,接著繼續完 :之安裳(步驟⑽)’最後完成開機(步驟卿)。 六序中,需要從軟碟機讀取驅動程 ΐ外靠統,使用者因此必需額外添碟機; η ^錢要衫健此㈣q是備份此驅動 牲式’亦造成了使用者困擾。 【發明内容】 用其ίΐΓ的目的就是提供一種電腦系統之開機方法,利 :3 出入系統(Basic Input 0utput Systern,腦s)所 建立之虛擬磁碟取代傳統軟碟機。 t達上述或其他目的’本發明提出—種電腦系統之開 ίροίτ; ^ , (P:T)。其中’在POST期間由基本輸出入系統(Basic input Output System,BIOS )建立一個 # 味… ^ 個5己憶空間,用來模擬 一個虛擬磁碟。在完成POST後,接著載 成開機程序。 乍業糸、,先而兀 6 21888twf.doc/n 201003522
\J y ^ mJ 依照本發明的一實施例所述電腦系統之開機方法,上 述之§己憶空間為電腦系統之主記憶體之部分記憶空間,且 此主記憶體可以為隨機存取記憶體(Rand〇m Access Memory,RAM ) ’然不限制其範圍。 依照本發明的一實施例所述電腦系統之開機方法,上 述之方法還包括檢查BIOS唯讀記憶體(Read 〇nly Mem()ry, ROM)中有無目標資料,若BI〇s唯讀記憶體中有目標資 ( 料,則將目標資料複製到虛擬磁碟,而此目標資料可以為 驅動程式。 $照本發明的一實施例所述電腦系統之開機方法,上 二7 =括檢查_中有無目標資料,若光碟中有目 驅動程式 標貧枓複製到虛擬磁碟,且此目標資料為 磁碑BIC>S建立—個記憶空間’用以模擬虛擬 軟碟機作,因此可將傳統 易懂其他目的、特徵和優點能更明顯 明如下特舉較佳實施例,並配合所附圖式,作詳細說 【實施方式】 碟機)才^取的同Β寸’必物由八槽磁碟機(即軟 因此本發明利貝者已漸漸不希望使雜碟機, IOS建立—個記憶空間來模擬虛擬磁 7 201003522 —2l888twf.doc/n 碟,以取代實體軟碟機。為了使本發明之内容更為明瞭, 以下特舉實施例作為本發明確實能夠據以實施的範例。 圖2是依照本發明—實施例所繪示的電腦系統之開機 方法流程圖。請參照圖2,本實施例為在安裝作業系統下 之開機動作,首先開啟電源(步驟21G),接著電腦系統 首先執行自我測試(P0Wer 〇n Self Test,p〇ST)(步驟 220 )。在POST期間’基本輸出入系統(Basic Input 〇卿访 Γ 办stem,BIOS)會先偵測系統内之元件組態,例如是否偵 測的到硬碟之類的動作。 ' 在執行步驟220的過程中,會進行步驟221以判斷是 否要由BIOS建立虛擬磁碟(以下稱31〇8虛擬磁碟)。 在此,可以藉由使用者設定BIOS參數而決定要不要建立 BIOS虚擬磁碟,例如由使用者於BIOS中「BIOS虛擬磁 碟」選項設定是否致能。若在安裝作業系統前,必=先安 裝某些硬體之驅動程式,等偵測到此硬體設備之後才能繼 續安裝作業系統,然而這部電腦之設備已無傳統實體軟碟 G 機,因此使用者必須事先在BIOS中「Bios虛擬磁碟」選 項設定為致能,才能在載入作業系統之前就先建立'「、丄^ 磁碟機」(在此為別⑽虛擬磁碟)。步驟222是用來^ BIOS建立一倜記憶空間,以模擬一個虛擬磁碟(即 虛擬磁碟)。本實施例中,BIOS虛擬磁碟是用來代餘 實體軟碟機。另外,上述記憶空間可以是電腦中任^情 手段之空間,例如實體硬碟或是主記憶體等,而主記憔^ ^1888twf.doc/n 201003522 又可以是隨機存取記憶體等,上述二者皆不限制其範圍。 在本實施例中是舉隨機存取記憶體為記憶空間範例。 當步驟221判斷結果為應建立BIOS虛擬磁碟之後, 即在隨機存取記憶體裡建立BI〇s虛擬磁碟空間(步驟 222),此磁碟空間大小可以是144MB,當然亦可以更大, 像是2〇MB或3〇應等等,視系統情況而訂。之後執 驟223以檢查BIOS唯讀記憶體中有無目標資料。在本實 施例中,目標資料可以是驅動程式,也可以是其他 檔案及/或資料。若BI0S唯讀記憶體中有目標資料,則步 驟224將目標資料複製到BIOS虛擬磁碟。反之’若m〇s = 目標資料,則檢查光碟忖無目標資料 t ms唯讀記憶體之記憶㈣有限,因 此廠商亦可將目標資料放至光碟中。 請繼續參照圖2,若步驟225判斷光碟中 C. 到職虛擬磁碟(步驟226),:著則 桿資二之其他程序(步驟227)。若光碟中無目 序㈣貝]直接進行步驟227以繼續完成p〇sT之其他程 使用說i主機板廠商在製作主機板時,可先將需要 使用之C動程式事先放進則s的記 憶體或是伊閃印严雕^ u 广工間’像疋唯碩5己 叙妒々門思姐(Flash mem〇ry)中等等,或者將驅 / 玫進容量較大的光碟中。因此在安 4 須先安I驅動程式,則便可至BIOS唯作二^右、 益適當』 唯蚊憶财檢查有 …之_程式,若有,則將㈣程式複製到m〇s虛 9 ^1888twf.doc/rv 201003522 擬磁碟裡,以供作業系統安裝;若無,則至光碟檢查有無 適當之驅動程式’再將驅動程式複製到BI〇s虛擬磁碟裡, 以供作業系統安裝之所需。在備妥BI〇s虛擬磁碟與驅動 程式後,接下來便可以進行步驟227以繼續完成p〇ST2 其他程序。 另外,當步驟221判斷結果為不要建立BI〇s虛擬磁 碟時,將直接進行步驟227以繼續完成p0ST之其他程序。 使用者可以選擇不要建立BIOS虛擬磁碟,以節省記憶空 間。亦即當不需要在安裴作業系統前安裝任何驅動程式 日^,便可直接完成POST動作而不要建立BIOS虛擬磁碟。 當執行POST完畢之後,接著便載入作業系統(步驟 230)。圖3是依照本發明一實施例所繪示的載入作業系統 之方法流程圖。請參照圖3,首先步驟231從光碟載入作 業系統,接著步驟232判斷是否需從軟碟機A讀取驅動程 式。若需從軟碟機A讀取驅動程式,則從31〇8所建立之 r 虛擬磁碟讀入驅動程式(步驟233),然後依據驅動程式 b 來驅動電腦系統相對應之硬體。步驟234建立—個第二虛 擬磁碟,此一虛擬磁碟與步驟222所建立之BI0S虛擬磁 碟並不相同。步驟222所建立之BI〇s虛擬磁碟是用來取 代傳統實體軟碟機。步驟234所建立之第二虛擬磁碟是在 元成POST程序後才建立的’ BIOS無法將第二虛擬磁碟當 作軟碟機使用。在本實施例中,此第二虛擬磁碟可以是虛 擬硬碟,用來存放安裝作業系統過程中所需之程式檔案。 10 21888twf.doc/n 201003522 最後繼續完成作業系 丹馀安衷程序 完成開機(步驟240)、 置皆中軟碟機之位 過A槽方能讀取,此―=期便設定需先通 Γ 機A讀取㈣,職便至_趣^=要仗权碟 列優=所述,在本㈣之電腦系統之_錢少包括下 1 ·牙]用虛棱磁碟來存放3 :处女丨 除傳統軟碟健置,進“省如此—來便可移 2.透過虛擬磁碟來安裝驅動程 資料之時間’以加快安裝速度。 Μ自軟碟片讀取 雖然本發明已以較佳實施例揭 限定本發明,任何所屬 上,…、…並非用以
U _本發明之精者,在不 為準。 保“圍當視後附之申請專利範圍所界定者 【圖式簡單說明】 電腦系統之開機方法流程圖。 方法流程圖。、^明一實施例所1 會示的電腦系统之開機 方法Si;依照本發明-實施例所冷示的載入作業系統之 11 201003522 1888twf. doc/n 【主要元件符號說明】 101〜109 :習知電腦系統之開機方法流程各步驟 210 :開啟電源
220 : POST 230 :載入作業系統 240 :完成開機 221〜227 : POST流程各步驟 231〜235 :載入作業系統流程各步驟

Claims (1)

  1. ^1888twf.doc/n 十、申請專利範圍: 1. 一種電腦系統之開機方法,包括: 開啟電源; 執行自我測試(post),其中執行自我測試包括由 基本輸出入系統(BIOS)建立一記憶空間,以模擬一虛擬 磁碟;以及 載入作業系統。 2. 如申請專利範圍第1項所述電腦系統之開機方法, 其中該記憶空間為該電腦糸統之主記憶體之部分記憶空 間。 3. 如申請專利範圍第2項所述電腦系統之開機方法, 其中該主記憶體為隨機存取記憶體。 4. 如申請專利範圍第1項所述電腦系統之開機方法, 其中更包括: 檢查BIOS唯讀記憶體中有無目標資料;以及 若BIOS唯讀記憶體中有目標資料,則將該目標資料 複製到該虛擬磁碟。 5. 如申請專利範圍第4項所述電腦系統之開機方法, 其中複製到該虛擬磁碟之該目標資料為驅動程式。 6. 如申請專利範圍第1項所述電腦系統之開機方法, 其中更包括: 檢查光碟中有無目標資料;以及 若光碟中有目標資料,則將該目標資料複製到該虛擬 磁碟。 13 201003522 1888twf.doc/n I.如申請專利範圍第6項所述電腦系統之開機方法丨' 其中複製到該虛擬磁碟之該目標資料為驅動程式。 8·如申請專概圍第丨_錢_統 方法, 更包括: ; S中6又疋S亥虛擬磁碟是否致能。 二如申請專利範圍第i項所述電_統之開機方法, /、中载入作業系統之步驟包括·· 從光碟載入作業系統; 從該虛擬磁碟讀入該目標資料; :據該目標資料驅動該電腦系蛛之硬體;以及 進仃该作業系統之安裝。 、去,請專利範圍第9輯㈣腦线之開機方 '/、中载入作業系統之步驟更払括: 建立—第二虛擬磁碟;以及 磁碟將女裝作業系統所需之程式檔案複製到該第二虡擬 Ο 14
TW097125130A 2008-07-03 2008-07-03 Booting method of computer system TWI359378B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW097125130A TWI359378B (en) 2008-07-03 2008-07-03 Booting method of computer system
US12/490,320 US8291206B2 (en) 2008-07-03 2009-06-24 Method for booting computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097125130A TWI359378B (en) 2008-07-03 2008-07-03 Booting method of computer system

Publications (2)

Publication Number Publication Date
TW201003522A true TW201003522A (en) 2010-01-16
TWI359378B TWI359378B (en) 2012-03-01

Family

ID=41465253

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097125130A TWI359378B (en) 2008-07-03 2008-07-03 Booting method of computer system

Country Status (2)

Country Link
US (1) US8291206B2 (zh)
TW (1) TWI359378B (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609214A (zh) * 2011-01-21 2012-07-25 鸿富锦精密工业(深圳)有限公司 将biosrom模拟成磁盘的的系统及方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458449B2 (en) * 2011-01-27 2013-06-04 Hewlett-Packard Development Company, L.P. Component drivers for a component of a device
DE112012005118T5 (de) 2012-01-03 2014-10-16 Hewlett Packard Development Company, L.P. Sichern von Firmware während der Initialisierung einer Einheit
US10083102B2 (en) * 2016-07-28 2018-09-25 FedEx Supply Chain Logistics & Electronics, Inc. Systems and methods to service an electronic device
KR102645150B1 (ko) * 2016-12-30 2024-03-07 엘지디스플레이 주식회사 디스플레이 인터페이스 장치 및 그의 데이터 전송 방법
US20230251867A1 (en) * 2022-02-04 2023-08-10 Dell Products L.P. Systems and methods for pre-operating system retrieval of telemetry in a no-post/no-video scenario

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5131089A (en) * 1989-06-12 1992-07-14 Grid Systems Corporation Solid state disk drive emulation
FR2718262B1 (fr) * 1994-03-31 1996-05-24 Sgs Thomson Microelectronics Mémoire tampon à adressage modulo.
US6516410B1 (en) * 2000-02-17 2003-02-04 Compaq Information Technologies Group, L.P. Method and apparatus for manipulation of MMX registers for use during computer boot-up procedures
US7318149B2 (en) * 2001-09-28 2008-01-08 Hewlett-Packard Development Company, L.P. Semi-persistent relocatable ram-based virtual floppy disk method
TWI224728B (en) 2002-10-03 2004-12-01 Via Tech Inc Method and related apparatus for maintaining stored data of a dynamic random access memory
US20040088532A1 (en) * 2002-10-31 2004-05-06 Aaeon Technology Inc. Method of configuring a virtual FD drive in computer by means of SRAM
CN1256668C (zh) 2002-11-29 2006-05-17 联想(北京)有限公司 运用Linux完成操作系统自动安装的方法
US8521950B2 (en) * 2006-12-05 2013-08-27 International Business Machines Corporation Booting an operating system from a virtual hard disk

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609214A (zh) * 2011-01-21 2012-07-25 鸿富锦精密工业(深圳)有限公司 将biosrom模拟成磁盘的的系统及方法

Also Published As

Publication number Publication date
US20100005286A1 (en) 2010-01-07
TWI359378B (en) 2012-03-01
US8291206B2 (en) 2012-10-16

Similar Documents

Publication Publication Date Title
US10613773B2 (en) Backing up firmware during initialization of device
CN106990958B (zh) 一种扩展组件、电子设备及启动方法
JP5234473B2 (ja) ターボブートシステム及び方法
TWI503673B (zh) 電腦系統、初始化電腦系統之方法及電腦程式產品
TW201003522A (en) Booting method of computer system
US8266611B2 (en) Hard disk drive with disk embedded DOS boot image and firmware download method
WO2007045133A1 (fr) Systeme informatique et procede pouvant realiser une verification d’integrite
TW200837553A (en) Master boot record management
TWI342500B (en) Method and system for automatic installation of a functional unit driver on a host
TW200917123A (en) USB flash disk for computer boot up and method of loading programs in the USB flash disk
US8375198B2 (en) Boot system and method having a BIOS that reads an operating system from first storage device via an input/output chip based on detecting a temperature of a second storage device
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
Raggi et al. Beginning ubuntu linux
CN110825421B (zh) 一种固件升级方法、系统及可读存储介质
EP1244951A2 (en) Running ramdisk-based microsoft windows 95/98/me
JP4963167B2 (ja) システム起動方法、及びプログラム
CN101620540A (zh) 安装电脑系统的方法
CN103677875A (zh) 一种电子设备启动的方法、权限控制方法和电子设备
TWI320173B (zh)
KR101249831B1 (ko) 컴퓨터 시스템 및 그 부팅 방법
TWI274996B (en) Method for protecting data stored in a hard disk
US20050210233A1 (en) System and method for updating a basic Input/Output system program
CN109062656B (zh) 一种uefi bios架构下虚拟dos实现的方法、系统及介质
TW201027339A (en) OS protecting method
JP2009064301A (ja) リムーバブルメモリユニット