-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
참고 : http://etherboot.org/wiki/wiki/qemupxe
https://wiki.tudos.org/QEmu
- cd ~
- mkdir pxe; cd pxe
- wget http://etherboot.org/gtest/gtest.gpxe
- wget http://etherboot.org/gtest/bz2bzImage
- wget http://etherboot.org/gtest/initrd.bz2
- gtest.gpxe를 다음과 같이 수정
#!gpxe
kernel tftp://10.0.0.88//bz2bzImage root=100
initrd tftp://10.0.0.88//initrd.bz2
boot
ps. 여기서 아이피를 이렇게 주었는데 나중에 실행할려면 dhcp에 해당 아이피가 등록되어야 하는 것 같다. 거기에 대해선 좀 더 찾은 후 수정하겠다.
- gpxe.dsk 파일을 다운로드 받자
- link : http://rom-o-matic.net/ 에 들어간다.
- 아래에 보면 gPXE Release 들이 보이고, 가장 최신의 (current-top) Release버전으로 들어간다
- 아무것도 건들지 말고 4번의 Get Image버튼을 눌러 다운로드 받는다.
- gpxe.dsk가 있는 경로로 이동한다.
- qemu를 실행한다.
qemu-system-i386 -bootp tftp://10.0.0.88//gtest.gpxe -tftp /home/[yourName]/pxe/ -fda gpxe.dsk - 실행되지 않는 것을 볼 수 있다.
원인 : 추후 찾겠음. - 실행되는 것을 보고 싶으면 다음과 같이 치면 된다.
qemu-system-i386 -fda gpxe.dsk -net nic -net user -bootp http://etherboot.org/gtest/gtest.gpxe
Reactions are currently unavailable