{"id":1074,"date":"2020-01-12T14:54:25","date_gmt":"2020-01-12T23:54:25","guid":{"rendered":"\/blog\/?p=1074"},"modified":"2023-09-21T09:26:43","modified_gmt":"2023-09-21T00:26:43","slug":"winntsetup%eb%a5%bc-%ec%82%ac%ec%9a%a9%ed%95%9c-uefi%ed%8c%8c%ed%8b%b0%ec%85%98%ec%97%90-%ec%9c%88%eb%8f%84%ec%9a%b0-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=1074","title":{"rendered":"WinNTSetup\ub97c \uc0ac\uc6a9\ud55c UEFI\ud30c\ud2f0\uc158\uc5d0 \uc708\ub3c4\uc6b0 \uc124\uce58"},"content":{"rendered":"1. \uc544\ub798 \ubc30\uce58\ub97c \uc2e4\ud589\ud558\uc5ec \ud558\ub4dc\ub514\uc2a4\ud06c\uc758 \ud30c\ud2f0\uc154\ub2dd\uc744 \ucd08\uae30\ud654 \ud55c\ub2e4.\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bat\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\n@ECHO OFF\nREM *****************************************************************\nREM DISKPART\ub85c UEFI \ud30c\ud2f0\uc158\uc744 \uc7a1\ub294\ub2e4.\nREM\nREM \uc2e4\ud589 \uc804 \uc8fc\uc758\uc0ac\ud56d:\nREM DISKPART \uc2e4\ud589 \ud6c4 LIST DISK \ucee4\ub9e8\ub4dc\ub85c 0\ubc88 \ub514\uc2a4\ud06c\uac00 \uc124\uce58\ud558\ub824\ub294\nREM \ud0c0\uac9f \ub514\uc2a4\ud06c\uc778\uc9c0 \ubc18\ub4dc\uc2dc \ud655\uc778\ud55c\ub2e4.\nREM *****************************************************************\nSET PAR_EFI_SIZE=100\nSET PAR_MSR_SIZE=16\nSET PAR_C_DRIVE_SIZE=49152\nSET PAR_D_DRIVE_SIZE=0\n\nREM *****************************************************************\nREM \uc791\uc5c5\ud560 \ub514\uc2a4\ud06c \ud655\uc778\nREM *****************************************************************\nECHO LIST DISK > UEFI_PAR.TXT\nDISKPART \/S UEFI_PAR.TXT\nDEL \/Q \/F UEFI_PAR.TXT\nECHO.\nECHO DISK LIST \uc785\ub2c8\ub2e4. 0\ubc88 \ub514\uc2a4\ud06c\uc5d0 \uc791\uc5c5\ud560 \uac83\uc785\ub2c8\ub2e4. 0\ubc88\uc774 \ub300\uc0c1 \ub514\uc2a4\ud06c\uac00 \ub9de\uc2b5\ub2c8\uae4c ?\nSET \/P YN=(y\/n)?\nIF \/I \"%YN%\" == \"y\" GOTO RUN_DISKPART\nEXIT \/B\n\n:RUN_DISKPART\nREM *****************************************************************\nREM \ub514\uc2a4\ud06c\ub97c \ucd08\uae30\ud654\ud558\uace0 GPT\ub85c \ubcc0\ud658\ud55c\ub2e4.\nREM *****************************************************************\nECHO SELECT DISK 0 > UEFI_PAR.TXT\nECHO CLEAN >> UEFI_PAR.TXT\nECHO CONVERT GPT >> UEFI_PAR.TXT\n\nREM *****************************************************************\nREM EFI \ud30c\ud2f0\uc158\uc744 \uc0dd\uc131\ud558\uace0 S:\ub4dc\ub77c\uc774\ube0c\ub85c \ub9cc\ub4e0\ub2e4.\nREM *****************************************************************\nECHO CREATE PARTITION EFI SIZE=%PAR_EFI_SIZE% >> UEFI_PAR.TXT\nECHO SET ID=C12A7328-F81F-11D2-BA4B-00A0C93EC93B >> UEFI_PAR.TXT\nECHO FORMAT FS=FAT32 QUICK LABEL=EFI >> UEFI_PAR.TXT\nECHO ASSIGN LETTER=S >> UEFI_PAR.TXT\n\nREM *****************************************************************\nREM \uc2dc\uc2a4\ud15c \uc608\uc57d \ud30c\ud2f0\uc158 \uc0dd\uc131 (\uc708\ub3c4\uc6b07:128MB, \uc708\ub3c4\uc6b010:16MB)\nREM *****************************************************************\nECHO CREATE PARTITION MSR SIZE=%PAR_MSR_SIZE% >> UEFI_PAR.TXT\n\nREM *****************************************************************\nREM SYSTEM \ud30c\ud2f0\uc158\uc744 \uc0dd\uc131\ud558\uace0 \ud3ec\ub9f7 \ud6c4 W:\ub4dc\ub77c\uc774\ube0c\ub85c \ub9cc\ub4e0\ub2e4.\nREM *****************************************************************\nECHO CREATE PARTITION PRIMARY SIZE=%PAR_C_DRIVE_SIZE% >> UEFI_PAR.TXT\nECHO FORMAT FS=NTFS QUICK LABEL=SYSTEM >> UEFI_PAR.TXT\nECHO ASSIGN LETTER=W >> UEFI_PAR.TXT\n\nREM *****************************************************************\nREM DATA \ud30c\ud2f0\uc158\uc744 \uc0dd\uc131\ud558\uace0 \ud3ec\ub9f7 \ud6c4 Y:\ub4dc\ub77c\uc774\ube0c\ub85c \ub9cc\ub4e0\ub2e4.\nREM *****************************************************************\nIF %PAR_D_DRIVE_SIZE% == 0 (\n    ECHO CREATE PARTITION PRIMARY >> UEFI_PAR.TXT\n) ELSE (\n    ECHO CREATE PARTITION PRIMARY SIZE=%PAR_D_DRIVE_SIZE% >> UEFI_PAR.TXT\n)\nECHO FORMAT FS=NTFS QUICK LABEL=DATA >> UEFI_PAR.TXT\nECHO ASSIGN LETTER=Y >> UEFI_PAR.TXT\n\nREM *****************************************************************\nREM DATA\uc758 \uc0ac\uc774\uc988\uac00 0\ubcf4\ub2e4 \ud06c\uba74 RECOVERY \ud30c\ud2f0\uc158\uc744 \uc0dd\uc131\ud55c\ub2e4.\nREM *****************************************************************\nIF %PAR_D_DRIVE_SIZE% GTR 0 (\n    ECHO CREATE PARTITION PRIMARY >> UEFI_PAR.TXT\n    ECHO FORMAT FS=NTFS QUICK LABEL=RECOVERY >> UEFI_PAR.TXT\n    ECHO ASSIGN LETTER=R >> UEFI_PAR.TXT\n)\n\nREM *****************************************************************\nREM \uc544\ub798 \uba85\ub839\uc740 EFI\ud30c\ud2f0\uc158(S:)\uc5d0 BCD\ub97c \uc124\uce58\ud55c\ub2e4.\nREM BCDBOOT C:\\WINDOWS \/S S: \/L KO-KR \/F ALL\nREM *****************************************************************\n\nDISKPART \/S UEFI_PAR.TXT > UEFI_PAR.LOG\nDEL \/Q \/F UEFI_PAR.TXT\n<\/pre>\n\n<!-- \/wp:post-content -->\n<!-- \/wp:syntaxhighlighter\/code -->\n\n2. Windows PE\ub85c \ubd80\ud305\ud558\uc5ec WinNTSetup\uc73c\ub85c \uc544\ub798\uc640 \uac19\uc774 \uc124\uce58\ud55c\ub2e4.<br \/>\n<br \/>\n<img decoding=\"async\" alt=\"winntsetup.png\" data-file-srl=\"8192\" editor_component=\"image_link\" src=\"\/blog\/wp-content\/uploads\/cms_xe\/img0622.png\" \/>\n\n<!-- wp:file {\"id\":2208,\"href\":\"\/blog\/wp-content\/uploads\/cms_xe\/bin0134\"} -->\n<div class=\"wp-block-file\"><a href=\"\/blog\/wp-content\/uploads\/cms_xe\/bin0134\">UEFI_PAR.BAT<\/a><a href=\"\/blog\/wp-content\/uploads\/cms_xe\/bin0134\" class=\"wp-block-file__button\" download>\ub2e4\uc6b4\ub85c\ub4dc<\/a><\/div>\n<!-- \/wp:file -->","protected":false},"excerpt":{"rendered":"<p>1. \uc544\ub798 \ubc30\uce58\ub97c \uc2e4\ud589\ud558\uc5ec \ud558\ub4dc\ub514\uc2a4\ud06c\uc758 \ud30c\ud2f0\uc154\ub2dd\uc744 \ucd08\uae30\ud654 \ud55c\ub2e4. 2. Windows PE\ub85c \ubd80\ud305\ud558\uc5ec WinNTSetup\uc73c\ub85c \uc544\ub798\uc640 \uac19\uc774 \uc124\uce58\ud55c\ub2e4. UEFI_PAR.BAT\ub2e4\uc6b4\ub85c\ub4dc<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[40],"tags":[],"class_list":["post-1074","post","type-post","status-publish","format-standard","hentry","category-os_win"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1074"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1074\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}