How to install Linux

When it comes to using Linux there are a couple of options:

  1. Using a VM (virtual machine) on top of another operating system like Windows/OSX using virtualization software like Virtualbox, VMWare Workstation, or parallels on Mac. In this post we will show you how to use Virtualbox to create a VM to use. This option is the safest and will never lead to the accidental loss of your files. This option starts here
  2. Wipe your computer and delete any other operating system and only use Linux. This option is not for the faint of heart. It is usually not the best option but some really want to only use Linux. This would mean that you would loose any files or programs that you currently have on your computer, so be sure to back anything up that you care about. This option is hard to reverse but is possible if you have a free afternoon and you know how to reinstall your previous operating system (you have a Windows 10 iso and a microsoft account that has ownership of a Windows 10 license). This option starts here
  3. Install Linux alongside your host OS. This means you will resize your current operating system, and install Linux on a new partition. When you boot your computer you will then have the option to pick Linux or Windows or OSX. While on Linux you may have access to files on your other operating system, but other operating systems may not see files on Linux. So far this post only supports dual booting alongside Windows. This option is recommended to get some help from someone rather than following this guide. But here is how you do it if you want to. This option starts here

How to create a VM (Virtual Machine)

  1. Go to virtualbox.org and download the virtual box installer for your host operating system
  2. Install and open virtualboxYou can click next/accept/yes/install for all of the popups that you see

  3. From the virtualbox manager, click the ‘New’ button in the top left corner of the window with the big blue circle on it.
  4. Give the VM a name and specify what OS (Operating System) you will be installing (i.e. Linux) and then pick the distribution you intend to installThe name doesn’t matter, it just give you a way to differentiate between multiple virtual machines you have.

    WARNING: If you do not see a 64-bit version for the operating system you are installing, you may have to enable virtualization in your bios. We will not cover this on this page, so you may have to do some googling on how to do this with your specific model of computer. This is different for almost everyone so it may take some trial and error. Don’t be afraid to ask for help since this may not be an easy thing to get around.
  5. Choose how much memory (RAM) you want the VM to have access to.Notice the green bar under the slider. You can give your VM as much memory as you want, but if you give it more than the green bar indicates, you may end up taking away too much memory from your host OS. It is recommended that you stay under or up to the edge of this green bar. 2-4 GB is a good starting point. If your VM seems slow to respond, you can change this later to improve performance
  6. Create a virtual hard disk. (This is just a file that virtualbox treats like a hard drive inside your hard drive). These are the settings that suggested unless you have a strong reason to do otherwise.   
  7. Choose how big to make the virtual hard disk and click ‘create’8 GB is the default, which is big enough to install Linux on, but you may find yourself encountering space restrictions very quickly. 25-50 GB will give you a good amount of breathing room.

Setting up the Linux installer for a VM

  1. Download an iso file from the Linux Club website or any other place you can find oneIf you don’t know or don’t care about the OS, typically people pick Ubuntu as a first operating system because of the amount of information and guides online about it.

    amd64 is the type of OS for 64 bit CPUs and i386 is for 32 bit CPUs.  Typically most new computers are 64 bit while netbooks and older computers are 32 bit. This does matter so be sure to look up your CPU if you are unsure and pick the right iso for your hardware.

  2. Back in the virtualbox manager, click on the VM you just created and hit the big green arrow ‘Start’
  3. Choose the file explorer icon and navigate to the .iso file containing your favorite flavor of Linux.
  4. Skip to the section ‘Installing Ubuntu’ below to walk through the Ubuntu installer.

Setting up Linux installer for a dual boot setup or clean installation

  1. Does someone else have a flash drive with the Linux distribution I want? Ask around! You can skip to step 5 if you have found one that was already made and save some time. Otherwise continue below to create your own installer.
  2. Download an iso file from the Linux Club website or any other place you can find oneIf you don’t know or don’t care about the OS, typically people pick Ubuntu as a first operating system because of the amount of information and guides online about it.

    amd64 is the type of OS for 64 bit CPUs and i386 is for 32 bit CPUs.  Typically most new computers are 64 bit while netbooks and older computers are 32 bit. This does matter so be sure to look up your CPU if you are unsure and pick the right iso for your hardware.

  3. Download ‘Rufus’ from their website or by using this direct link
  4. Select a flash drive that you plan on using.

    WARNING:
    The flash drive you will using for this will be formatted, which means you will loose any files that are on the flash drive. Make sure you copy the files off the flash drive or be OK with the fact that you will loose them.


    If your machine uses UEFI to boot, then select ‘GPT partition scheme for UEFI’ under the ‘Partition scheme and target system type’ section. If your machine uses BIOS mode, select ‘MBR partition scheme for BIOS or UEFI’. Usually newer machines use UEFI, but if you do not know you may have to enter your BIOS and find out what you are using. You may have to do some googling to figure it out.

    Next select the disk button next to the ‘Create a bootable disk using: ISO Image’ and select the iso file you downloaded earlier.

    Click ‘Start’ and wait for the image to finish copying’

    When a popup asks you what mode to write in, select ‘ISO mode’, it is faster and a more flexible option.

  5. Reboot your computer and boot off of your flash drive. If you do not know how to do that you may have to do some googling to figure out how to do so properly. If you are using UEFI make sure that you boot off the drive in UEFI mode and not ‘legacy’ mode.

Installing Ubuntu

Installers for most Linux distributions are different so we are just going to cover the Ubuntu installation process since it is a very popular choice for those new to Linux.

  1. Click ‘Install Ubuntu’ 
  2. You can optionally choose to install updates during the installation process as well as optional drivers. It is usually a good idea to select both to avoid unseen potential problems.
  3. Select where and how to install. If you are using a VM, select ‘Erase disk and install Ubuntu’. A VM has no concept of your host operating system so the ‘disk’ that it will erase is really an empty .vdi file that you created earlier. It is not going to touch any of your personal files, programs, or documents on your host OS despite the warning. Ubuntu doesn’t know it is a VM so it gives you the warning. Using LVM for your installation is usually a good idea especially if you have a VM. It allows snapshots which gives you the ability to version your VM. If you want to make a change that you are unsure about, you can snapshot your VM and return to that point if you broke something.

    If you are doing a complete wipe of your computer and want to delete everything on it and replace it with Ubuntu, select ‘Erase disk and install Ubuntu’. Once again if you are using a VM don’t panic about that last sentence, it doesn’t apply to you but you still want to click this option as well.


    LVM also allows resizing your partitions on your install much easier which you will do if you decide to increase the disk space that you allocated to the OS earlier. This is a good idea regardless if you are using a VM or dual booting.

    If you are dual booting there may be an option to ‘Install Ubuntu alongside Windows’. This option is really handy and with the slider you can resize your Windows C: partition to allow room for Ubuntu to live. If you do not see this option, you will have to boot back into Windows and resize your Windows C: partition using the ‘Disk Management’ utility. If you resized windows using the ‘Disk Management’ utility select ‘Install Ubuntu alongside Windows’ and the installer will automatically use up the remaining free space on your hard drive.

    WARNING:
    If you are dual booting and see a warning about using UEFI when Windows is using BIOS mode, you should reboot, run the installer from BIOS mode, and restart the installer.

  4. Once you have selected the destination, click ‘Install Now’ and the ‘Continue’ to start installing OS files.

          
  5. The installer will then ask you for a timezone to set the clock to, and then to create a user and password to use. Pretty easy to step through.
  6. You will then see a prompt to remove the install media and hit enter to reboot. For users using a VM you can just hit enter. For those dual booting you can pull out your flash drive so you don’t run the installer again when you reboot.

Start using Linux!

A great resource for those new to Linux is our Linux 101 presentation which we usually give at the beginning of the semester. Come with questions so we can address anything that you want to learn more about. And of course all are welcome to come to our future meetings where we discuss all things Linux.

Linux Club Install Fest Winter 2018

Good news, everyone! Linux Club Install Fest for Winter 2018 will be on January 18th. To make things a little bit easier, we created a schedule so both installer and installee knows which times are the busiest. Signing up is completely optional, but we would greatly appreciate it. If you can, please avoid times that already have ten people scheduled, but if you need to take a busy time we’ll take ya- just expect some wait time!

Google Doc:

https://docs.google.com/spreadsheets/d/1ZuraCt3ZiS4pCw4RaxgRg4Fbw5gpbRAUectEr5t8hbY/edit?usp=sharing

Thanks everyone!

Programming Tools Meeting

Going over methods of making software and various tools for programming like IDE’s, text editors, debuggers, compilers, and more.

TCMB 1170

December 7th, 7:00PM

Plug Meeting coming up

PLUG: The bomb, and something Perl – DIFFERENT DAY/LOCATION

Tuesday, Nov 14, 2017, 7:00 PM

Silicon Slopes
2600 Executive Parkway Lehi, UT

6 Open Source Enthusiasts Attending

Tyler Johnson will be showing the inner workings of “the bomb” that debuted this year at OpenWest. The bomb has been dubbed an “escape the room in a box”. It contains many puzzles and sensors that the user has to disable or work around to “defuse” the bomb before the time runs out. We will discuss the work that went into building the box, the commu…

Check out this Meetup →

Free SaltConf Registration

SaltStack is hosting it’s 4th annual conference, SaltConf17, in Salt Lake City next week November 2-3. We have a number of complimentary registration codes that we are extending to BYU students who are interested in attending. Registration includes free meals, swag, and access to 60+ breakout sessions and keynotes. In addition to learning about SaltStack’s revolutionary approach to infrastructure automation, you’ll have the opportunity to rub shoulders with some of the industry’s top executives and engineers from companies like Amazon, Adobe, VMware, Intuit, and many others.
About SaltStack: SaltStack provides infrastructure automation and orchestration for modern data centers, whether cloud-based, traditional on-premise, or both. Our software, written in Python, is heavily implemented across Linux OS’s and has it’s roots in the world of open source. The software has been downloaded millions of times and is currently used to manage infrastructure in many of the world’s most sophisticated IT organizations. SaltStack is eager to connect with students as it looks to further build out its engineering team over the coming months and years.
Interested students should reach out directly to Ben Coburn (ben@saltstack.com) briefly detailing their interest in the event and availability to attend. Complimentary registration will be for conference events November 2-3. A detailed agenda can be found here.

Linux 101

Hey y’all! We are going to be doing the Linux 101 meeting that you asked us to do this week! We are pleased to have Zach Johnson from Adobe coming and presenting on topics such as what is a distro, how to use the terminal, and sweet programming tools to use in Linux. Pizza will be provided, so mark your calendars and get excited!

1170 TMCB 7PM Thursday October 19th

https://www.facebook.com/events/360805954377003/

Opening Social

We’re going to go over why Linux and Open Source matters, going over some of our plans for the semester, and taking questions. We’re looking to get input on what kind of presentations people would like for the rest of the semester so come with opinions. Pizza will be provided.

1170 TMCB Thursday Sept 14th 7:00 PM

https://www.facebook.com/events/175300519683984/

Installfest

Our once a semester installfest will be Thursday Sept 7th from 10am to 5pm in the TMCB Lobby. Come get help installing Linux. Whether it’s a virtual machine, dual boot, or something else, we can help you get it installed.

https://www.facebook.com/events/260467517797836/

June PLUG meeting

For those of you around during summer, plug is having a meeting about git Tuesday June 20th at 7:00 in the UVU Business Resource Center. There will be pizza. https://www.meetup.com/UtahOpenSource/events/240240729/