Nicolas Kovacs
2018-Jun-07 15:39 UTC
[CentOS] 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 at microlinux.fr T?l. : 04 66 63 10 32
Noam Bernstein
2018-Jun-07 15:44 UTC
[CentOS] Slightly OT : write bootable CentOS USB disk under Windows 10 and Mac OS X ?
> On Jun 7, 2018, at 11:39 AM, Nicolas Kovacs <info at microlinux.fr> wrote: > > Hi, > 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.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
Jon Pruente
2018-Jun-07 15:46 UTC
[CentOS] Slightly OT : write bootable CentOS USB disk under Windows 10 and Mac OS X ?
On Thu, Jun 7, 2018 at 10:39 AM, Nicolas Kovacs <info at microlinux.fr> wrote> > 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. >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
Jon Pruente
2018-Jun-07 15:48 UTC
[CentOS] Slightly OT : write bootable CentOS USB disk under Windows 10 and Mac OS X ?
On Thu, Jun 7, 2018 at 10:44 AM, Noam Bernstein <noam.bernstein at nrl.navy.mil> wrote:> 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-isoIf you are using dd then there is no reason to convert the file.