tftpd32를 이용하여 간단하게 하는 방법을 따라해 보았다.
[링크 : http://blog.cuwoom.net/117]
나의 경우에는, 192.168.0.1 이 공유기이다.
공유기가 있어서 DHCP 충돌나지는 않을까 bootp에 문제가 없을까 걱정했는데
아무런 문제없이, tftpd32에서 제대로 받아갔다.
차이점.
1. pxelinux.0 파일은 링크와는 다르게!!
ftp://archive.ubuntu.com/ubuntu/dists/karmic/main/installer-i386/current/images/netboot/netboot.targ.z
을 받아, ./ubuntu_installer/i386/ 디렉토리를 추출하여 사용했다.
그냥 압축을 풀어보면 용량이 0로 나오고, 부팅을 진행하면 install을 눌러도 넘어가지 않는다.
0바이트 파일은 sybmolic link라서 윈도우에서는 제대로 연결을 해주지 못하는 것으로 생각이 된다.
[링크 : http://blog.cuwoom.net/117]
나의 경우에는, 192.168.0.1 이 공유기이다.
공유기가 있어서 DHCP 충돌나지는 않을까 bootp에 문제가 없을까 걱정했는데
아무런 문제없이, tftpd32에서 제대로 받아갔다.
차이점.
1. pxelinux.0 파일은 링크와는 다르게!!
ftp://archive.ubuntu.com/ubuntu/dists/karmic/main/installer-i386/current/images/netboot/netboot.targ.z
을 받아, ./ubuntu_installer/i386/ 디렉토리를 추출하여 사용했다.
그냥 압축을 풀어보면 용량이 0로 나오고, 부팅을 진행하면 install을 눌러도 넘어가지 않는다.
0바이트 파일은 sybmolic link라서 윈도우에서는 제대로 연결을 해주지 못하는 것으로 생각이 된다.
. 에 존재하는 파일은 용량이 0 이다.
i386의 내용중 pxelinux.cfg와 pxelinux.0를 tftpd32 루트로 옮겨준다.
이런식으로 옮겨주면 된다.
이런식으로 옮겨주면 된다.
PXE 부팅 설정으로 들어가려면 Shift-F10을 누르라고 하는데
들어가도 설정한건 없어서 그냥 나왔으니 패스 -ㅁ-!
들어가도 설정한건 없어서 그냥 나왔으니 패스 -ㅁ-!
꼼지락 대면서 BOOTP를 통해 ip와 pxelinux.0를 받으려고 한다.
받아온 아이피는 192.168.0.200 그리고 DHCP 서버는 tftpd32가 설치된 0.100 이다.
tftp를 통해 pxelinux.cfg 파일을 읽고 내용을 받아와서 부팅이 된다.
tftp를 통해 pxelinux.cfg 파일을 읽고 내용을 받아와서 부팅이 된다.
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:A0:D1:C2:42:E7 [25/04 23:04:03.796] DHCP: proposed address 192.168.0.200 [25/04 23:04:05.296] 1544 Request 2 not processed [25/04 23:04:05.343] Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:A0:D1:C2:42:E7 [25/04 23:04:05.812] Previously allocated address 192.168.0.200 acked [25/04 23:04:07.312] Connection received from 192.168.0.200 on port 2070 [25/04 23:04:07.328] Read request for file <pxelinux.0>. Mode octet [25/04 23:04:07.328] OACK: <blksize=1456,> [25/04 23:04:07.328] Using local port 2440 [25/04 23:04:07.328] 1544 Request 2 not processed [25/04 23:04:07.375] <pxelinux.0>: sent 11 blks, 14776 bytes in 0 s. 0 blk resent [25/04 23:04:07.421] Connection received from 192.168.0.200 on port 57089 [25/04 23:04:07.437] Read request for file <pxelinux.cfg/e1ce8620-13bc-11dc-a70e-00a0d1c242e7>. Mode octet [25/04 23:04:07.437] File <pxelinux.cfg\e1ce8620-13bc-11dc-a70e-00a0d1c242e7> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.437] Connection received from 192.168.0.200 on port 57090 [25/04 23:04:07.437] Read request for file <pxelinux.cfg/01-00-a0-d1-c2-42-e7>. Mode octet [25/04 23:04:07.437] File <pxelinux.cfg\01-00-a0-d1-c2-42-e7> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.437] Connection received from 192.168.0.200 on port 57091 [25/04 23:04:07.437] Read request for file <pxelinux.cfg/C0A800C8>. Mode octet [25/04 23:04:07.437] File <pxelinux.cfg\C0A800C8> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.437] Connection received from 192.168.0.200 on port 57092 [25/04 23:04:07.437] Read request for file <pxelinux.cfg/C0A800C>. Mode octet [25/04 23:04:07.437] File <pxelinux.cfg\C0A800C> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.437] Connection received from 192.168.0.200 on port 57093 [25/04 23:04:07.437] Read request for file <pxelinux.cfg/C0A800>. Mode octet [25/04 23:04:07.453] File <pxelinux.cfg\C0A800> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.453] Connection received from 192.168.0.200 on port 57094 [25/04 23:04:07.453] Read request for file <pxelinux.cfg/C0A80>. Mode octet [25/04 23:04:07.453] File <pxelinux.cfg\C0A80> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.453] Connection received from 192.168.0.200 on port 57095 [25/04 23:04:07.453] Read request for file <pxelinux.cfg/C0A8>. Mode octet [25/04 23:04:07.453] File <pxelinux.cfg\C0A8> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.453] Connection received from 192.168.0.200 on port 57096 [25/04 23:04:07.453] Read request for file <pxelinux.cfg/C0A>. Mode octet [25/04 23:04:07.453] File <pxelinux.cfg\C0A> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.453] Connection received from 192.168.0.200 on port 57097 [25/04 23:04:07.453] Read request for file <pxelinux.cfg/C0>. Mode octet [25/04 23:04:07.453] File <pxelinux.cfg\C0> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.453] Connection received from 192.168.0.200 on port 57098 [25/04 23:04:07.453] Read request for file <pxelinux.cfg/C>. Mode octet [25/04 23:04:07.468] File <pxelinux.cfg\C> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.468] Connection received from 192.168.0.200 on port 57099 [25/04 23:04:07.468] Read request for file <pxelinux.cfg/default>. Mode octet [25/04 23:04:07.468] OACK: <tsize=127,blksize=1408,> [25/04 23:04:07.468] Using local port 2451 [25/04 23:04:07.468] Connection received from 192.168.0.200 on port 57100 [25/04 23:04:07.578] <pxelinux.cfg\default>: sent 1 blk, 127 bytes in 0 s. 0 blk resent [25/04 23:04:07.578] Read request for file <ubuntu-installer/i386/boot-screens/menu.cfg>. Mode octet [25/04 23:04:07.578] OACK: <tsize=813,blksize=1408,> [25/04 23:04:07.578] Using local port 2452 [25/04 23:04:07.578] <ubuntu-installer\i386\boot-screens\menu.cfg>: sent 1 blk, 813 bytes in 0 s. 0 blk resent [25/04 23:04:07.671] Connection received from 192.168.0.200 on port 57101 [25/04 23:04:07.671] Read request for file <ubuntu-installer/i386/boot-screens/stdmenu.cfg>. Mode octet [25/04 23:04:07.671] OACK: <tsize=395,blksize=1408,> [25/04 23:04:07.671] Using local port 2453 [25/04 23:04:07.671] Connection received from 192.168.0.200 on port 57102 [25/04 23:04:07.781] <ubuntu-installer\i386\boot-screens\stdmenu.cfg>: sent 1 blk, 395 bytes in 0 s. 0 blk resent [25/04 23:04:07.781] Read request for file <ubuntu-installer/i386/boot-screens/text.cfg>. Mode octet [25/04 23:04:07.781] OACK: <tsize=401,blksize=1408,> [25/04 23:04:07.781] Using local port 2454 [25/04 23:04:07.781] <ubuntu-installer\i386\boot-screens\text.cfg>: sent 1 blk, 401 bytes in 0 s. 0 blk resent [25/04 23:04:07.875] Connection received from 192.168.0.200 on port 57103 [25/04 23:04:07.875] Read request for file <ubuntu-installer/i386/boot-screens/amdtext.cfg>. Mode octet [25/04 23:04:07.875] File <ubuntu-installer\i386\boot-screens\amdtext.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.890] Connection received from 192.168.0.200 on port 57104 [25/04 23:04:07.890] Read request for file <ubuntu-installer/i386/boot-screens/gtk.cfg>. Mode octet [25/04 23:04:07.890] File <ubuntu-installer\i386\boot-screens\gtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.890] Connection received from 192.168.0.200 on port 57105 [25/04 23:04:07.890] Read request for file <ubuntu-installer/i386/boot-screens/amdgtk.cfg>. Mode octet [25/04 23:04:07.890] File <ubuntu-installer\i386\boot-screens\amdgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:07.890] Connection received from 192.168.0.200 on port 57106 [25/04 23:04:07.890] Read request for file <ubuntu-installer/i386/boot-screens/stdmenu.cfg>. Mode octet [25/04 23:04:07.890] OACK: <tsize=395,blksize=1408,> [25/04 23:04:07.890] Using local port 2458 [25/04 23:04:07.890] <ubuntu-installer\i386\boot-screens\stdmenu.cfg>: sent 1 blk, 395 bytes in 0 s. 0 blk resent [25/04 23:04:07.984] Connection received from 192.168.0.200 on port 57107 [25/04 23:04:07.984] Read request for file <ubuntu-installer/i386/boot-screens/adtext.cfg>. Mode octet [25/04 23:04:07.984] OACK: <tsize=566,blksize=1408,> [25/04 23:04:07.984] Using local port 2459 [25/04 23:04:07.984] <ubuntu-installer\i386\boot-screens\adtext.cfg>: sent 1 blk, 566 bytes in 1 s. 0 blk resent [25/04 23:04:08.078] Connection received from 192.168.0.200 on port 57108 [25/04 23:04:08.093] Read request for file <ubuntu-installer/i386/boot-screens/adamdtext.cfg>. Mode octet [25/04 23:04:08.093] File <ubuntu-installer\i386\boot-screens\adamdtext.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.093] Connection received from 192.168.0.200 on port 57109 [25/04 23:04:08.093] Read request for file <ubuntu-installer/i386/boot-screens/adgtk.cfg>. Mode octet [25/04 23:04:08.093] File <ubuntu-installer\i386\boot-screens\adgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.093] Connection received from 192.168.0.200 on port 57110 [25/04 23:04:08.093] Read request for file <ubuntu-installer/i386/boot-screens/adamdgtk.cfg>. Mode octet [25/04 23:04:08.093] File <ubuntu-installer\i386\boot-screens\adamdgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.093] Connection received from 192.168.0.200 on port 57111 [25/04 23:04:08.093] Read request for file <ubuntu-installer/i386/boot-screens/vesamenu.c32>. Mode octet [25/04 23:04:08.093] OACK: <tsize=144392,blksize=1408,> [25/04 23:04:08.093] Using local port 2463 [25/04 23:04:08.093] <ubuntu-installer\i386\boot-screens\vesamenu.c32>: sent 103 blks, 144392 bytes in 0 s. 0 blk resent [25/04 23:04:08.234] Connection received from 192.168.0.200 on port 57112 [25/04 23:04:08.468] Read request for file <pxelinux.cfg/default>. Mode octet [25/04 23:04:08.468] OACK: <tsize=127,blksize=1408,> [25/04 23:04:08.468] Using local port 2464 [25/04 23:04:08.468] <pxelinux.cfg\default>: sent 1 blk, 127 bytes in 0 s. 0 blk resent [25/04 23:04:08.515] Connection received from 192.168.0.200 on port 57113 [25/04 23:04:08.515] Read request for file <ubuntu-installer/i386/boot-screens/menu.cfg>. Mode octet [25/04 23:04:08.515] OACK: <tsize=813,blksize=1408,> [25/04 23:04:08.515] Using local port 2465 [25/04 23:04:08.515] <ubuntu-installer\i386\boot-screens\menu.cfg>: sent 1 blk, 813 bytes in 0 s. 0 blk resent [25/04 23:04:08.625] Connection received from 192.168.0.200 on port 57114 [25/04 23:04:08.625] Read request for file <ubuntu-installer/i386/boot-screens/stdmenu.cfg>. Mode octet [25/04 23:04:08.625] OACK: <tsize=395,blksize=1408,> [25/04 23:04:08.625] Using local port 2466 [25/04 23:04:08.625] <ubuntu-installer\i386\boot-screens\stdmenu.cfg>: sent 1 blk, 395 bytes in 0 s. 0 blk resent [25/04 23:04:08.718] Connection received from 192.168.0.200 on port 57115 [25/04 23:04:08.718] Read request for file <ubuntu-installer/i386/boot-screens/text.cfg>. Mode octet [25/04 23:04:08.718] OACK: <tsize=401,blksize=1408,> [25/04 23:04:08.718] Using local port 2467 [25/04 23:04:08.718] <ubuntu-installer\i386\boot-screens\text.cfg>: sent 1 blk, 401 bytes in 0 s. 0 blk resent [25/04 23:04:08.828] Connection received from 192.168.0.200 on port 57116 [25/04 23:04:08.828] Read request for file <ubuntu-installer/i386/boot-screens/amdtext.cfg>. Mode octet [25/04 23:04:08.828] File <ubuntu-installer\i386\boot-screens\amdtext.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.828] Connection received from 192.168.0.200 on port 57117 [25/04 23:04:08.828] Read request for file <ubuntu-installer/i386/boot-screens/gtk.cfg>. Mode octet [25/04 23:04:08.828] File <ubuntu-installer\i386\boot-screens\gtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.828] Connection received from 192.168.0.200 on port 57118 [25/04 23:04:08.828] Read request for file <ubuntu-installer/i386/boot-screens/amdgtk.cfg>. Mode octet [25/04 23:04:08.828] File <ubuntu-installer\i386\boot-screens\amdgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:08.828] Connection received from 192.168.0.200 on port 57119 [25/04 23:04:08.828] Read request for file <ubuntu-installer/i386/boot-screens/stdmenu.cfg>. Mode octet [25/04 23:04:08.828] OACK: <tsize=395,blksize=1408,> [25/04 23:04:08.828] Using local port 2471 [25/04 23:04:08.828] <ubuntu-installer\i386\boot-screens\stdmenu.cfg>: sent 1 blk, 395 bytes in 0 s. 0 blk resent [25/04 23:04:08.921] Connection received from 192.168.0.200 on port 57120 [25/04 23:04:08.921] Read request for file <ubuntu-installer/i386/boot-screens/adtext.cfg>. Mode octet [25/04 23:04:08.921] OACK: <tsize=566,blksize=1408,> [25/04 23:04:08.921] Using local port 2472 [25/04 23:04:08.921] <ubuntu-installer\i386\boot-screens\adtext.cfg>: sent 1 blk, 566 bytes in 1 s. 0 blk resent [25/04 23:04:09.031] Connection received from 192.168.0.200 on port 57121 [25/04 23:04:09.031] Read request for file <ubuntu-installer/i386/boot-screens/adamdtext.cfg>. Mode octet [25/04 23:04:09.031] File <ubuntu-installer\i386\boot-screens\adamdtext.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:09.031] Connection received from 192.168.0.200 on port 57122 [25/04 23:04:09.031] Read request for file <ubuntu-installer/i386/boot-screens/adgtk.cfg>. Mode octet [25/04 23:04:09.031] File <ubuntu-installer\i386\boot-screens\adgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:09.031] Connection received from 192.168.0.200 on port 57123 [25/04 23:04:09.031] Read request for file <ubuntu-installer/i386/boot-screens/adamdgtk.cfg>. Mode octet [25/04 23:04:09.031] File <ubuntu-installer\i386\boot-screens\adamdgtk.cfg> : error 2 in system call CreateFile 지정된 파일을 찾을 수 없습니다. [25/04 23:04:09.031] Connection received from 192.168.0.200 on port 57124 [25/04 23:04:09.031] Read request for file <ubuntu-installer/i386/boot-screens/splash.png>. Mode octet [25/04 23:04:09.031] OACK: <tsize=7999,blksize=1408,> [25/04 23:04:09.031] Using local port 2476 [25/04 23:04:09.031] <ubuntu-installer\i386\boot-screens\splash.png>: sent 6 blks, 7999 bytes in 0 s. 0 blk resent [25/04 23:04:09.140] Connection received from 192.168.0.200 on port 57125 [25/04 23:04:10.812] Read request for file <ubuntu-installer/i386/linux>. Mode octet [25/04 23:04:10.828] OACK: <tsize=3890400,blksize=1408,> [25/04 23:04:10.828] Using local port 2477 [25/04 23:04:10.828] <ubuntu-installer\i386\linux>: sent 2764 blks, 3890400 bytes in 2 s. 0 blk resent [25/04 23:04:12.265] Connection received from 192.168.0.200 on port 57126 [25/04 23:04:12.265] Read request for file <ubuntu-installer/i386/initrd.gz>. Mode octet [25/04 23:04:12.281] OACK: <tsize=8209207,blksize=1408,> [25/04 23:04:12.281] Using local port 2478 [25/04 23:04:12.281] <ubuntu-installer\i386\initrd.gz>: sent 5831 blks, 8209207 bytes in 2 s. 0 blk resent [25/04 23:04:14.953] |
'프로그램 사용 > PXE(네트워크 부트)' 카테고리의 다른 글
pxe boot (0) | 2023.06.21 |
---|---|
DHCP hostname (0) | 2020.10.14 |
DHCP / BOOTP / TFTP (4) | 2010.04.27 |
PXE를 통한 우분투/XP 설치 (0) | 2009.12.09 |
Posted by 구차니