{"id":31,"date":"2008-07-05T02:08:00","date_gmt":"2008-07-05T09:08:00","guid":{"rendered":"http:\/\/samueldotj.com\/blog\/?p=31"},"modified":"2013-08-26T14:40:13","modified_gmt":"2013-08-26T21:40:13","slug":"bootable-cd-with-grub","status":"publish","type":"post","link":"http:\/\/samueldotj.com\/blog\/bootable-cd-with-grub\/","title":{"rendered":"Bootable CD with Grub"},"content":{"rendered":"<p>Last week, I decided to boot Ace using CD image rather than floppy image because booting was slow when floppy image is used in bochs.<\/p>\n<p>To create bootable cd with grub, stage2_eltorito should compiled from the grub source. The mkisofs is also needed to create the image. <a href='http:\/\/smithii.com\/cdrtools'>http:\/\/smithii.com\/cdrtools<\/a> contains windows cygwin port of the cdrtools which contains mkisofs.<\/p>\n<p>[shell]<br \/>\nmkdir -p $ACE_ROOT\/img\/iso\/boot\/grub<br \/>\ncp $ACE_ROOT\/img\/boot\/grub\/stage2_eltorito $ACE_ROOT\/img\/iso\/boot\/grub<br \/>\ncp $ACE_ROOT\/img\/boot\/grub\/menu.lst $ACE_ROOT\/img\/iso\/boot\/grub<br \/>\ncp $ACE_ROOT\/obj\/kernel.sys $ACE_ROOT\/img\/iso\/<\/p>\n<p>mkisofs -R -b boot\/grub\/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o $ACE_ROOT\/img\/bootcd.iso $ACE_ROOT\/img\/iso<br \/>\n[\/shell]<\/p>\n<p>This image can be written to a CD using any CD burning software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week, I decided to boot Ace using CD image rather than floppy image because booting was slow when floppy image is used in bochs. To create bootable cd with grub, stage2_eltorito should compiled from the grub source. The mkisofs is also needed to create the image. http:\/\/smithii.com\/cdrtools contains windows cygwin port of the cdrtools [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,11,4],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-ace","category-kernel","category-tools"],"_links":{"self":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":2,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":117,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts\/31\/revisions\/117"}],"wp:attachment":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}