Creating ISO Image
I have two Macs, an older 17" MB Pro with a superdrive and a new 2013 27" iMac without a superdrive. I have a legal copy of Windows 7 64 bit that I need to use to make an ISO image on a USB stick so I can install Windows 7 on bootcamp on the new iMac. How do I create the ISO image on the USB stick? This needs to be done within Mavericks if possible.
http://lmgtfy.com/?q=how+to+create+iso+on+mac
Similar Messages
-
Cannot create ISO image in Boot Camp on to the flash drive
After following all the steps of the article: Boot Camp: Creating an ISO........
In step 21 the progress bar reached 50% then stop a message appears Cann't establish connection?
My internet connection is fine,the documents have been copied on the 32GB flash drive formatted in FAT32,
Repeated ,change flash drives, created another image from new DVD,
Unable to finish this process?
Any ideas?Your MacPro is a UEFI model based on How to identify Mac Pro models - Apple Support since it has a Model Identifier of 6,1. From Bootcamp Info.plist
<key>PreUEFIModels</key>
<array>
<string>MacBook7</string>
<string>MacBookAir5</string>
<string>MacBookPro10</string>
<string>MacPro5</string>
<string>Macmini6</string>
<string>iMac13</string>
</array>
1. Use Boot Camp: System requirements for Microsoft Windows operating systems - Apple Support to download the appropriate drivers from the Apple servers manually to a flash drive. You will need Boot Camp Support Software 5.1.5640.
System Requirements
MacBook Air (11-inch & 13-inch, Mid 2013)
MacBook Pro (Retina, 13-inch & 15-inch, Late 2013)
Mac Pro (Late 2013)
iMac (21.5-inch & 27-inch, Late 2013)
Windows 7, Windows 8, and Windows 8.1, 64 bit
2. Remove all physical external drives except the OS X and the designated Windows drive. Manually partition your drive and create a Free Space partition of the size you want. This will be split into a 128MB MSR and remainder MS Data partition. This is called EFI installation of Windows.
3. Insert your Windows DVD in the built-in Optical Drive.
4. Plug-in your USB2 flash drive from step 1. Remove all other external peripherals, except Keyboard/Mouse/Display. The Keyboard/Mouse being wired eliminates issues with Bluetooth.
5. Start BCA and choose the last option 'Install/Remove Windows'. Choose the EFI Boot from the DVD. You can also do the same using the Alt/Option key when powering up the MacPro.
6. Windows installer should start. If it does not, please post back with any error messages.
I assume that you have not modified Bootcamp info.plist to try and create a bootable USB. -
How to create ISO images of cds we already have?
Hi
I want to create an image (ISO preferably) of a dvd I have.
I have no idea how to do it. I tried to use Toast, it made the .dmg file but
when I try to mount it, it says "mount failure".
I have tried this many times now so I have no idea what to do.
Can someone please help me out?
Thanks.If you are talking about copy-protected, commercial dvds, that is a discussion that is not allowed in this forum. (See Terms of Use.)
A google search for "fastiso" (without the quotes) suggests a method for ordinary discs which you have the right to copy.
And a google search for "diskutility create iso" (without the quotes) suggests some more complicated, free methods. -
How to create ISO images for Solaris 10 U6 (10/08) SPARC CD 1 and DVD
The format of the bootable DVD and CD 1 of Solaris 10 U6 sparc has changed from previous Solaris 10 update's sparc media, it now seems to be more like the x86 format, can anyone provide the new/specific mkisofs command to use to recreate (modified version) a sparc bootable ISO image file of these from their "unloaded" directory paths, I'm guessing the mkisofs command is going to be similiar what's used for recreating Solaris 10 x86 DVD and CD1.
Alan,
Thanks for info, when I try this mkisofs command to recreate the Sol 10 U6 CD 1 ISO image I end up 16 KB short of the original downloaded ISO size of Sol 10 U6 CD 1, the generated ISO image when burn to CD doesn't boot, I tried using both mkisofs version that comes with Sol 10 U6 & version *2.01.01a53*, here's the test I did:
mount Sol 10 U6 CD 1 as /mnt (CD 1 burned from downloaded ISO from Sun that is *512904 KB* in size)
mkisofs -G /mnt/boot/hsfs.bootblock -B ... -l -ldots -R -N -D -V SOL_10_1008_SPARC -o test.iso /mnt
Genereated ISO image file test.iso is *512888 KB* in size and doesn't boot when burned to CD with error messages:
Can't read disk label.
Can't open disk label package
ERROR: boot-read fail
Any ideas?
--Scott -
Can't create system image in windows 7
I am in Backup and Recovery and I am trying to create recovery disks for my new Pavilion 500t-205t. I see create ISO image. When I click on that it starts a swirling circle and nothing happens. I want to put my recovery disks on DVD and does not come back and give me that option. What is going on?
Also, when I try and register my product it tells me to try later. Is Product Registrations down?Your computer might have one or two options for creating recovery media. Use the option that works best for you. See this:
http://support.hp.com/us-en/document/c01867124
May I suggest you use Macrium Reflect Free to create an exact hard disk image to an external hard drive. It creates an exact copy of your OS, programs and date to restore your computer in the event of a disaster. I personally make one once a week and has saved me me a lot of headaches when I had problems. Don't forget to create the rescue disk from within the program.
http://www.macrium.com/reflectfree.aspx
Do not download the trial version and select custom install to avoid having crapware.
Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations. -
iMac (27-inch, Mid 2011) 2.7 GHz Intel Core i5 4 GB 1333 MHz DDR3 running10.10.2 (14C1514). Trying to install Windows 7 64 bit from an install disc. When attempting to create an ISO image I can save the file in disk utility but can convert cdr to iso. I select the file and the hit return as in step 8 of the Creating an
iSO image document but the box that should open to select use iso does not open. How should I proceed?The Mac SuperDrive built into your Mac is the Optical drive.
1. Insert your Windows DVD in Optical drive. Disconnect any external storage.
2. Insert a USB2 Flash drive. This will be used to hold the BC drivers.
3. Start BCA. Check the options to download software and Install Windows. You do not need to download Windows. The BCA will download the BC drivers to the USB.
4. Partition your drive.
5. You can see the Windows installer screens at https://help.apple.com/bootcamp/mac/5.0/help/#/bcmp173b3bf2. -
In the bootcamp installation it asks me to create a bootable USB drive for Windows Installation. To do so, I must choose an ISO image. What is that? When I click "choose" I don't understand the options presented. Is this the destination of the partition or where Windows will reside on the Mac? Why does it also indicate the the destination disk si my WD Passport Back up drive?
OK, so I have an apple superdrive hooked up to my mini (along with my Passport back up drive). I also have the discs for both 64bit and 32bit Windows along with the product key. I am still not sure what to do when faced with the options after "choose".
-
How to create a USB recovery flash drive using recovery ISO image?
This “HowTo” provides information and instruction how to create a USB recovery media flash drive using the Toshiba recovery ISO image files or Toshiba Recovery discs (DVDs)
To create a USB recovery media flash drive, a USB flash drive with at least 16GB disk space is suggested (depends on the size of the ISO images or recovery discs).
Note: Since 2015 the ISO layout has changed and a different procedure must be processed to create the USB media. The new recovery media type can be identified by the names of the ISO files.
More info: http://aps2.toshiba-tro.de/kb0/HTD4103KB0000R01.htmYes, that article should apply to tablets.
But if your USB recovery drive does not get recognized then it must be corrupted - you should be able to format your disk and perhaps try to see if creating a Recovery device on other devices will make it recognizable on your tablet 2. -
How to create an ISO Image file
Hi guys,
I was hired to create a system for a company and as an optional feature they would like the application to have an ISO Image maker. Meaning that the application will be able to get some files and package as an ISO so this can be burned directly to CD. Well, my problem so far is that I haven't found anything about this topic. Has anyone tried to do that? Or where can I find the specifications for the ISO image file so I can atleast try and implement it. Any help would be largely appreciated!!!! It's surprising that Sun doesn't have a class for that...unless I'm wrong and there is such a thing!!! Thanks in advance.An ISO file consists mostly of binary data - so if it does not make sense to you then I hope that means you do understand the language that I'm talking with here =P
API in C++ for softwares like Nero and for a task like CD image creation is not surprising at all - I bet that the CDEverywhere only uses Java for creating the UI (User Interface). You can easily use the Nero API in 2 ways:
1) Use System.exec(cmd) to call some command line utilities to perform the image creation task.
2) Write some connecting codes in C++ to utilise the Nero API such that you may link those up with Java via JNI (Java Native Interface)
Last but not the least - the reason why many of us thinks that Java is not the right tool for CD creation is because the language is designed for platform-independence. But with the current hardware and software abstraction layers to access these removable storage data it would be rather challenging not implement a set of Java API that would work on most platforms.
I hope I do sound convincing here~ -
How does one Create Bootable DVD from downloaded iso image in Windows?
I have a completely empty system I want to load Solaris Express on. I have access to web on a Windows XP machine and have downloaded the Solaris iso image. Using WindowsXP facilities simply copies the iso image as an intact iso image file and resulting disc is not bootable. Windows knowledge base very conveniently says that what happened to me is what happens. No obvious referral to how to do it....
A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?
B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug it in and boot. Has this been done?
C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set > of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?http://www.sun.com/software/solaris/download_instruction.xml
You probably copied the .iso file as one single very large file onto media. Instead, you can use a utility such as Roxio DVD Creator or Nero (or freeware like cdrecord) , and select the option to burn an image that already exists. No special boot options are needed, because the ISO image already contains the boot information needed.
B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug > it in and boot. Has this been done?With the Newboot project introduced into Solaris Express, I believe it is now possible. I'm not a USB expert, though, so cannot say for sure.
C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)I can't comment on that.
-- Alan -
Creating CD's from downloaded ISO images
Hi
I've downloaded the 3 ISO images for Solaris 8 2/04 (for sparc). I've unzipped the install file & tried to burn it using Nero6. Only 146KB is used on the CD..Can some-1 tell me what I'm doing wrong?If you are referring to the first installation-CD, this is just actually
equivalent to boot-floopy disk to boot the PC and configure it.
The succeeding CDs contain the actual OS installation and they
should be euqivalent to the size of a 700MB cdrom more or less. -
[Solved] how do i build my ISO image with archiso?
hi all
i've been following this wiki and it's been going really well (it hasn't gone wrong...). but the wiki page just sort of stops halfway through the configuration bit
a google search brought me to this page which suggests using the "build.sh" script located in my chroot environment's /tmp/releng/ directory.
running this script returns the error "build.sh: line 207: syntax error near unexpected token '('
line 207 of the file reads:
paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
i don't really know much about scripts so i can't see what's wrong
any advice?
sorry if i've missed a wiki or something n00bish like that. also i'm aware that someone who doesn't know what they're doing shouldn't be attempting archiso but i thought it would be a fun learning experience
here's the full build.sh in case it is helpful:
#!/bin/bash
set -e -u
iso_name=archlinux
iso_label="ARCH_$(date +%Y%m)"
iso_version=$(date +%Y.%m.%d)
install_dir=arch
arch=$(uname -m)
work_dir=work
out_dir=out
verbose=""
script_path=$(readlink -f ${0%/*})
# Base installation (root-image)
make_basefs() {
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "base" create
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "memtest86+ syslinux mkinitcpio-nfs-utils nbd curl" create
# Additional packages (root-image)
make_packages() {
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "$(grep -v ^# ${script_path}/packages.${arch})" create
# Copy mkinitcpio archiso hooks (root-image)
make_setup_mkinitcpio() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
local _hook
for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
cp /lib/initcpio/hooks/${_hook} ${work_dir}/root-image/lib/initcpio/hooks
cp /lib/initcpio/install/${_hook} ${work_dir}/root-image/lib/initcpio/install
done
cp /lib/initcpio/install/archiso_kms ${work_dir}/root-image/lib/initcpio/install
cp /lib/initcpio/archiso_shutdown ${work_dir}/root-image/lib/initcpio
cp /lib/initcpio/archiso_pxe_nbd ${work_dir}/root-image/lib/initcpio
cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
: > ${work_dir}/build.${FUNCNAME}
fi
# Prepare ${install_dir}/boot/
make_boot() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
local _src=${work_dir}/root-image
local _dst_boot=${work_dir}/iso/${install_dir}/boot
mkdir -p ${_dst_boot}/${arch}
mkarchroot -n -r "mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img" ${_src}
mv ${_src}/boot/archiso.img ${_dst_boot}/${arch}/archiso.img
mv ${_src}/boot/vmlinuz-linux ${_dst_boot}/${arch}/vmlinuz
cp ${_src}/boot/memtest86+/memtest.bin ${_dst_boot}/memtest
cp ${_src}/usr/share/licenses/common/GPL2/license.txt ${_dst_boot}/memtest.COPYING
: > ${work_dir}/build.${FUNCNAME}
fi
# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
local _src_syslinux=${work_dir}/root-image/usr/lib/syslinux
local _dst_syslinux=${work_dir}/iso/${install_dir}/boot/syslinux
mkdir -p ${_dst_syslinux}
for _cfg in ${script_path}/syslinux/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" ${_cfg} > ${_dst_syslinux}/${_cfg##*/}
done
cp ${script_path}/syslinux/splash.png ${_dst_syslinux}
cp ${_src_syslinux}/*.c32 ${_dst_syslinux}
cp ${_src_syslinux}/*.com ${_dst_syslinux}
cp ${_src_syslinux}/*.0 ${_dst_syslinux}
cp ${_src_syslinux}/memdisk ${_dst_syslinux}
mkdir -p ${_dst_syslinux}/hdt
wget -O - http://pciids.sourceforge.net/v2.2/pci.ids | gzip -9 > ${_dst_syslinux}/hdt/pciids.gz
cat ${work_dir}/root-image/lib/modules/*-ARCH/modules.alias | gzip -9 > ${_dst_syslinux}/hdt/modalias.gz
: > ${work_dir}/build.${FUNCNAME}
fi
# Prepare /isolinux
make_isolinux() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
mkdir -p ${work_dir}/iso/isolinux
sed "s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/isolinux/isolinux.cfg > ${work_dir}/iso/isolinux/isolinux.cfg
cp ${work_dir}/root-image/usr/lib/syslinux/isolinux.bin ${work_dir}/iso/isolinux/
cp ${work_dir}/root-image/usr/lib/syslinux/isohdpfx.bin ${work_dir}/iso/isolinux/
: > ${work_dir}/build.${FUNCNAME}
fi
# Customize installation (root-image)
# NOTE: mkarchroot should not be executed after this function is executed, otherwise will overwrites some custom files.
make_customize_root_image() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
cp -af ${script_path}/root-image ${work_dir}
chmod 750 ${work_dir}/root-image/etc/sudoers.d
chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
mkdir -p ${work_dir}/root-image/etc/pacman.d
wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
chroot ${work_dir}/root-image /usr/sbin/locale-gen
chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch
: > ${work_dir}/build.${FUNCNAME}
fi
# Split out /lib/modules from root-image (makes more "dual-iso" friendly)
make_lib_modules() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
mv ${work_dir}/root-image/lib/modules ${work_dir}/lib-modules
: > ${work_dir}/build.${FUNCNAME}
fi
# Split out /usr/share from root-image (makes more "dual-iso" friendly)
make_usr_share() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
mv ${work_dir}/root-image/usr/share ${work_dir}/usr-share
: > ${work_dir}/build.${FUNCNAME}
fi
# Make [core] repository, keep "any" pkgs in a separate fs (makes more "dual-iso" friendly)
make_core_repo() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
local _url _urls _pkg_name _cached_pkg _dst _pkgs
mkdir -p ${work_dir}/repo-core-any
mkdir -p ${work_dir}/repo-core-${arch}
pacman -Sy
_pkgs=$(comm -2 -3 <(pacman -Sql core | sort | sed 's@^@core/@') \
<(grep -v ^# ${script_path}/core.exclude.${arch} | sort | sed 's@^@core/@'))
_urls=$(pacman -Sddp ${_pkgs})
pacman -Swdd --noprogressbar --noconfirm ${_pkgs}
for _url in ${_urls}; do
_pkg_name=${_url##*/}
_cached_pkg=/var/cache/pacman/pkg/${_pkg_name}
_dst=${work_dir}/repo-core-${arch}/${_pkg_name}
cp ${_cached_pkg} ${_dst}
repo-add -q ${work_dir}/repo-core-${arch}/core.db.tar.gz ${_dst}
if [[ ${_pkg_name} == *any.pkg.tar* ]]; then
mv ${_dst} ${work_dir}/repo-core-any/${_pkg_name}
ln -sf ../any/${_pkg_name} ${_dst}
fi
done
: > ${work_dir}/build.${FUNCNAME}
fi
# Process aitab
# args: $1 (core | netinstall)
make_aitab() {
local _iso_type=${1}
if [[ ! -e ${work_dir}/build.${FUNCNAME}_${_iso_type} ]]; then
sed "s|%ARCH%|${arch}|g" ${script_path}/aitab.${_iso_type} > ${work_dir}/iso/${install_dir}/aitab
: > ${work_dir}/build.${FUNCNAME}_${_iso_type}
fi
# Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
make_prepare() {
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
# Build ISO
# args: $1 (core | netinstall)
make_iso() {
local _iso_type=${1}
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-${arch}.iso"
# Build dual-iso images from ${work_dir}/i686/iso and ${work_dir}/x86_64/iso
# args: $1 (core | netinstall)
make_dual() {
local _iso_type=${1}
if [[ ! -e ${work_dir}/dual/build.${FUNCNAME}_${_iso_type} ]]; then
if [[ ! -d ${work_dir}/i686/iso || ! -d ${work_dir}/x86_64/iso ]]; then
echo "ERROR: i686 or x86_64 builds does not exist."
_usage 1
fi
local _src_one _src_two _cfg
if [[ ${arch} == "i686" ]]; then
_src_one=${work_dir}/i686/iso
_src_two=${work_dir}/x86_64/iso
else
_src_one=${work_dir}/x86_64/iso
_src_two=${work_dir}/i686/iso
fi
mkdir -p ${work_dir}/dual/iso
cp -a -l -f ${_src_one} ${work_dir}/dual
cp -a -l -n ${_src_two} ${work_dir}/dual
rm -f ${work_dir}/dual/iso/${install_dir}/aitab
rm -f ${work_dir}/dual/iso/${install_dir}/boot/syslinux/*.cfg
if [[ ${_iso_type} == "core" ]]; then
if [[ ! -e ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs ||
! -e ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs ||
! -e ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs ]]; then
echo "ERROR: core_iso_single build is not found."
_usage 1
fi
else
rm -f ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs
rm -f ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs
rm -f ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs
fi
paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
<(sed "s|%ARCH%|x86_64|g" ${script_path}/aitab.${_iso_type}) | uniq > ${work_dir}/dual/iso/${install_dir}/aitab
for _cfg in ${script_path}/syslinux.dual/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" ${_cfg} > ${work_dir}/dual/iso/${install_dir}/boot/syslinux/${_cfg##*/}
done
mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" checksum
mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-dual.iso"
: > ${work_dir}/dual/build.${FUNCNAME}_${_iso_type}
fi
purge_single ()
if [[ -d ${work_dir} ]]; then
find ${work_dir} -mindepth 1 -maxdepth 1 \
! -path ${work_dir}/iso -prune \
| xargs rm -rf
fi
purge_dual ()
if [[ -d ${work_dir}/dual ]]; then
find ${work_dir}/dual -mindepth 1 -maxdepth 1 \
! -path ${work_dir}/dual/iso -prune \
| xargs rm -rf
fi
clean_single ()
rm -rf ${work_dir}
rm -f ${out_dir}/${iso_name}-${iso_version}-*-${arch}.iso
clean_dual ()
rm -rf ${work_dir}/dual
rm -f ${out_dir}/${iso_name}-${iso_version}-*-dual.iso
make_common_single() {
make_basefs
make_packages
make_setup_mkinitcpio
make_boot
make_syslinux
make_isolinux
make_customize_root_image
make_lib_modules
make_usr_share
make_aitab $1
make_prepare $1
make_iso $1
_usage ()
echo "usage ${0} [options] command <command options>"
echo
echo " General options:"
echo " -N <iso_name> Set an iso filename (prefix)"
echo " Default: ${iso_name}"
echo " -V <iso_version> Set an iso version (in filename)"
echo " Default: ${iso_version}"
echo " -L <iso_label> Set an iso label (disk label)"
echo " Default: ${iso_label}"
echo " -D <install_dir> Set an install_dir (directory inside iso)"
echo " Default: ${install_dir}"
echo " -w <work_dir> Set the working directory"
echo " Default: ${work_dir}"
echo " -o <out_dir> Set the output directory"
echo " Default: ${out_dir}"
echo " -v Enable verbose output"
echo " -h This help message"
echo
echo " Commands:"
echo " build <mode> <type>"
echo " Build selected .iso by <mode> and <type>"
echo " purge <mode>"
echo " Clean working directory except iso/ directory of build <mode>"
echo " clean <mode>"
echo " Clean working directory and .iso file in output directory of build <mode>"
echo
echo " Command options:"
echo " <mode> Valid values 'single' or 'dual'"
echo " <type> Valid values 'netinstall', 'core' or 'all'"
exit ${1}
if [[ ${EUID} -ne 0 ]]; then
echo "This script must be run as root."
_usage 1
fi
while getopts 'N:V:L:D:w:o:vh' arg; do
case "${arg}" in
N) iso_name="${OPTARG}" ;;
V) iso_version="${OPTARG}" ;;
L) iso_label="${OPTARG}" ;;
D) install_dir="${OPTARG}" ;;
w) work_dir="${OPTARG}" ;;
o) out_dir="${OPTARG}" ;;
v) verbose="-v" ;;
h|?) _usage 0 ;;
_msg_error "Invalid argument '${arg}'" 0
_usage 1
esac
done
shift $((OPTIND - 1))
if [[ $# -lt 1 ]]; then
echo "No command specified"
_usage 1
fi
command_name="${1}"
if [[ $# -lt 2 ]]; then
echo "No command mode specified"
_usage 1
fi
command_mode="${2}"
if [[ ${command_name} == "build" ]]; then
if [[ $# -lt 3 ]]; then
echo "No build type specified"
_usage 1
fi
command_type="${3}"
fi
if [[ ${command_mode} == "single" ]]; then
work_dir=${work_dir}/${arch}
fi
case "${command_name}" in
build)
case "${command_mode}" in
single)
case "${command_type}" in
netinstall)
make_common_single netinstall
core)
make_core_repo
make_common_single core
all)
make_common_single netinstall
make_core_repo
make_common_single core
echo "Invalid build type '${command_type}'"
_usage 1
esac
dual)
case "${command_type}" in
netinstall)
make_dual netinstall
core)
make_dual core
all)
make_dual netinstall
make_dual core
echo "Invalid build type '${command_type}'"
_usage 1
esac
echo "Invalid build mode '${command_mode}'"
_usage 1
esac
purge)
case "${command_mode}" in
single)
purge_single
dual)
purge_dual
echo "Invalid purge mode '${command_mode}'"
_usage 1
esac
clean)
case "${command_mode}" in
single)
clean_single
dual)
clean_dual
echo "Invalid clean mode '${command_mode}'"
_usage 1
esac
echo "Invalid command name '${command_name}'"
_usage 1
esac
Last edited by gav989 (2012-02-12 10:59:11)thanks for that, according to this it should be run like
/path/to/build.sh build single netinstall
from inside the chroot
posting this for my own reference and in case it helps others, will mark as solved
thanks again for your help
Last edited by gav989 (2012-02-12 10:58:04) -
Hi! Hoping someone might be able to help with an odd problem. I haven't found anything in the forums or the web that match my symptoms.
I've been using Encore CS6 (v6.0.1.013) on a MacBook retina over the past year to successfully create a number of single sided DVDs with menus, chapters, and all that. I usually make a copy of a previous DVD project, and then replace video assets with the new files and transcodes, move and rename chapter markers, and rework the menus in Photoshop. I then will build ISO images for both DVD and Blu-Ray (both single-sided), and use those to burn many copies of each DVD for clients.
This week, while developing one of these projects, when trying to build a DVD ISO image that looked like it would fit on a 4.7 GB DVD, I received the "layer break" message ("The chosen layer break does not satisfy dual layer requirements. To fix this, either set a new layer break manually, or choose to set layer break automatically.") because (I'm guessing) the material was too long for the 4.7 GB DVD (the Build screen now shows about 5GB of material are in the project). This is the first time I've seen that message - usually Encore just tells me the material is too big for the DVD.
I re-transcoded the material down to well under 4.7 GB (about 3.9 GB), reverted and replaced the transcoded files, and now the DVD build screen shows that there are about 700MB free on a 4.7 GB DVD. But I still have not been able to build any version of the DVD (image, folder, disc), without getting the "layer break" message. I also now get this same layer break message when trying to "Preview from Here" any menu, killing my ability to preview the DVD menus in Encore.
Just to see what would happen, I chose an 8.4GB Dual Layer DVD, and chose "manual" instead of "automatic" for the layer break selection, but never got the layer break selection dialog box, just the "layer break" error message.
I typically build both DVD and Blu-Ray images from the same material in the same project. I use different transcoding settings for each, and I have been able to build a Blu-Ray ISO without this "layer break" error on the Blu-Ray build (which is about 24.5GB when built). And as I mentioned before, this is the first project on which I've even seen this layer break message.
Any suggestions would be greatly appreciated! I'd rather not recreate the project from scratch, but I'm worried that I may have to.
Thanks
JonThe total project being small enough may mean you have one layer that is too big. Both layers have to be smaller than half the disk, right?
Be sure you "run as administrator" for dual layer projects.
Encore may set the layer break correctly if it finds a good place, but there are numerous complaints about it being unreliable.
Build to a folder (no layer break is set), then use ImgBurn to build and ask to be prompted for layer break. ImgBurn is also unreliable under some circumstances.
The most frequent problems appear to be when there is no good location for a break. Do a search for "layer break imgburn" and you will see a variety of strategies.
http://forum.imgburn.com/index.php?/topic/1777-how-to-create-a-double-layer-dvd-video-imag e-file-using-imgburn/
Also see these posts:
Neil Wilkes
http://forums.adobe.com/message/3466255#3466255
Neil Wilkes
http://forums.adobe.com/message/4054265#4054265
Neil Wilkes
http://forums.adobe.com/message/4054269#4054269
Jon Geddes
http://forums.adobe.com/message/4002647#4002647
shuchi shrivastava
http://forums.adobe.com/message/3905911#3905911
Jon Geddes and Neil Wilkes
http://forums.adobe.com/message/4003221#4003221 -
Windows 8.1, BootCamp does not find the ISO image.
When I try to install Windows 8.1, BootCamp does not find the ISO image.
I purchased Windows 8.1 Pro, I downloaded the .exe requested file from a Windows computer, performed the steps recommended by Microsoft in order to create the ISO file saving it on a flash drive as well and, as a precaution, on a DVD too.
I performed the "Download the latest Windows Support Software from Apple" step directly into another flash drive and having it completed BootCamp displays the following message:
"The installer disc could not be found – Insert the Windows installer disc and wait a few seconds for the disc to be recognized. "
So happens that I have tried this using the DVD, pendrive and also copying the ISO file to the desktop and to the "Documents" folder as recommended in certain websites, but none of this has made the process go ahead. What can I do?
My equipment is a mid 2011 iMac running Mac OSX 10.10.1.Dear Loner T,
thanks to my coworker, the solution was unpacking from that ISO file which I had recorded (according to the steps indicated by Microsoft), but now using Nero software (Windows) and then recording by the most common way in a new DVD. See the screen of the first DVD before unpacking:
This true saga only demonstrated that the generated ISO file as an option at the time of the Windows installation, is not for direct installation through BootCamp, and as a I could check, even for direct installation on a Windows PC. See the last DVD burned using Nero and again recorded:
The execution of BootCamp, was perfect
Thank you for attention to my problem! -
Is it possible to upgrade a G4 Xserve with an ISO image of a Leopard DVD?
I have a G4 Xserve (tray load) with only a CD drive. Leopard is on DVD only. I created an ISO image of the Leopard DVD but it will not work. Not sure why. I copied it to the Hard Drive of the Xserve and also tried it from an external drive (not booted from that drive however).
Any suggestions? Was trying to avoid booting into target disk mode. I only have an Intel laptop and not sure this would work anyway either.
All assistance is appreciated.
LisaDid not work for me. Tried copying it directly to Xserve desktop, to a partitioned drive, to an external firewire drive. Nothing.
Sharing out the laptop DVD drive and booting to target mode did work, however. Very very VERY slow, like over 3 hours slow, but it worked.
All up and running now.
thanks again,
Lisa
Maybe you are looking for
-
Greetings. The laptop G6-2102 EV has a "Multi-format digital media card reader". What do I need to get/buy to read a micro sd for exaple? Some sort of adapter accessory? This question was solved. View Solution.
-
Nightly SDK and Flash Builder Beta
I am using Flash Builder Beta and have tried different nightly builds (ie. 4.0.0.9437, 4.0.0.9417, 4.0.0.9188) and have the same issue - when going into Design View I receive several warnings: Design View could not load fiber_rb.swc. It may be incomp
-
Calendar sync MB Pro and two iPhones?
I am using Calendar on my MB Pro and on two iPhones. When I add appointments in any device, including the MB Pro, they disappear. How do I set up both phones and my MB Pro to sync appointments properly?
-
Transfer of photos from Ipod to PC
I have transfered photos from my digital camera to the Ipod. Is it now possible to tranfer these photos from the Ipod to my PC. Can't see my photos on iTunes, just my music.
-
Windows 7 Error Creating Image
I tried to create an image of my computer and save it to a 1TB external hard drive. It is a brand new external hard drive, and the only other thing on it is a backup of the files on my computer. The process almost finishes, but then an error appear