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 08-24-2013, 07:36 PM   #1
mhill37
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Rep: Reputation: 0
How to Install and Run Ubuntu from USB Drive?


I am trying something different:
at home I have a new desktop computer running Windows 7 (64-bit) and would like to keep it independent of Linux, so would like to install and run Ubuntu from a USB drive. I have seen many "How-to" articles about how to do this, but it doesn't seem to be working for me.

Somebody recommended that I use an Open Source utility named UNetbootin to ease this process. I have downloaded this utility and tried a couple times but the install is not working for me.

I can see the USB in Windows Explorer, so assume the USB is formatted okay (i.e. - formatting is not the issue).

I suspect the issue tripping me up is the option I selected to download. UNetbootin lists all the downloads available. There are MANY from which to choose (see attached screen image).

13.04 is the latest version, so I'd like to go with that.
My computer is 64-bit, so I am tempted to download 13.04_Live_x64.
HOWEVER, since this will be running from the USB, maybe that is incorrect after all.

Or perhaps I am going down the wrong path entirely.

Any suggestions for what I am doing wrong and how I can get past this hurdle?
What option should I download for installing to a USB?
Attached Thumbnails
Click image for larger version

Name:	Ubuntu Download Options.png
Views:	46
Size:	40.1 KB
ID:	13264  
 
Old 08-24-2013, 08:35 PM   #2
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: Fedora, Centos, Manjaro
Posts: 317

Rep: Reputation: 70
An easy way to do this would be to download the 64 bit Live iso file from one of the Ubuntu download mirrors. Then using unetbootin, select the "Disk Image" option and use the iso file that you downloaded to your hard drive. This will create a live usb boot of Ubuntu.

The live CD of Ubuntu will boot from the usb stick install (provided you select the usb boot option in the BIOS of your computer). You can then play with Ubuntu to your heart's content.

Last edited by ArfaSmif; 08-24-2013 at 08:37 PM.
 
Old 08-24-2013, 11:08 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Unetbootin is used to create a Live CD on a flash drive which then can be used to do an actual install to an internal/external hard drive. Do you just want a Live CD on flash? or an actual install? If you followed the basic instructions on the unetbootin page, it might help if you give more details on what exactly the problem is that you are having.
 
Old 08-25-2013, 04:42 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
If you're having trouble with Unetbootin then why not simply follow the easy instructions (with screenshots) on the Ubuntu.com official Ubuntu site?

http://www.ubuntu.com/download/deskt...ick-on-windows
 
Old 08-26-2013, 12:51 PM   #5
mhill37
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, everyone, for your advice.

I have got it working now, and even gotten myself into a few misadventures already.

I got to the Ubuntu screen where it has the two buttons: "Try Ubuntu" and "Install Ubuntu."
I assume because Ubuntu will ALWAYS be run from a USB drive, the option to "Try Ubuntu" is the one to ALWAYS select.

A couple more questions:

1) I am using Ubuntu 13.04 but notice 13.10 is available. Can the update process be run as normal, considering Ubuntu is running from a USB?
Or does the whole process have to be repeated for the newer version ?

2) I was surfing with Firefox and tried to exit Firefox with hotkeys. I thought I knew the key combination by memory (Control-Alt-F4), but apparently I do not. I was kicked to the command prompt (that will teach me to trust my memory!). So I tried to run the shutdown command. It didn't recognize it until I went to the root. Is that the case for all shutdowns, you have to be the root user to execute the shutdown command? And even when it worked, the PC was still on. Linux may have shut itself down, but it forgot to turn the PC off too. Remembering that Ubuntu is running from a USB, what is the proper command to shutdown Ubuntu AND the PC?
 
Old 08-26-2013, 01:28 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
1) 13.10 won't be released until October. At that point, you can make a new USB image with the new .iso.

2a) Ctrl+Alt+Fn keys will cycle through the various terminals. One of them (I can't remember, haven't used Ubuntu in a long time, but I think it's Ctrl+Alt+F7 or Ctrl+Alt+F8) should get you back to the GUI.

2b) The command to shut down from the terminal is 'sudo halt' and the reason it must be run as sudo/root is to keep User A from shutting down the computer while User B is trying to work.
 
Old 08-26-2013, 02:44 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
I got to the Ubuntu screen where it has the two buttons: "Try Ubuntu" and "Install Ubuntu."
If you see that everytime you boot Ubuntu, then what you have is a Live CD on a flash drive and not an actual install. This is a read-only filesystem although you have the option in Ubuntu to add persistence which will allow you to make some changes. I can't imagine that you would be able to upgrade it or make any major modifications.

Unetbootin is used to put a Live CD on a flash which is entirely different from an actual install to an external hard drive.
I'm not really sure what you want to do?
 
Old 08-26-2013, 03:06 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I suggest that you use a free virtual machine. Attach your ubuntu iso to the vm and use a filter to attach the usb. Boot the VM and install to the usb. You can attach the usb after you booted the vm also.

The unetbootin deals are not real installs and difficult to update.

Unetbootin is good for compact installs on smallish drives.

The only other safe way is to disconnect your internal hard drive and boot the real system to the cd/dvd. Don't try this with the hard drive attached is my suggestion. Too great of chance of error. You can even use any old computer, you don't need to use any modern system to install with. Just be sure it can support usb and cd boot.
 
Old 08-28-2013, 03:52 PM   #9
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Once you have the live system on a bootable flash drive, you can boot it and install to a second flash drive (assuming the second flash drive is large enough; 8GB should work fine). Running off a flash drive is significantly slower than running off a hard drive, but it is workable.
 
  


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
Can I install Ubuntu from the USB Drive Ineed2know Linux - Newbie 5 02-21-2012 04:55 AM
Install Ubuntu 9.04 using USB Drive Cougar101 Linux - Newbie 1 06-16-2009 01:26 AM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
Can't install Ubuntu on USB drive Dale Moyer Linux - Newbie 1 12-04-2007 05:32 PM
How to install Ubuntu from external USB drive swampdog2002 Ubuntu 2 11-16-2007 06:54 PM

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

All times are GMT -5. The time now is 08:18 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