LinuxQuestions.org
Visit Jeremy's Blog.
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, 08: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 Images
File Type: png Ubuntu Download Options.png (40.1 KB, 13 views)
 
Old 08-24-2013, 09:35 PM   #2
ArfaSmif
Member
 
Registered: Oct 2008
Location: Brisbane Australia
Distribution: always back to Fedora
Posts: 241

Rep: Reputation: 50
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 09:37 PM.
 
Old 08-25-2013, 12:08 AM   #3
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,076

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
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, 05:42 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,921

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
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, 01: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, 02:28 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,921

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
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, 03:44 PM   #7
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,076

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
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, 04:06 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
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, 04:52 PM   #9
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,245

Rep: Reputation: 252Reputation: 252Reputation: 252
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:55 AM
Install Ubuntu 9.04 using USB Drive Cougar101 Linux - Newbie 1 06-16-2009 02: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 05:56 PM
Can't install Ubuntu on USB drive Dale Moyer Linux - Newbie 1 12-04-2007 06:32 PM
How to install Ubuntu from external USB drive swampdog2002 Ubuntu 2 11-16-2007 07:54 PM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration