{"id":225,"date":"2009-08-23T12:15:23","date_gmt":"2009-08-23T11:15:23","guid":{"rendered":"http:\/\/blog.pczone.be\/?p=225"},"modified":"2009-08-23T12:15:23","modified_gmt":"2009-08-23T11:15:23","slug":"create-a-vmware-esxi-4-bootable-disk-using-linux","status":"publish","type":"post","link":"http:\/\/blog.pczone.be\/?p=225","title":{"rendered":"Create a vmware esxi 4 bootable disk using linux"},"content":{"rendered":"<p>This is pretty straight forward, but why not put in in a post anyway.<\/p>\n<p>You go to the vmware site and download the latest vmware esxi build. Download it somewhere in your home drive. After downloading perform following tasks:<\/p>\n<p>Become root (su &#8211; or sudo -s)<\/p>\n<p>mount the iso file. I made a dir <strong>\/media\/isoimage<\/strong> to mount it to:<\/p>\n<p><code><br \/>\nmkdir \/media\/isomage\/<br \/>\nmount -o loop -t iso9660 .\/VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso \/media\/isoimage\/<br \/>\n<\/code><\/p>\n<p>I made a dir in my root folder to work in, copy the image.tgz file to there.<\/p>\n<p><code><br \/>\ncd \/media\/isoimage\/<br \/>\nmkdir \/root\/vmware-esxi-stuff<br \/>\ncp image.tgz \/root\/vmware-esxi-stuff\/<br \/>\n<\/code><\/p>\n<p>Extract the image file<br \/>\n<code><br \/>\ntar xzpfv image.tgz<br \/>\n<\/code><\/p>\n<p>Extract the actual file you need<\/p>\n<p><code><br \/>\nbunzip2 VMware-VMvisor-big-171294-x86_64.dd.bz2<br \/>\n<\/code><\/p>\n<p>Now connect your usbdisk to your linux computer, make sure you know how it gets connected. I always tail my log files to make sure.<\/p>\n<p><code><br \/>\ntail -f \/var\/log\/messages<br \/>\n<\/code><\/p>\n<p>When you connect your usbdisk you will see a lot of entries passing by. You will see something like<\/p>\n<p><code><br \/>\nAug 23 12:43:06 bjornmonnens-desktop kernel: [1134680.672567] sd 6:0:0:0: [sdc] 7818240 512-byte hardware sectors: (4.00 GB\/3.72 GiB)<br \/>\n<\/code><\/p>\n<p>So now you know it is on sdc. Make sure there aren&#8217;t any partitions on there or delete everything using fdisk (this might not be necessary, but I did it anyway)<\/p>\n<p><code><br \/>\nfdisk \/dev\/sdc<br \/>\nCommand (m for help): p<\/p>\n<p>Disk \/dev\/sdc: 4002 MB, 4002938880 bytes<br \/>\n64 heads, 32 sectors\/track, 3817 cylinders<br \/>\nUnits = cylinders of 2048 * 512 = 1048576 bytes<br \/>\nDisk identifier: 0x49e2fd2f<\/p>\n<p>   Device Boot      Start         End      Blocks   Id  System<br \/>\n\/dev\/sdc1               5         900      917504    5  Extended<br \/>\n\/dev\/sdc4   *           1           4        4080    4  FAT16 &lt;32M<br \/>\n\/dev\/sdc5               5         254      255984    6  FAT16<br \/>\n\/dev\/sdc6             255         504      255984    6  FAT16<br \/>\n<\/code><\/p>\n<p>Delete all and write to disk<\/p>\n<p><code><br \/>\nCommand (m for help): d<br \/>\nPartition number (1-8): 1<\/p>\n<p>Command (m for help): w<br \/>\nThe partition table has been altered!<\/p>\n<p>Calling ioctl() to re-read partition table.<br \/>\nSyncing disks.<br \/>\n<\/code><\/p>\n<p>Ok now everything should be empty, so go ahead and write your dd image to the usbdisk using the following command.<\/p>\n<p><code><br \/>\ndd if=VMware-VMvisor-big-171294-x86_64.dd of=\/dev\/sdc<br \/>\n<\/code><\/p>\n<p>Ok it&#8217;s pretty easy, but it might help somebody. And for you windows guys us a bootable linux cd and perform these task instead of installing all kinds of rubbish on your computer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is pretty straight forward, but why not put in in a post anyway. You go to the vmware site and download the latest vmware esxi build. Download it somewhere in your home drive. After downloading perform following tasks: Become root (su &#8211; or sudo -s) mount the iso file. I made a dir \/media\/isoimage &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.pczone.be\/?p=225\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Create a vmware esxi 4 bootable disk using linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[4,7],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-informatics","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3U9nk-3D","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225"}],"version-history":[{"count":2,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":228,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/225\/revisions\/228"}],"wp:attachment":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}