Hello, Hopefully you can add this to debian.org/CD/faq/#write-usb <
http://debian.org/CD/faq/#write-usb> page to help other users on Mac OSX write an image to a flash drive.
Below is the addition proposal to the webpage
Mac OSX Note: Prior to issuing cp or dd commands to a device, you must unmount partitions on the drive to avoid Permissions and Resource Busy busy errors from the system.
diskutil umount /dev/disk<disk number>s*
<disk number> is the device number matching the USB FLASH Drive
Below is the section of the webpage
How do I write a CD/DVD/BD image to a USB flash drive? <>
Several of the Debian and Debian Live images, notably all i386, amd64 and arm64 images, are created using the isohybrid technology, which means that they may be used in two different ways:
They may be written to CD/DVD/BD and used as normal for CD/DVD/BD booting.
They may be written to USB flash drives, bootable directly from the BIOS / EFI firmware of most PCs.
On a Linux machine, simply use the cp command, to copy an image to a USB flash drive:
cp <file> <device>
Alternatively you can also use dd:
dd if=<file> of=<device> bs=4M; sync
where:
<file> is the name of the input image, e.g. netinst.iso
<device> is the device matching the USB flash drive, e.g. /dev/sda, /dev/sdb. Be careful to make sure you have the right device name, as this command is capable of writing over your hard disk just as easily if you get the wrong one!
bs=4M tells dd to read/write in 4 megabyte chunks for better performance; the default is 512 bytes, which will be much slower
The sync is to make sure that all the writes are flushed out before the command returns.
Thank you,
Jason March -
jason@tributecps.com
Tribute CPS
818.927.1284
THIS EMAIL AND ANY FILES TRANSMITTED WITH IT ARE CONFIDENTIAL AND ARE INTENDED SOLELY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHOM THEY ARE ADDRESSED.
This document may contain information covered under the Privacy Act, 5 USC 552(a), and/or the Health Insurance Portability and Accountability Act (PL 104-191) and its various implementing regulations and must be protected in accordance with those
provisions. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of
this email is strictly prohibited.
If you have received this email in error, please return immediately to the sender and delete this copy from your system. Thank you
<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello, Hopefully you can add this to <a href="
http://
debian.org/CD/faq/#write-usb" class="">debian.org/CD/faq/#write-usb</a> page to help other users on Mac OSX write an image to a flash drive.<div class=""><br class=""></div><div class=""><u class="">Below is the addition proposal to the webpage</u></
<div class=""><br class=""></div><div class=""><b class="">Mac OSX Note:</b> Prior to issuing cp or dd commands to a device, you must unmount partitions on the drive to avoid Permissions and Resource Busy busy errors from the system.</div><div
class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="background-color: rgb(255, 255, 255);" class="">diskutil umount /dev/disk<disk
number>s* </span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div style="
margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><ul class="MailOutline"><li class=""><span style="background-color: rgb(255, 255, 255);" class=""><disk number> is the device number matching
the USB FLASH Drive </span></li></ul></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><
div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-
size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><u class="">Below is the section of the webpage</u></div><div class=""><br class=""></div>
<div class=""><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(
255, 255, 255); text-decoration-thickness: initial;" class=""><strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class=""><a name="write-usb" id="write-usb" style="
margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline;" class="">How do I write a CD/DVD/BD image to a USB flash drive?</a></strong></p><p style="margin: 1.5em 0px;
padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness:
initial;" class="">Several of the Debian and Debian Live images, notably all i386, amd64 and arm64 images, are created using the <i class="">isohybrid</i> technology, which means that they may be used in two different ways:</p><ul style="margin:
1.5em 0px; padding: 0px 0px 0px 1.5em; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgb(34, 34, 34); font-variant-ligatures: normal;
orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class=""><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class="">
They may be written to CD/DVD/BD and used as normal for CD/DVD/BD booting.</li><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class="">They may be written to USB
flash drives, bootable directly from the BIOS / EFI firmware of most PCs.</li></ul><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-
variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class="">On a Linux machine, simply use the <q style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style:
italic; font-family: inherit; vertical-align: baseline; quotes: "" "";" class="">cp</q> command, to copy an image to a USB flash drive:</p><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px;
font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class=""><code style="margin: 0px; padding: 0px;
border: 0px; outline: 0px; font-style: inherit; font-size: 13px; vertical-align: baseline; color: black;" class="">cp <file> <device></code></p><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family:
sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class="">Alternatively you can also use <q style="margin:
0px; padding: 0px; border: 0px; outline: 0px; font-style: italic; font-family: inherit; vertical-align: baseline; quotes: "" "";" class="">dd</q>:</p><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-size:
16px; font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class=""><code style="margin: 0px; padding:
0px; border: 0px; outline: 0px; font-style: inherit; font-size: 13px; vertical-align: baseline; color: black;" class="">dd if=<file> of=<device> bs=4M; sync</code></p><p style="margin: 1.5em 0px; padding: 0px; border: 0px; outline: 0px; font-
size: 16px; font-family: sans-serif; vertical-align: baseline; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class="">where:</p><ul style="margin:
1.5em 0px; padding: 0px 0px 0px 1.5em; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgb(34, 34, 34); font-variant-ligatures: normal; orphans:
2; widows: 2; background-color: rgb(255, 255, 255); text-decoration-thickness: initial;" class=""><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class=""><file>
is the name of the input image, e.g. <q style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: italic; font-family: inherit; vertical-align: baseline; quotes: "" "";" class="">netinst.iso</q></li><li style="
margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class=""><device> is the device matching the USB flash drive, e.g. /dev/sda, /dev/sdb. <span style="margin: 0px;
padding: 0px; border: 0px; outline: 0px; font-style: italic; font-family: inherit; vertical-align: baseline; color: rgb(68, 68, 68);" class="">Be careful to make sure you have the right device name</span>, as this command is capable of writing over your
hard disk just as easily if you get the wrong one!</li><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class=""><q style="margin: 0px; padding: 0px; border: 0px;
outline: 0px; font-style: italic; font-family: inherit; vertical-align: baseline; quotes: "" "";" class="">bs=4M</q> tells dd to read/write in 4 megabyte chunks for better performance; the default is 512 bytes, which will be much
slower</li><li style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;" class="">The <q style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: italic; font-
family: inherit; vertical-align: baseline; quotes: "" "";" class="">sync</q> is to make sure that all the writes are flushed out before the command returns.</li></ul><div class="">
<meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-
align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break:
after-white-space;" class=""><br class="Apple-interchange-newline"><br class=""></div><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-
weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;
word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you,</div><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-
caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-
decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Jason March - <a href="mailto:
jason@tributecps.com" class="">
jason@tributecps.com</a> </div><div dir="auto" style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows:
auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Tribute CPS</div><div dir="auto" style="caret-color:
rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">818.927.1284</div><div dir="auto"
style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=
"">THIS EMAIL AND ANY FILES TRANSMITTED WITH IT ARE CONFIDENTIAL AND ARE INTENDED SOLELY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHOM THEY ARE ADDRESSED.<br class="">This document may contain information
covered under the Privacy Act, 5 USC 552(a), and/or the Health Insurance Portability and Accountability Act (PL 104-191) and its various implementing regulations and must be protected in accordance with
those provisions. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use,
dissemination, forwarding, printing, or copying of this email is strictly prohibited.<br class="">If you have received this email in error, please return immediately to the sender and delete this copy from your
system. Thank you <br class=""></div>
</div>
<br class=""></div></body></html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)