{"id":5052,"date":"2015-03-16T09:56:55","date_gmt":"2015-03-16T16:56:55","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=5052"},"modified":"2023-02-13T14:25:27","modified_gmt":"2023-02-13T22:25:27","slug":"dual-booting-windows-and-ubuntu","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/dual-booting-windows-and-ubuntu\/","title":{"rendered":"Dual-Booting Windows and Ubuntu"},"content":{"rendered":"<p>If you have a computer, you may have heard of Linux. Linux is a free ad open-source operating system, where the &#8220;base&#8221; code can be used and modified by anyone. Some of Digilent&#8217;s boards (like the <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?Prod=ZYBO\">ZYBO<\/a>) use Linux. Linux is great for programming and development, but isn&#8217;t as user-friendly as other operating systems.<\/p>\n<p><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-5198\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image-600x450.jpg\" alt=\"Image\" width=\"400\" height=\"300\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image-600x450.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image-225x169.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image-800x600.jpg 800w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>I&#8217;m writing a small series on Instructables on using a ZYBO board to upload webcam photos to Twitter. This is in conjunction with another intern&#8217;s project (the <a href=\"https:\/\/digilent.com\/blog\/index.php\/introducing-the-zybot\/\">Zybot<\/a>). The first section of is, of course, dual-booting. For this project, we are going to use Ubuntu. I used the 3000 series Inspiron 15 (Windows 8.1), and a N7110 refurbished computer (Windows 7) to dual-boot.<\/p>\n<p>&nbsp;<\/p>\n<p>For thorough instructions, check out the <a href=\"http:\/\/www.instructables.com\/id\/Dual-Booting-Windows-and-Ubuntu\/\">Instructable here<\/a> about how to dual-boot.\u00a0This post covers\u00a0the basics and how dual-booting works and is a more in-depth explanation of what is going on while setting up dual-booting.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1. Partitions<\/strong><\/p>\n<p><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/partition.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-5207\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/partition-600x338.jpg\" alt=\"partition\" width=\"400\" height=\"256\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Computers have HDD (hard disk drives), this is where computers store everything. When we disk partition something, we are separating the HDD into sections of storage. Messing with the HDD can cause major problems, but we need to if we want to dual-boot anything. A Windows computer has lots of memory in the (C:) drive. For us to dual-boot Ubuntu, we take some memory (about 30 GBs) from the (C:) drive and create a new partition with that memory.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. LiveUSB<\/strong><br \/>\n<a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/liveusb.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-5214\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/liveusb-600x338.jpg\" alt=\"liveusb\" width=\"400\" height=\"256\" \/><\/a><br \/>\nA LiveUSB is a flash drive that contains a fully operating system that can be booted (think an installation CD more or less). The USB is what we use to install Ubuntu onto the computer, it is possible to save files to the USB, but we won&#8217;t go over that. It is suggested that you use an 8GB flash drive to use as a LiveUSB.<\/p>\n<p>&nbsp;<\/p>\n<p><strong> 3. BIOS and booting<\/strong><br \/>\n<a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/bios.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-5226\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/bios-600x338.jpg\" alt=\"bios\" width=\"400\" height=\"256\" \/><\/a><br \/>\nWhen you start your computer, a thing called BIOS is working to make sure that everything else is operating smoothly and will boot up your operating system. If you only have one operating system installed right now, BIOS is using that to boot everything. In order to change that, we need to change the boot order of the computer. We want to change the BIOS boot order to open the LiveUSB instead of Windows. This allows us to install Ubuntu onto the partition we created earlier.<\/p>\n<p>&nbsp;<\/p>\n<p><strong> 4. Installing Ubuntu<\/strong><br \/>\n<a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/installer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-5223\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/installer-600x338.jpg\" alt=\"installer\" width=\"400\" height=\"256\" \/><\/a><br \/>\nDuring the Ubuntu installation, we create three different smaller partitions. One is the <i>root<\/i>, which is the &#8220;super-user&#8221; of the operating system. The second is a small <i>swap<\/i> partition that holds inactive pages when the computer needs more space. The last part is a the <i>home<\/i>, which is basically what the user&#8217;s folders.<\/p>\n<p>&nbsp;<\/p>\n<p>Let us know how dual-booting goes for you!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-5052 jlk' data-task='like' data-post_id='5052' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-5052 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-5052 jlk' data-task='unlike' data-post_id='5052' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-5052 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-5052 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>If you have a computer, you may have heard of Linux. Linux is a free ad open-source operating system, where the &#8220;base&#8221; code can be used and modified by anyone. Some of Digilent&#8217;s boards (like the ZYBO) use Linux. Linux is great for programming and development, but isn&#8217;t as user-friendly as other operating systems.<\/p>\n","protected":false},"author":29,"featured_media":5198,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1563],"tags":[144],"ppma_author":[4478],"class_list":["post-5052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide","tag-tutorial-2"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Image.jpg","authors":[{"term_id":4478,"user_id":29,"is_guest":0,"slug":"josh-woldstad","display_name":"Josh","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/b4b62729a3daba9bb76117db7130e81e?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Woldstad","last_name_2":"","first_name":"Josh","first_name_2":"","job_title":"","description":"I love Coding!"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/5052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=5052"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/5052\/revisions"}],"predecessor-version":[{"id":29701,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/5052\/revisions\/29701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/5198"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=5052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=5052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=5052"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=5052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}