Linux를 WDS로 시작해 보기(iPXE for Boot a Linux via Network on Windows Server)
WindowsServer WDS를 사용하여 LiveCD Linux를 PXE 부팅
Windows Server 2019(2016에서도 가능)에서 다음 서비스 설치
· DHCP 서버
· Web Server (IIS)
· Windows Deployment Services

undionly.kpxe 및 memdisk.bin 파일을 htps //w w. ㅇㅇ. 오 rg / 도 w 응 아 d /에서 다운로드하여 만듭니다.
menu.ipxe 작성 (이하, 예)
initrd h tp // 10.0.0.1 / 속눈썹 s / 전과 Sゔ゜ cd. 이소
체인 memdisk.bin iso raw
boot.ipxe 만들기 (아래 예)
chain --replace --autofree h tp://10.0.0.1/눈썹 s/메누. 이 pぇ ||
WDS 서비스 설정 및 시작

DHCP 서비스에서 새 범위 추가

범위 옵션으로 066 Boot Server 호스트 이름 추가, 서버 IP 입력


사용자 클래스에 iPXE 추가


새 정책(iPXE Policy) 추가, User Class, Equals, iPXE 및 067에서\Boot\x86\boot.ipxe 설정



IIS의 Vertical Directory에서 Default Web Site에서 다음을 추가합니다.

MIME 유형으로 iso 및 ipxe 추가


다음 파일을\RemoteInstall\Boot\x86 폴더로 복사
・undionly.kpxe
· boot.ipxe
다음 파일을\RemoteInstall\Boot\x86\Images 폴더로 복사
· menu.ipxe
· memdisk.bin
· 시작하려는 Linux 이미지 .iso
WDS의 WDS 서버 속성에서 다음과 같이 설정

관리자 권한 명령 프롬프트에서 다음을 수행합니다.
wdsutil/set-server/bootprogram:Boot\x86\undionly.kpxe/Architecture:x86
wdsutil/set-server/bootprogram:Boot\x86\undionly.kpxe/Architecture:x64
wdsutil/set-server/N12bootprogram:Boot\x86\undionly.kpxe/Architecture:x86
wdsutil/set-server/N12bootprogram:Boot\x86\undionly.kpxe/Architecture:x64

That's all :D
OMAKE
menu.ipxe와 같은 폴더에 png 파일을 넣고 menu.ipxe에
console --picture background.png
지정하면 iso를 읽는 동안 이미지를 볼 수 있습니다.
그 밖에, iso 복수 지정하고 싶은 경우는,
아래와 같이 menu.ipxe를 만들면 OK
set server 10.0.0.1
console --picture background.png
:start
menu === BOOT MENU ===
item --key a Linux1 Linux_1st_image
item --key b Linux2 Linux_2nd_image
choose --default Linux1 --timeout 10000 target && goto ${target}
goto ${selected}
:cancel
echo canceled
: failed
echo FAILED...
goto shell
:back
set submenu-timeout 0
clear submenu-default
goto start
: Linux1
initrd http://${server}/Images/Linux1.iso
체인 memdisk.bin iso raw || goto failed
goto start
: Linux2
initrd http://${server}/Images/Linux2.iso
체인 memdisk.bin iso raw || goto failed
goto start
...That's all. ☆ Knowledge of zealous young🌙🐰
Reference
이 문제에 관하여(Linux를 WDS로 시작해 보기(iPXE for Boot a Linux via Network on Windows Server)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/kozy_sweets/items/0c8a714e32ea6ee690ae
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
menu.ipxe와 같은 폴더에 png 파일을 넣고 menu.ipxe에
console --picture background.png
지정하면 iso를 읽는 동안 이미지를 볼 수 있습니다.
그 밖에, iso 복수 지정하고 싶은 경우는,
아래와 같이 menu.ipxe를 만들면 OK
set server 10.0.0.1
console --picture background.png
:start
menu === BOOT MENU ===
item --key a Linux1 Linux_1st_image
item --key b Linux2 Linux_2nd_image
choose --default Linux1 --timeout 10000 target && goto ${target}
goto ${selected}
:cancel
echo canceled
: failed
echo FAILED...
goto shell
:back
set submenu-timeout 0
clear submenu-default
goto start
: Linux1
initrd http://${server}/Images/Linux1.iso
체인 memdisk.bin iso raw || goto failed
goto start
: Linux2
initrd http://${server}/Images/Linux2.iso
체인 memdisk.bin iso raw || goto failed
goto start
...That's all. ☆ Knowledge of zealous young🌙🐰
Reference
이 문제에 관하여(Linux를 WDS로 시작해 보기(iPXE for Boot a Linux via Network on Windows Server)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/kozy_sweets/items/0c8a714e32ea6ee690ae텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)