{"id":4305,"date":"2014-11-29T12:21:12","date_gmt":"2014-11-29T12:21:12","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4305"},"modified":"2014-11-29T12:21:12","modified_gmt":"2014-11-29T12:21:12","slug":"install-real-ubuntu-os-usb-drive","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/11\/install-real-ubuntu-os-usb-drive\/","title":{"rendered":"How to Install The Real Ubuntu System on USB Flash Drive"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png\" alt=\"Ubuntu To Go\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-4141\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>This is a step by step tutorial shows you how to install the real Ubuntu OS on USB stick to create a &#8216;Windows To Go&#8217; style USB drive. Tested with Ubuntu 14.04<\/b><\/p>\n<h4>Requirements:<\/h4>\n<p>Before getting started, you need to prepare something:<\/p>\n<ol>\n<li>A 8GB+ USB Drive.<\/li>\n<li>A Ubuntu Live CD\/DVD\/USB. In the case below, I created a bootable Ubuntu Live USB from the .iso image.<\/li>\n<li>A computer with an operating system installed.<\/li>\n<\/ol>\n<p>And always backup your data on the USB flash drive!<\/p>\n<h4>To get started:<\/h4>\n<p>In my case I have a newly bought 16GB USB stick, a 4GB old USB stick, and a laptop multi-boot with Ubuntu based systems.<\/p>\n<p><b>1.<\/b> I don&#8217;t have a Ubuntu CD\/DVD, so I decided to burn the Ubuntu .iso image into the old USB stick. To do so:<\/p>\n<ol>\n<li>Download Ubuntu image: <a href=\"http:\/\/releases.ubuntu.com\/\" title=\"Ubuntu ISO download page\" target=\"_blank\">releases.ubuntu.com<\/a><\/li>\n<li>Download UNetbootin: <a href=\"http:\/\/unetbootin.sourceforge.net\/\" target=\"_blank\">unetbootin.sourceforge.net<\/a>. For Ubuntu, install it from Software Center.<\/li>\n<li>Plug in the USB stick.<\/li>\n<li>Start UNetbootin, and burn the .iso image into USB<\/li>\n<\/ol>\n<div class=\"arconix-box arconix-box-yellow\"><i class='fa fa-2x pull-left fa-lightbulb-o'><\/i><div class=\"arconix-box-content\">If you need more hints, follow this screenshot tutorial to <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2013\/07\/how-to-create-bootable-ubuntu-live-usb-with-unetbootin\/\" target=\"_blank\">create bootable Ubuntu Live USB<\/a><\/div><\/div>\n<p><b>2.<\/b> Plug in the bootable USB drive to your computer and boot into the Live Ubuntu system.<\/p>\n<p><b>IMPORTANT:<\/b> For Windows 8 pre-installed machine, you have to disable <b>&#8220;fast startup&#8221;<\/b> and <b>&#8220;secure boot&#8221;<\/b> features.<\/p>\n<p>To disable &#8220;fast startup&#8221;, go to <i>Control Panel > Hardware and Sound > Power Options > System Settings > Choose what the power buttons do and uncheck the Turn on fast startup box.<\/i><\/p>\n<p>To disable &#8220;secure boot&#8221;, follow <a href=\"http:\/\/itsfoss.com\/disable-uefi-secure-boot-in-windows-8\/\" target=\"_blank\">this screenshot tutorial<\/a>.<\/p>\n<p><b>3.<\/b> Now you&#8217;re in the Ubuntu Live system. Plug in the 8GB+ USB stick. Then launch <b>Gparted<\/b> from the Unity Dash.<\/p>\n<p>In the top-right drop-down box select the USB drive (16GB in my case), and you should see something like below:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick.jpg\" alt=\"usb-stick\" width=\"600\" height=\"252\" class=\"aligncenter size-full wp-image-4306\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick-300x126.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>I have two USB flash drives plugged in the computer, the Hard Disk is \/dev\/sda, 4GB Live USB is \/dev\/sdb, and the 16GB USB drive is \/dev\/sdc.<\/p>\n<p><b>4.<\/b> From the right-click context menu, un-mount partitions on the USB drive and then delete them.<\/p>\n<p>Click the green check mark button to apply changes, finally you have an unallocated flash drive, like:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick-deleted.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick-deleted.jpg\" alt=\"unallocated USB flash drive\" width=\"600\" height=\"250\" class=\"aligncenter size-full wp-image-4307\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick-deleted.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/usb-stick-deleted-300x125.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>When done, close Gparted partition manager.<\/p>\n<p><b>5.<\/b> Click the desktop shortcut &#8220;Install Ubuntu&#8221; to bring up the Ubuntu installation wizard.<\/p>\n<p>Follow the wizard until it asks you to choose where to install Ubuntu. Select the last option <b>&#8220;Something else&#8221;<\/b> and click Continue to bring up partition table.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/something-else.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/something-else.jpg\" alt=\"Bring up partition table\" width=\"600\" height=\"342\" class=\"aligncenter size-full wp-image-4308\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/something-else.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/something-else-300x171.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>6.<\/b> In the partition table, scroll down and highlight the &#8220;free space&#8221; under the USB drive (\/dev\/sdc in the case) and click the plus sign to create below partitions one by one:<\/p>\n<ul>\n<li>a FAT32 (or fat16) partition (<b>required<\/b>)\n<ul>\n<li>must be \/dev\/sdc1 (or sdX1)<\/li>\n<li>mount point \/NAME_HERE (\/UDISK in the case)<\/li>\n<li>set the memory size by yourself, it can be used for normal data storage.<\/li>\n<li>leave others default.<\/li>\n<\/ul>\n<\/li>\n<li>a EXT4 partition for Ubuntu (<b>required<\/b>)\n<ul>\n<li>mount point &#8220;<b>\/<\/b>&#8221; (without quotes)<\/li>\n<li>memory size 5G+<\/li>\n<li>leave others default.<\/li>\n<\/ul>\n<\/li>\n<li>a swap partition (<b>optional<\/b>).\n<ul>\n<li>You can skip this if RAM is large enough and you don&#8217;t need hibernation feature.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>And very important is select install boot-loader to the USB flash drive (\/dev\/sdc in the case).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/partition-table.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/partition-table.jpg\" alt=\"partition-table\" width=\"600\" height=\"386\" class=\"aligncenter size-full wp-image-4309\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/partition-table.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/partition-table-300x193.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>7.<\/b> When everything&#8217;s done, click <b>Install Now<\/b> and confirm to format the partitions (Pay attention on which partitions to be formatted).<\/p>\n<p> <a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/format-partitions.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/format-partitions.jpg\" alt=\"format-partitions\" width=\"600\" height=\"268\" class=\"aligncenter size-full wp-image-4310\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/format-partitions.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/format-partitions-300x134.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Click continue and finish the wizard. Once the installation complete, restart your computer and boot with the &#8216;Ubuntu To Go&#8217; USB drive and enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step tutorial shows you how to install the real Ubuntu OS on USB stick to create a &#8216;Windows To Go&#8217; style USB drive. Tested with Ubuntu 14.04 Requirements: Before getting started, you need to prepare something: A 8GB+ USB Drive. A Ubuntu Live CD\/DVD\/USB. In the case below, I created [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1178],"class_list":["post-4305","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-install-ubuntu-to-usb"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=4305"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4305\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}