View Full Version : Help making bootable USB
gravitate
November 25th, 2013, 09:35 PM
I am trying to make a bootable USB with my mac for a windows netbook which I am going to wipe and put ubuntu on. However I am trying to convert the .iso to a .img and keep getting this:
pc3:~ liteaddress$ hdiutil convert -format UDRW -o ~/Users/liteaddress/Downloads/ubuntu-12.04.3-desktop-i386.img ~/Users/liteaddress/Downloads/ubuntu-12.04.3-desktop-i386.iso
hdiutil: convert failed - No such file or directory
pc3:~ liteaddress$
Any ideas please?
sanderj
November 25th, 2013, 09:53 PM
Do it the easy way:
cd ~/Users/liteaddress/Downloads
pwd
ls ubuntu-12.04.3-desktop-i386*
hdiutil convert -format UDRW -o ubuntu-12.04.3-desktop-i386.img ubuntu-12.04.3-desktop-i386.iso
ls ubuntu-12.04.3-desktop-i386*
Post the output here.
PS: I wonder if ~/Users/liteaddress does exist. Don't you mean ~/Downloads? Anyway: change to the directory containing the .iso file.
gravitate
November 25th, 2013, 09:54 PM
hdiutil: convert failed - No such file or directory
pc3:~ liteaddress$ ls ubuntu-12.04.3-desktop-i386*
gravitate
November 25th, 2013, 10:01 PM
sorry it should have been /Users/liteaddress/Downloads I'm a bit lost now
gravitate
November 25th, 2013, 10:04 PM
I go to get info and it says where: /Users/liteaddress/Downloads
Name and extension: ubuntu-12.04.3-desktop-i386.iso
sanderj
November 25th, 2013, 10:09 PM
I'm lost. Did you find ubuntu-12.04.3-desktop-i386.iso ?
If so, do this: go into that directory and type:
ls -al ubuntu-12.04.3-desktop-i386*
and post the output here.
gravitate
November 25th, 2013, 10:10 PM
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386*
ls: ubuntu-12.04.3-desktop-i386*: No such file or directory
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386
ls: ubuntu-12.04.3-desktop-i386: No such file or directory
pc3:~ liteaddress$
sanderj
November 25th, 2013, 10:13 PM
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386*
ls: ubuntu-12.04.3-desktop-i386*: No such file or directory
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386
ls: ubuntu-12.04.3-desktop-i386: No such file or directory
pc3:~ liteaddress$
So ... there you have the problem: first you have to find ubuntu-12.04.3-desktop-i386.iso on your system.
Wait ... you did download it, didn't you?
EDIT: if you need to download, do this
cd
curl -O http://ftp.belnet.be/ubuntu.com/releases/releases/precise/ubuntu-12.04.3-desktop-i386.iso
ls -al ubuntu*
gravitate
November 25th, 2013, 10:19 PM
Yes its in my Downloads folder I right clicked it to 'get info' and thats where I get this info from of the where:/Users/liteaddress/Downloads
And Name and Extension: ubuntu-12.04.3-desktop-i386.iso
sanderj
November 25th, 2013, 10:22 PM
Yes its in my Downloads folder I right clicked it to 'get info' and thats where I get this info from of the where:/Users/liteaddress/Downloads
And Name and Extension: ubuntu-12.04.3-desktop-i386.iso
Then show me with the the "ls -al ubuntu*" command. If you can't, the file is not there.
gravitate
November 25th, 2013, 10:24 PM
I will download it again :)
gravitate
November 25th, 2013, 10:32 PM
will you be around for 10 mins to help please?
ian-weisser
November 25th, 2013, 10:39 PM
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386*
ls: ubuntu-12.04.3-desktop-i386*: No such file or directory
pc3:~ liteaddress$ ls -al ubuntu-12.04.3-desktop-i386
ls: ubuntu-12.04.3-desktop-i386: No such file or directory
pc3:~ liteaddress$
Yes its in my Downloads folder I right clicked it to 'get info' and thats where I get this info from of the where:/Users/liteaddress/Downloads
And Name and Extension: ubuntu-12.04.3-desktop-i386.iso
You are in the wrong directory.
Your are using the ls command in your ~ (home) directory.
The file isn't in that directory.
The file is in your ~/Downloads directory.
Either cd into your Downloads directory or ls the Downloads directory.
Examples.
# I have a file named 'hello' in my Downloads directory
# Look for it without changing directories
ian@bot:~$ ls -al hello # Doesn't work - hello isn't in that directory
ls: cannot access hello: No such file or directory
ian@bot:~$ ls -al Downloads/hello # Works
-rw-r--r-- 1 ian ian 0 Nov 25 15:34 Downloads/hello
# Change directories
ian@bot:~$ cd Downloads/
ian@bot:~/Downloads$ # The prompt shows where I am. I have moved.
ian@bot:~/Downloads$ ls -al hello # Look for hello in this directory (success)
-rw-r--r-- 1 ian ian 0 Nov 25 15:34 hello
ian@bot:~/Downloads$ cd .. # Return to home directory
ian@bot:~$
gravitate
November 25th, 2013, 10:46 PM
I went to Downloads and did your command but the command was not found:
pc3:Downloads liteaddress$ ls: ubuntu-12.04.3-desktop-i386*
-bash: ls:: command not found
pc3:Downloads liteaddress$
sanderj
November 25th, 2013, 10:49 PM
will you be around for 10 mins to help please?
Yes. What is the result of the command I gave you:
cd
curl -O http://ftp.belnet.be/ubuntu.com/releases/releases/precise/ubuntu-12.04.3-desktop-i386.iso
ls -al ubuntu*
ian-weisser
November 25th, 2013, 10:50 PM
The ls command does not have a colon. You made a syntax error...and the system told you so ("command not found")
Please use [code] tags for your output. It helps make the output readable.
gravitate
November 25th, 2013, 10:50 PM
Thanks though I understand it now but why is ls:: command not found?
gravitate
November 25th, 2013, 10:52 PM
OK no errors now :)
pc3:downloads liteaddress$ ls ubuntu-12.04.3-desktop-i386*ubuntu-12.04.3-desktop-i386.iso
pc3:downloads liteaddress$
That means its there right?
gravitate
November 25th, 2013, 10:54 PM
hdiutil convert -format UDRW -o ubuntu-12.04.3-desktop-i386.img ubuntu-12.04.3-desktop-i386.isols ubuntu-12.04.3-desktop-i386*
seamed to work?! you were right looking in the wrong place :) Where do I find the .img file now in the downloads?
gravitate
November 25th, 2013, 10:56 PM
wooow nearly there now its in the downloads but called a .img.dmg why is that?
sanderj
November 25th, 2013, 10:57 PM
hdiutil convert -format UDRW -o ubuntu-12.04.3-desktop-i386.img ubuntu-12.04.3-desktop-i386.isols ubuntu-12.04.3-desktop-i386*
seamed to work?! you were right looking in the wrong place :) Where do I find the .img file now in the downloads?
I don't think so.
In your case I would give up this route. Go for unetbootin (with GUI) instead: http://unetbootin.sourceforge.net/, possibly from Windows.
HTH
sanderj
November 25th, 2013, 11:03 PM
wooow nearly there now
Not at all, IMHO: I still see no *iso and you still have to do the dd which is much harder.
Therefore my advice to use unetbootin.
HTH
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.