{"id":936,"date":"2014-03-11T14:15:26","date_gmt":"2014-03-11T13:15:26","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=936"},"modified":"2014-04-11T18:47:43","modified_gmt":"2014-04-11T16:47:43","slug":"tinypxe-server-how-to-boot-a-disk-image-thru-pxe","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=936","title":{"rendered":"TinyPXE Server : how to boot a disk image thru PXE"},"content":{"rendered":"<p>In <a href=\"https:\/\/labalec.fr\/erwan\/?p=925\" target=\"_blank\">previous article<\/a>, we have seen how to make a bootable disk image using <a href=\"http:\/\/reboot.pro\/topic\/8480-clonedisk\/\" target=\"_blank\">CloneDisk<\/a>.<\/p>\n<p>Lets see now how to boot this disk image thru PXE boot with <a href=\"http:\/\/reboot.pro\/topic\/18962-bug-reports-requests-howtos-about-tiny-pxe-server\" target=\"_blank\">TinyPXE Server<\/a>.<\/p>\n<p>1-Prepare the the IPXE script<br \/>\n2-Setup TinyPXE Server<br \/>\n3-PXE Boot !<\/p>\n<p><strong>1-Prepare the IPXE script and save it as disk.ipxe<\/strong><\/p>\n<p>Pretty simple<br \/>\n<code><br \/>\n#!ipxe<br \/>\nset boot-url http:\/\/${next-server}<br \/>\ninitrd ${boot-url}\/test.vhd<br \/>\nkernel ${boot-url}\/memdisk raw<br \/>\nboot<br \/>\n<\/code><\/p>\n<p><strong>2-Setup TinyPXE Server<\/strong><\/p>\n<p>Next to pxesrv.exe, in the same folder, you must have the following files :<br \/>\n-disk.ipxe (see previous item)<br \/>\n-ipxe-undionly.kpxe (in TPS zip file)<br \/>\n-memdisk (in TPS zip file)<br \/>\n-test.vhd (see previous article)<\/p>\n<p>Now set TinyPXE Server as follow<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/tps_howto1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-937\" alt=\"tps_howto1\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/tps_howto1-283x300.png\" width=\"283\" height=\"300\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/tps_howto1-283x300.png 283w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/tps_howto1-24x24.png 24w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/tps_howto1.png 520w\" sizes=\"auto, (max-width: 283px) 100vw, 283px\" \/><\/a><\/p>\n<p><strong>3-PXE boot<\/strong><\/p>\n<div style=\"width: 695px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-936-1\" width=\"695\" height=\"521\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/webm\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/PXE.webm?_=1\" \/><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/PXE.webm\">https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/03\/PXE.webm<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In previous article, we have seen how to make a bootable disk image using CloneDisk. Lets see now how to boot this disk image thru PXE boot with TinyPXE Server. 1-Prepare the the IPXE script 2-Setup TinyPXE Server 3-PXE Boot ! 1-Prepare the IPXE script and save it as disk.ipxe Pretty simple #!ipxe set boot-url <a href='https:\/\/labalec.fr\/erwan\/?p=936' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45,28],"tags":[],"class_list":["post-936","post","type-post","status-publish","format-standard","hentry","category-pxe","category-tinypxe-server","category-45-id","category-28-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=936"}],"version-history":[{"count":2,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/936\/revisions"}],"predecessor-version":[{"id":1063,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/936\/revisions\/1063"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}