Slightly OT : Write Bootable CentOS USB Disk Under Windows 10 And Mac OS X ?
Hi,
I’m currently writing my fourth book about Linux, for the french editor Eyrolles. The book will cover Linux server basics for pros, and it will be based on CentOS 7.
I have a quick question to those of you who use either Windows 10 or Mac OS X as their everyday desktop system.
How do you write a bootable CentOS USB disk using either Windows 10 or Mac OS X ?
I’ve googled this, of course, and there’s quite a lot of possible solutions out there, so I’m curious about a more or less *orthodox* way of doing things.
Me, I’ve been 100 % GNU/Linux since 2001, CentOS is running on my workstation and on my laptop, and I’m simply writing the ISO file to a USB stick using dd if=CentOS-XXXX.iso of=/dev/sdX.
Thanks & cheers,
Niki
—
Microlinux – Solutions informatiques durables
7, place de l’église – 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : info@microlinux.fr Tél. : 04 66 63 10 32
3 thoughts on - Slightly OT : Write Bootable CentOS USB Disk Under Windows 10 And Mac OS X ?
I tend to do the analogous thing on the mac, except for converting the image first:
https://www.lewan.com/blog/2012/02/10/making-a-bootable-usb-stick-on-an-apple-mac-os-x-from-an-iso
On Thu, Jun 7, 2018 at 10:39 AM, Nicolas Kovacs wrote For macOS you can use dd as well, but you should use the raw device instead of the buffered one. So, if your drive is set as disk2 (checked by running
‘diskutil list’) instead of /dev/disk2 you would use /dev/rdisk2 as a target. Also not that the units used by the bs flag are specified slightly differently, as lower case characters, ie. bs=1m instead of bs=1M
On Thu, Jun 7, 2018 at 10:44 AM, Noam Bernstein