VMware Cloud Community
vmproteau
Enthusiast
Enthusiast
Jump to solution

Extracting a .bz2 file in ESXi 4.1

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

Reply
0 Kudos
1 Solution

Accepted Solutions
Dave_Mishchenko
Immortal
Immortal
Jump to solution

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 #

View solution in original post

Reply
0 Kudos
2 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

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 #

Reply
0 Kudos
vmproteau
Enthusiast
Enthusiast
Jump to solution

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.

Reply
0 Kudos