{"id":7647,"date":"2018-02-19T22:59:55","date_gmt":"2018-02-20T05:59:55","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=7647"},"modified":"2018-02-19T23:00:10","modified_gmt":"2018-02-20T06:00:10","slug":"booting-and-kickstarting-centos-7-from-usb","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=7647","title":{"rendered":"Booting and Kickstarting CentOS 7 from USB"},"content":{"rendered":"<p>I figured out a huge portion of what I was doing wrong.<\/p>\n<p>Here is a snippit from syslinux config<\/p>\n<pre>label kickstart1\r\n menu label ^1 Minimal Kickstart \r\n kernel vmlinuz\r\n append initrd=initrd.img inst.repo=hd:LABEL=CENTOS7:\/ inst.stage2=hd:LABEL=CENTOS7:\/ inst.ks=hd:LABEL=BOOT:\/ks\/minimal.cfg<\/pre>\n<p>I prefer grub and it translates to grub.<\/p>\n<p>I am not sure if this works with UEFI systems though<\/p>\n<p>Note that there is a CENTOS7 label and a BOOT label.<\/p>\n<p>That is because there is a FAT32 \/dev\/sdb1 labeled BOOT and an ext3 \/dev\/sdb2 labeled CENTOS7.<\/p>\n<p>I did this because you can simply copy the ISO to \/dev\/sdb2.\u00a0 But I think this will work all on 1 partition with FAT32 and if you copy the &#8220;contents&#8221; of the iso file to the partition.\u00a0 That is due to the file size limitation of FAT32, basically it will not accomidate the large DVD iso that is the CentOS 7 install.<\/p>\n<p>But a new issue came up, kickstart is not sure which is the boot disk.\u00a0 In my tests on a live system, \/dev\/sdb was the boot disk and \/dev\/sda was the flash.<\/p>\n<p>Just another thing to figure out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I figured out a huge portion of what I was doing wrong. Here is a snippit from syslinux config label kickstart1 menu label ^1 Minimal Kickstart kernel vmlinuz append initrd=initrd.img inst.repo=hd:LABEL=CENTOS7:\/ inst.stage2=hd:LABEL=CENTOS7:\/ inst.ks=hd:LABEL=BOOT:\/ks\/minimal.cfg I prefer grub and it translates to &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=7647\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3],"tags":[],"class_list":["post-7647","post","type-post","status-publish","format-standard","hentry","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7647"}],"version-history":[{"count":2,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7647\/revisions"}],"predecessor-version":[{"id":7649,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7647\/revisions\/7649"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}