LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2015, 07:09 PM   #1
azeichne
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
How to convert iso file to burn to USB (don't even know how to mount)


I'm a total total noob who is trying to download Linux Mint on a Mac OS X using a USB drive. I know there is some way to go into terminal and convert the iso file but I don't know how.

Here's the things I have tried so far: 1. sudo dd bs=4M if=[linuxmint-17.1-cinnamon-64bit.iso] of=/dev/disk2s1 (result: dd: bs: illegal numeric value)

~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img ~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.iso -bash: /Users/[my name]/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img (result: No such file or directory)
Maybe for #1 the "/dev/disk2s1" part is wrong? How do I find the number for the USB that goes after "dev/sd"? (I can only find "dev/disk2s1").

I have also tried to just mount/unmount the USB and drag the iso file into source/destination, to no avail.

Thanks so much!
 
Old 05-03-2015, 07:12 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by azeichne View Post
How do I find the number for the USB that goes after "dev/sd"?
Plug the stick in then run:
Code:
dmesg|tail
Note that you should only use the drive letter, do not add the partition number (ie, use "/dev/sdb" rather than "/dev/sdb1").

You can also use `lsblk` to list all attached storage devices and their sizes.
 
Old 05-03-2015, 07:45 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
The OP is using a Mac.

The following command should work assuming your current working directory contains the iso file.
You want to write to the device versus a partition.

dd if=file.iso of=/dev/disk2

You can verify the correct device via the diskutil command:
diskutil list

Note: dd is unforgiving. Use the wrong device and you could leave your computer unbootable.
 
1 members found this post helpful.
Old 05-03-2015, 08:53 PM   #4
azeichne
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Here's my latest problem--

I ended up plugging in this code:

Code:
sudo dd bs=4000000 if=linuxmint-17.1-cinnamon-64bit.iso of=/dev/disk2
I get the message :"The disk you inserted was not readable by this computer." I have an option to initialize? Is there something I am able to do with this?

Last edited by azeichne; 05-03-2015 at 09:00 PM.
 
Old 05-03-2015, 08:58 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Did the dd command complete i.e. did you see the next command line prompt?
 
Old 05-03-2015, 09:03 PM   #6
azeichne
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Did the dd command complete i.e. did you see the next command line prompt?
This is the only thing I got after:
387+1 records in
387+1 records out
1549615104 bytes transferred in 1387.397467 secs (1116922 bytes/sec)


Should I just try to do the same thing again?
 
Old 05-03-2015, 09:08 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Are you trying to run the USB drive from a Mac or Windows PC?
 
Old 05-03-2015, 09:16 PM   #8
azeichne
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Are you trying to run the USB drive from a Mac or Windows PC?

I'm trying to run it from a Mac.
 
Old 05-03-2015, 09:29 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
My fault for not asking the right questions. It is a bit more complicated and something I have not had done but here are a couple of guides. This will allow you to run linux from a USB drive on your Mac but you still can not install to the hard drive if that is your goal.

http://www.makeuseof.com/tag/how-to-...k-on-your-mac/
https://astrofloyd.wordpress.com/201...ve-on-macbook/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert bootable USB .img file to bootable CD .iso file Chris.Bristol Linux - Software 7 01-12-2013 01:00 PM
How to burn the iso into my USB Knight Templar Linux - General 10 08-14-2007 07:14 PM
Can i/How can i burn an ISO file? hkl8324 Linux - General 4 06-20-2005 10:15 PM
How to burn an iso-file? HULLU Linux - General 1 12-17-2004 09:08 PM
How do you burn iso files to usb cd-rw drive ??? pleasehelpme Linux - Newbie 0 12-20-2003 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration