2 Replies Latest reply on Mar 18, 2011 11:10 AM by vmproteau

    Extracting a .bz2 file in ESXi 4.1

    vmproteau Expert

      We received a VM in a .bz2 file. I'm on the Host in Tech Support Mode. Is there a bunzip2 utility in ESXi 4.1? If so how would I run it?


      The file came to us in the format clone.tar.bz2

        • 1. Re: Extracting a .bz2 file in ESXi 4.1
          Dave.Mishchenko Guru

          The console for ESXi relies on Busybox for common utilities such as gunzip and tar.  While the latest builds of Busybox do include bunzip2, the version used for ESXi does not.  It only includes the following utilities:


          Currently defined functions:
                  [, [[, addgroup, adduser, ash, awk, basename, cat, chgrp,
                  chmod, chown, chroot, chvt, cksum, clear, cp, crond, cut,
                  date, dd, delgroup, deluser, df, diff, dirname, du, echo,
                  egrep, eject, env, expr, false, fdisk, fgrep, find, ftpget,
                  ftpput, getty, grep, groupadd, groupdel, groups, gunzip,
                  gzip, halt, head, hexdump, hostname, id, inetd, init,
                  kill, ln, loadkmap, lockfile, logger, login, ls, md5sum,
                  mkdir, mkfifo, mknod, mktemp, more, mount, mv, nohup,
                  nslookup, od, passwd, poweroff, printf, readlink, reboot,
                  reset, resize, rm, rmdir, sed, seq, setsid, sh, sha1sum,
                  sleep, sort, stat, stty, su, sum, sync, syslogd, tail,
                  tar, tee, test, time, touch, true, umount, uname, uniq,
                  uptime, useradd, userdel, usermod, usleep, vi, watch,
                  wc, wget, which, whoami, xargs, zcat

          /bin #

          • 2. Re: Extracting a .bz2 file in ESXi 4.1
            vmproteau Expert

            OK. I'll download and use Cygwin to extract the tar file then move it to the Hosts and use tar from there. Thanks for the quick response.