Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mic-chroot(1) [debian man page]

MIC-CHROOT(1)						      General Commands Manual						     MIC-CHROOT(1)

NAME
mc-chroot - chroot into a live image in order to do some changes SYNOPSIS
mic-chroot [options] <image|image fs> <image> is a live image file name, <image fs> is a directory path which contains the whole file system unpacked from a live image. DESCRIPTION
mic-chroot can chroot into a live image to do some changes, you can use it to unpack a live image then do some changes, once changes are done, you can regenerate a live image including those changes you did. mic-image-manager has a GUI tool for mic-chroot, you can use it if you prefer to use GUI instead of command line. OPTIONS
--version show version number -h, --help show this help message -s SAVETO, --save-to=SAVETO Save unpacked filesystem to the specified path --unpack-only Just unpack an image, this is used tounpack an image with -s option together -b BINDMOUNTS, --bind-mounts=BINDMOUNTS Specify bind mount list, for example: -b "/proc:/proc;/:/parentroot" -c CONVERTTO, --convert-to=CONVERTTO Convert it to the specified type live image on exiting, the allowed value is livecd or liveusb --convert-only Just convert an image, this will skip chroot and directly convert an image/filesytem with -c option together -o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir) EXAMPLES
Unpack an image to a directory and chroot into it: mic-chroot -s /my/fs/root EXIT STATUS
mic-image-convertor returns a zero exist status if it succeeds, otherwise return non-zero and print error message. AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding SEE ALSO
mic-image-creator(1), mic-convertor(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1) perl v5.12.3 2011-05-31 MIC-CHROOT(1)

Check Out this Related Man Page

MIC-IMAGE-CONVERTOR(1)					      General Commands Manual					    MIC-IMAGE-CONVERTOR(1)

NAME
mic-image-convertor - Convert a virtual machine image to a live image SYNOPSIS
mic-image-convertor [options] DESCRIPTION
mic-image-convertor can convert a virtual machine image to a live image, this is specially for developers, they will use VMWare player or KVM or VirtualBox to run this image and do some changes in place, then they convert this changed image to a live image to run in a real device. mic-image-manager has a GUI tool for mic-image-convertor, you can use it if you prefer to use GUI instead of command line. General OPTIONS --version show version number and exit -h, --help show this help message and exit -F SRCFORMAT, --source-format=SRCFORMAT Source image format, possible values are: raw, vmdk or vdi (default: automatically detect image type). -I SRCIMG, --source-image=SRCIMG Source image which was created by mic-image-creator or an image file system. -T DSTFORMAT, --target-format=DSTFORMAT Target image format, possible values are: livecd and liveusb -t TMPDIR, --tmpdir=TMPDIR Temporary directory to use (default: /var/tmp) -o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir) -S SUFFIX, --suffix=SUFFIX Image name suffix (default: date stamp) OPTIONS For Live USB -i, --interactive Directly write into a USB disk. --fstype=FSTYPE File system type for live USB image, ext3 or vfat, the default is vfat. --overlay-size-mb=OVERLAYSIZEMB Overlay size in MB as unit, it means how size changes you can save in your live USB disk. Debug OPTIONS -d, --debug Output debugging information -v, --verbose Output verbose progress information --logfile=FILE Save debug information to FILE EXAMPLES
Convert a VMWare image to a live CD image: mic-image-convertor -I your-vmware-image.vmdk -T liveusb EXIT STATUS
mic-image-convertor returns a zero exist status if it succeeds, otherwise return non-zero and print error message. AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding SEE ALSO
mic-image-creator(1), mic-chroot(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1) perl v5.12.3 2011-05-31 MIC-IMAGE-CONVERTOR(1)
Man Page

Featured Tech Videos