View previous topic :: View next topic |
Author |
Message |
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Tue Jul 03, 2012 7:11 am Post subject: Create USB boot disk in OSX |
|
|
Hi!
I'm in need of a USB boot disk for my netbook that doesn't boot. The only other computer I have available right now is a MacBook and I've found this guide and looked at the diskutil method. Does this work for the gentoo minimal images as well or is there something I else I have to concider? I want to give it a try as soon as I get administrative rights to run dd on the MacBook.
Any help appreciated! |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Jul 04, 2012 5:37 am Post subject: |
|
|
hrnick ...
OSX comes with 'dd' so it should be fairly staightforward ...
Code: | sudo dd if=install-x86-minimal-20120626.iso of=/dev/diskX bs=1M |
.. where "diskX" is the USB stick.
Possibly a better option of bootdisk is sysrescuecd which is based on gentoo but comes with various tools (such as ddrescue, partimage, etc) and has good support for netbooks.
HTH & best ...
khay |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Wed Jul 04, 2012 8:15 am Post subject: |
|
|
Thanks for your reply! I'll give it a try! |
|
Back to top |
|
|
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Mon Apr 06, 2015 12:38 pm Post subject: make gentoo usb on osx |
|
|
Here are a few more details.
Download the minimal iso
https://www.gentoo.org/downloads/
Open a Terminal (under Utilities)
Run diskutil list to get the current list of devices
Insert your flash media
Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
Quote: |
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *7.7 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Untitled 7.4 GB disk2s2
|
unmount the usb key
Code: | diskutil unmountDisk /dev/disk2 |
write the usb key
Code: | time sudo dd if=./install-amd64-minimal-20160630.iso of=/dev/diskN bs=1m |
Quote: | 262+0 records in
262+0 records out
274726912 bytes transferred in 398.002423 secs (690264 bytes/sec)
real 6m38.953s
user 0m0.005s
sys 0m3.193s
|
Run diskutil eject /dev/diskN and remove your flash media when the command completes
Code: | diskutil eject /dev/diskN
|
Quote: | Disk /dev/diskN ejected |
Based on this article
http://www.webupd8.org/2009/04/4-ways-to-create-bootable-live-usb.html
Cheers, |
|
Back to top |
|
|
|