Tuesday 22 March 2016

Install Ubuntu Linux Alongside Windows 8 in 10 easy steps

Introduction

One of the most talked about topics of the last year has been the Windows 8 debacle and how it is now much more difficult to install Linux because of the UEFI secure boot system.

I have just obtained my first laptop that contains Windows 8 and therefore my first laptop with UEFI and secure boot enabled.

So just how difficult is it to install Linux alongside Windows 8? I spent some time over the weekend installing Ubuntu alongside Windows 8 on this computer and the following is a guide showing the steps I performed to achieve this task.

If you have Windows 8.1 and you wish to install Ubuntu 14.04 I have created a new guide showing how to install Ubuntu 14.04 alongside Windows 8.1.

Click here if you are looking for a Windows 7 and Ubuntu dual boot guide.

For those of you who already have Ubuntu installed alongside Windows 8 I have written a new guide showing how to upgrade Ubuntu to the latest version without harming Windows 8.

If you are using Windows Vista then read this guide to installing Linux alongside Windows Vista

If you are using Windows XP then read this guide to installing Linux alongside Windows XP 

A review of Ubuntu 14.04

Before you start it might be worth reading the latest review of Ubuntu 14.04 to make sure dual booting with Windows 8.1 is something you want to do.

The hardware

The hardware that I used to compile this guide is the Dell Inspiron 3521 laptop which you can pick up for around £400 at Argos.

The Dell Inspiron 3521 has 6 gigabytes of RAM, an Intel core I3 processor, a 1 terabyte hard-drive and a 15.1 inch display. 

Strategy

The actual strategy for installing Ubuntu alongside Windows 8 isn't much different to installing Ubuntu alongside Windows 7, Vista or even XP. There are just a couple of extra hurdles along the way.
  1. Backup your Windows partitions
  2. Shrink the Windows partition
  3. Create a bootable USB drive with Ubuntu on it
  4. Turn off fast boot and Disable secure boot
  5. Run the Ubuntu installer
  6. Partition the empty space (created after shrinking Windows partition)
  7. Complete the installation
  8. Reboot into the Ubuntu Live image
  9. Run the boot repair
  10. Test that everything works.

1. Backup your Windows partition

This is the most important step in the whole process, especially if you harbour any hopes of booting into Windows again should the worst happen.

It used to be the case that when you bought a computer you received a set of disks or a CD that had a rescue image on it. If the computer failed all you had to do was insert the disks or the CD and your computer would be restored as if it had just been delivered.

Computer manufacturers then took the step of creating rescue partitions on hard drives but now some have even stopped doing that. Even if your computer manufacturer did take the step of creating a rescue partition, because you are going to be messing around with the partition editor it would be a great idea to make sure you have recovery media that isn't in any way connected to the hard drive that you are partitioning.

Regardless of restoring to factory settings you will want to back up all those pictures, videos and all those songs you downloaded from iTunes. 

Do not skip this step unless you have recovery media

As I am using a Dell I have two methods available to me to create recovery media and I am going to document both of them here. The chances are that the manufacturer of your computer has also provided software for creating recovery media. It is worth spending the time looking at the options available to you.

You should backup your computer anyway

Whether you intend to follow through with this guide or not and whether you decide Linux is or isn't for you I cannot stress enough the importance of creating recovery media.

If you still do not believe me about how hard it is to get the recovery media after the event go to Google (who aren't in any way evil) and try searching for recovering Windows 8 on a Dell, HP, Toshiba etc. You will probably end up paying for support.

Create recovery media using Dell's recovery tools


















To open the Dell Backup and Recovery software move your mouse to the top right corner within Windows 8 and this will bring up the search icon. 

Click on the search icon and start typing "backup". The "Dell Backup and Recovery" software will be the only option listed. 





















As you can see there is a large exclamation mark next to "Recovery Media". This icon appeared because at that point in time I had not created any recovery disks meaning that should the worst happen I was on my own.

If you see a large exclamation mark and a big orange status message saying "At Risk" it seems prudent to do something about that.





















Clicking on the "Recovery Media" option displays the screen above. You have two options:
  • Factory Backup
  • Apps & Drivers
You can also decide the location to backup to. You can choose either DVDs or a USB drive. 

If you are smart you will do both. Run the "Recovery Media" option once and backup to DVDs and then run it again and backup to USB. Imagine you backed up to DVDs and then decided to restore from them later on. DVDs have a habit of getting scratched and generally speaking you will need 2 or 3 DVDs which means there is more risk of a failure. Backing up to USB as well as DVD means you have hedged your bets.

You could of course just back up to USB but USB drives have the habit of getting lost or re-used for another purpose when you realise you need to transfer data from point A to point B.

Now I will point out that this process only backs up the Windows 8 system files in order to get Windows 8 back in the event of a failure. This does not backup all your pictures, documents and videos etc. I will come to that later on.

All you need to do to backup to DVD is insert the first disc and then press "Start". It takes a while to perform this process but it is definitely worth it. Just let it happen, go and get a coffee and watch a bit of television. Check back occasionally though because you will need to swap discs.

Once you have finished backing up to DVD repeat the process but backup to USB.





















After running the "Factory Backup" click on the "Apps & Drivers". Now insert a blank DVD and click "Start". Again the process will take a little while but at least you will have a backup of all the applications that were installed when you bought the computer.

Creating recovery media using Window's 7 tools


Now the first backup section was a little bit specific to Dell computers. Allowing for the fact that you may not be using a Dell computer this section shows how to create a system image using the Windows 7 File Recovery tools. (I wonder why I couldn't find a Windows 8 one?).

To get to the Windows 7 recovery tools move the mouse to the top right corner and then select the search icon again.

Click on the "settings" option and then type "recovery". The option for "Windows 7 Recovery" will appear. Clicking on this option will display the above window.

There are 2 options here:
  • Create a system repair disc
  • Create a system image
The system repair disc will boot into Windows recovery mode. Choose this option first and insert a blank DVD and then create the repair disc.

The system image takes a copy of all the selected partitions and therefore you can restore your computer to the state it is in at the moment the backup is taken which means all your documents, pictures and videos etc will be safely backed up as well. (You can schedule a system image backup at regular intervals so that you get regular backups).

When you create the image you will be shown the backup location where the image will be saved and the partitions that will be backed up.

Now I highly recommend using external storage for this purpose.

An external hard drive is great for this sort of thing but be careful. I have had external drives that corrupted the image due to the nature of pulling out the USB cable before it was ready.

(Yes I am aware that was a dumb thing to do)



After clicking "Start Backup" the usual random green progress bar starts.

We are all aware at this point that you have to wait an indeterminate period of between 5 minutes and 4 years for the green bar to reach the end and even when it does there is no guarantee it is the end of the process.


When you have finished creating the system image you are asked once again if you want to create a system repair disc.

I don't want to sound like your mum but you really should do this.





2. Shrink the Windows partition

Windows is like an infestation of cockroaches. Cockroaches will keep filling up space until it runs out and will try and find some more space. Windows is built to believe that all the available disk space belongs to it and therefore there is no spare space for another operating system.

To get around this issue there is a tool available within Windows that lets you shrink the Windows partition (or indeed any other partition on the disk).




To be able to shrink the Windows partition you will need to run the "Disk Management" tool. To do this move your mouse to the top right corner and click on the search icon. Now click the settings icon and start typing "disk".

Click on the option "Create and format hard disk partitions".

As you can see the Dell Inspiron by default has a busy looking disk layout.

The operating system is on drive C and is called OS. 

This is the partition that needs to be shrunk in order to make space for Ubuntu.





Right clicking on the relevant drive brings up a context menu and on that context menu is the option to "Shrink Volume".

When you click on "Shrink Volume" a box appears asking you how much disk space you want to shrink the disk by.






The Shrink utility helpfully sets up the amount of disk space that it can comfortably spare.

Unless you have a reason to choose otherwise it is generally fine enough to accept the default options.

Click on "Shrink" to start the process.

Unlike the backup process this bit is quite quick.


3. Create a bootable USB drive with Ubuntu on it

Download Ubuntu

You can download Ubuntu from http://www.ubuntu.com/download/desktop.

As you can see there are two versions available.

Version 12.04 is a long term support release which means you can install it now and it will still receive updates in 4 years time. This is great if you are the sort of person who likes stability and you aren't too bothered about getting the new features early.

Version 13.04 has only 9 months worth of support and then you will be expected to upgrade to a newer version of Ubuntu. This may sound like a very short period of time (and it is) but 13.04 already feels slick compared to 12.04.

If you become comfortable with the installation process then moving up to the latest versions keeps you in the now club.

The long term support releases are great but consider that the last LTS version was back at version 10 which pre-dates Unity. To quote Ferris Bueller:
Life moves pretty fast. If you don't stop and look around once in a while, you could miss it.
The one thing you do have to do though to be able to run Ubuntu alongside Windows 8 is to choose the 64-bit version.

Note that if you have a Dell Inspiron 3521 and you wish to install version 12.04 there is a dedicated version especially for you at http://www.ubuntu.com/certification/hardware/201208-11539/.

The Dell Inspiron 3521 can be purchased pre-installed with Ubuntu and therefore there is already an image available which has all the necessary drivers set up.

I can confirm however that I installed Ubuntu 13.04 and I used the stock 64-bit download and I have had no issues with Ubuntu whatsoever.

If you live in the city then downloading Ubuntu will be a quick process. If you live in the countryside and your internet connection sucks as much as mine then there is always the option of buying a DVD pre-installed within Ubuntu Linux.

Download Unetbootin

Unetbootin is the tool that I used to create a bootable USB drive with Ubuntu on it. To download Unetbootin visit http://unetbootin.sourceforge.net/.














Click on the "Download (for Windows" link. The download is fairly small and even on my meagre internet connection takes under a minute.



To run Unetbootin press the "Start" button and click on "Files". Now type "Unetbootin" into the search box and Unetbootin will be the first option. Click on the icon to run Unetbootin.























To create a bootable USB drive you need to insert a blank USB drive into a USB port and then select the disk image option.

Clicking on the button with 3 dots brings up a file browser and you should be able to find the downloaded Ubuntu ISO.

Make sure that the USB Drive is indeed in the drive letter specified and when you are happy that you aren't about to install somewhere you shouldn't click OK.

It takes a few minutes for Unetbootin to do it's stuff but ultimately you will end up with a bootable USB drive.

4. Turn off fast boot and disable secure boot

Turn off fast boot

To turn off fast boot you need to get into the control panel and then the power options.

To open the control panel move your mouse to the top right corner and then click on the settings icon that appears.

When the menu appears click on the control panel.

From within the Control Panel click on the "Power Options" icon.


From the "Power Options" screen look down the menu on the left side and select "Choose what the power button does".









On the snappily titled "Define power buttons and turn on password protection" screen scroll down to the bottom.

There should be an option that says "Turn on fast startup". If this option doesn't appear click on the link at the top of the window that says "Change settings that are currently unavailable".

If the "Turn on fast startup" option is checked turn it off. I know that it says recommended but in this case it really isn't recommended.

Click the "Save Changes" button to continue.

Turn off secure boot

To turn off secure boot move your mouse to the top right corner and then click the settings option.

Now comes the ninja bit. Hold down the shift key and select "power" and "restart" whilst keeping the shift key held down. (Take out the USB drive if it is still plugged in).



















When you reboot a screen similar to the one above will appear. The option you should choose is the UEFI Firmware Settings.

At this point you will be taken into the UEFI settings for your make of computer and I can't write instructions for each make and model therefore Google is your friend (and not at all evil). Type in your make and model and search for UEFI settings.

When you are in the UEFI settings you are looking for the option that says something like "Secure boot" with the value set to "Enabled" and you want to set that option to "disabled".

5. Run the Ubuntu Installer

To load Ubuntu in live mode insert the USB drive created in step 3 and reboot your computer.




















It is a beautiful sight seeing Windows disappear and Ubuntu appear in its place even if it is the live USB version.

Let's get started.

Clicking on the "Install Ubuntu 13.04" (or 12.04 if you are going LTS) brings up the Ubuntu installer.

The first step lets you choose the language for the installer.

If you speak English I recommend choosing English (unless you feel you need an extra challenge) and indeed if you aren't a native English speaker then choose the language you feel most comfortable using.


The preparation screen shows you whether you are fully prepared for installing Ubuntu.

As you can see from the screen image I had plenties of disk space and I was fully plugged in to the power but I didn't have an internet connection.

Having the internet connection set up lets you download updates on the go. I prefer to do it afterwards.

You will also notice the "install this third party software" checkbox which will make Flash and MP3s work straight away after the install.

If you aren't already connected to the internet now is your chance to get connected.

You can choose any one of your broadband connections.

I have 2 available to me and neither of them are any good.

I prefer to install first and update later so I leave the internet disconnected.


6. Partition the empty space

This bit is going to amend your hard drive partitions and if you didn't do a backup at the beginning this is the point of no return.

I highly recommend making sure you have created the correct recovery media before continuing. 

I could have made the install process one big step but the partitioning takes a bit of explaining so I put this in a separate section.

There are 2 options available to you from the partitioning screen.
  • Erase disk and install Ubuntu
  • Something else
If you just want to install Ubuntu and forget Windows ever existed (and if you have tried Windows 8 nobody is going to blame you for making this decision) you can simply press continue .

This guide is about installing alongside Windows 8 and therefore to do this choose "Something Else".






























The disk layout on the Dell Inspiron 3521 is quite involved.

What you should do is look for the large amount of unpartitioned space by scrolling down. (For the Dell it was /dev/sda7).


When you find the unpartitioned space click on the plus symbol and create a logical partition. Mount the partition to / and set the size to 50 gigabytes. Set the partition type to EXT4.

Now find the unpartitioned space again and click on the plus symbol and create another logical partition. Mount this one to /HOME and set the type to EXT4. The size should be virtually all the unpartitioned space minus about 16 gigabytes.

There is a lot said about how much swap space you need but as disk space isn't exactly expensive anymore I always just choosing 16 gigabytes which is way more than is actually required. (By quite some distance). You will therefore need to create a third partition in the unpartitioned space and choose SWAP as the type.

When it comes to choosing where to install the bootloader don't change a thing. Leave it pointing to "/dev/sda". Whatever you do don't choose one of the other partitions like "/dev/sda1" or "/dev/sda2" etc. This is one of the most common mistakes people make.

For the / and Home partitions that you just created make sure the format checkbox is checked. You cannot format the swap partition.

Do not continue unless you are really satisfied that you have done everything correctly and that you have a backup available in case of bad times.

Press Install to continue.


7. Complete the installation

The installation will now continue and you will see files copied across and the installation taking place.

At this point you will be able to choose keyboard layouts, timezone and you will be asked to add a new user.

At the end of the install process you will asked if you want to restart the system or continue using the live version.

8. Reboot into the live image

At this point it is worth rebooting the computer to see what has happened.

When the computer has started to reboot remove the USB drive and let the bootup process begin as normal.

If you are lucky everything has worked perfectly well and you have a GRUB menu showing options for Windows and Ubuntu.

The reality is that you will be very lucky if that really has happened.

One of three things will have happened:
  1. Ubuntu will have loaded
  2. Windows will have loaded
  3. Nothing loads
If either Ubuntu or Windows loads then you just have a bootloader issue, if nothing loads it is likely that you didn't turn off secure boot and probably have messages on the screen saying so.

Unless you have a perfectly running dual boot system plug your USB drive back in and reboot so that the live version of Ubuntu runs again.

9. Run the boot repair

For the next part you will venture into the terminal. Press the super key on your keyboard (that is the one that looks like the Windows icon).


Type "term" into the search box that appears. Click on the "Terminal" icon.

From within the terminal window type the following:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
The above command adds a special repository to your Ubuntu live system and then the update command downloads a list of all the applications that reside in that repository.

Now all you have to do is type:
sudo apt-get install -y boot-repair && (boot-repair &)
The information I am providing here comes straight from the following page:https://help.ubuntu.com/community/Boot-Repair (Just in case you thought I was making all this up as I went along).

A message will appear saying that boot repair is scanning your partitions.


At this point I clicked the "Recommended repair" button as it does say it fixes the most frequent problems.

After a few minutes the application will tell you if it needs you to run extra commands in the terminal and it gives you the commands to copy and paste.

By following the instructions provided my boot loader was fixed and I could move on to the final step.

10. Test that everything works

Reboot your computer and remove the USB drive.

You should now have a menu with various options on it. The first one will be Ubuntu and somewhere down the list is Windows EFI.

Try Ubuntu and make sure that it loads correctly, then reboot and try the Windows EFI option. Windows 8 should now load.

Troubleshooting

This article has been up for a number of months now and there have been a large number of comments added. Some of the comments provide nuggets of information that will be useful to others.

Click here for 9 tips for troubleshooting Windows 8 and Ubuntu.

If either Windows or Ubuntu won't load or nothing loads at all it is worth checking over the above steps to make sure you turned off fast boot and secure boot.
If you think you have done everything correctly then copy any errors and load the Live USB version of Ubuntu again.

Now Google is again your friend (and not at all evil). Search for the error text that you received or go to the Ubuntu forums and search there for your error.

If that fails to help you can either ask for help yourself at the Ubuntu forums or on the Ubuntu sub-reddit.
Another option is to open XChat by pressing the super key and typing XChat. Now find the Ubuntu IRC chatroom and state your issues within the realms of IRC chat. There are always helpful people there.
but ..... if all else still fails .... remember those backups I mentioned throughout this article. It is time to think about using them.

You can always restore Windows to it's original state and try following the instructions again.

Summary

I hope this article helps some of you install Ubuntu alongside Windows.

It will probably take you less time to install Ubuntu than it has to read the article down to this far.

Don't be afraid. Give it a go. You will be glad you did. Let's face it. Windows 8 sucks.

Thankyou for reading.

Setting Up The Raspberry PI 2


Introduction

It has been a while since my last Raspberry PI article. I have recently been given the new Raspberry PI 2 so I thought I would produce a new tutorial showing how to set it up.

My previous guide for setting up the original Raspberry PI is somewhat out of date. You should follow this guide regardless as to whether you have bought (or are going to buy) the Raspberry PI B+ or the Raspberry PI 2.

There are now a couple of alternative guides:


Who Is The Raspberry PI For?

There are so many uses for the Raspberry PI that it is hard to define one single user but here are a few reasons to get one:

  • Great for children and teenagers to learn how to use computers and create their own programs
  • Great for children and teenagers who have an interest in electronics
  • Can be used for a web kiosk in a cafe, small bed and breakfast, guest house or hotel
  • Can be used for digital signage in small outlets such as local shops
  • Can be used to run XBMC to turn your television into a media centre
  • Can be used to run games emulators for retro gaming
  • Can be used as a small file server, web server or print server
  • Can be used to download large files from the internet 
In the coming weeks I will explore some of these concepts.

What Equipment Do You Need?






















The image above shows the equipment I have for the Raspberry PI 2.

The items and reasons why they are required are as follows:

The Keyboard


You will need a keyboard to set up the Raspberry PI the first time.

If you are going to use the PI as an actual computer then you would probably be better off buying a standard USB keyboard but if you are more likely to use the PI as a server or fpr digital signage you can buy a mini keyboard.

Remember this is a one time only purchase as you will be able to use the same keyboard whether you use the original Raspberry PI, Raspberry PI B+, Raspberry PI 2 or in the future the 3, 4, 5, 6 or 7.

The Mouse


The mouse is also required during the initial setup of your Raspberry PI.

Again if you use the Raspberry PI as an actual desktop computer you will need the mouse all the time but if you use the Raspberry PI as a server you will probably only need to use the mouse once.
SD CARD:
You will need a micro SD card for running the operating system on the Raspberry PI and for storage space.

You can buy a 16 Gigabyte SD card for as little as £5.53 and install the Raspberry PI operating system yourself (as this guide shows) or you can pay a little bit extra and buy a 16 Gigabyte SD card for £12.99 with NOOBS pre-installed.

To be honest it will take you no time at all to install NOOBS onto an SD card but you do need an SD card reader. (either built into your computer or available for purchase).

If you need to buy an SD card reader you might be better off buying an SD card with NOOBS pre-installed.

The Raspberry PI



You will of course need a Raspberry PI 2.

This little computer is fantastic. There are other single board computers out there and they all claim to be better than the Raspberry PI because they either provide more memory, a better chip or some other unique selling point.

The beauty of the Raspberry PI is how much you get for so little money.

Just £29.99.

WIFI Dongle


If you plan to keep your Raspberry PI next to your router then you can get away with using the ethernet port with an ethernet cable and connect via a wired link but most people like to connect wirelessly to the internet from their Raspberry PI.

If you plan to use the Raspberry PI for digital signage you will almost certainly need a WIFI dongle.

Be careful when choosing the WIFI dongle because not all of them are as simple as plug and play.

The LP Link dongles are particularly hard to use.

Bluetooth Dongle



A bluetooth dongle isn't particularly necessary but if you plan to use your Raspberry PI as a retro gaming console you will need one in order to pair up games controllers.

You can use a WII controller or an OUYA controller with the Raspberry PI using a cheap bluetooth dongle.

Raspberry PI Case



A case isn't 100% necessary but if you are using the Raspberry PI as a media centre or for retro gaming it will certainly look better than a small circuit board with lots of protruding cables.

If you use your Raspberry PI for electronics then the case might get in the way when trying to connect breadboards.

A case will help however to keep dust off the Raspberry PI.

Powered Hub



The Raspberry PI 2 consumes less power than the original Raspberry PI but you will almost certainly need a powered USB hub.

Everything you plug in to the Raspberry PI's USB ports draws power and it doesn't take much to stop your little computer in its tracks.

By using a powered USB hub you can add bluetooth dongles and even an external USB hard drive without crashing the Raspberry PI.

This is pretty much an essential requirement.

Power Supply


You will need a power supply in order to make the Raspberry PI 2 work.

Be very careful when buying a power supply and make sure that it is designed to work with the Raspberry PI 2 otherwise you might fry the board.

Formatting The SD Card

Note: Skip this section if you bought an SD card with NOOBS pre-installed

That last section was longer than I intended it to be. Hopefully you have what you need in order to set up and use your Raspberry PI.

To actually get started however you will need to put NOOBs onto the SD Card.





















Before you can put NOOBS onto the SD card you will need to format it.

Insert the SD card into your SD card reader. (If you are using an external card reader connect the reader to your computer).

This guide assumes you are using Windows to format the drive.

Visit https://www.sdcard.org/downloads/formatter_4/eula_windows/index.html, read the agreement and click "Accept".

The SD Formatting software will be downloaded to your downloads folder. Open the downloads folder and double click on the SDFormatter zip file.

When the zip file opens double click on the Setup file.

A welcome screen will appear. Click "Next" to continue.





The second screen asks you to choose where to install the SDFormatter.

Unless you wish to change the default folder click "Next".










Finally you are ready to install the software.

Click "Install" and answer yes to any question that asks whether you are sure or you need to give permission to install the software.










An icon should appear on your desktop for the SD Formatter.

Double click on the icon and this screen will appear.

Add a volume label and click the "Option" button.







Make sure the format type is "quick" and that the format size adjustment is set to "On".

Click "OK" to continue.







When you return to the main screen click the "Format" button.

The SD Card will be formatted and a screen will appear telling you that the process is complete.








Install NOOBS To The SD Card





















Note: Skip this section if you bought an SD card with NOOBS pre-installed

NOOBS stands for New Out Of Box System.

When the original Raspberry PI was created you had to perform a number of steps to install Raspbian which is the most popular operating system available for the Raspberry PI.

The NOOBS system makes setting up the PI easier and allows you to choose how you will use the PI and includes options for setting the PI up as an XBMC device.

To get NOOBS visit www.raspberrypi.org/downloads

Click the "Download Zip" link next to NOOBS.



























Navigate to the downloads folder and open the NOOBS zip file by double clicking on it.

Click the "Extract All" button to extract all of the files.

You can choose the location where the files are extracted to.

At this stage it is worth sticking with the defaults.

Click "Extract"





Go to the extracted folder containing the NOOBS files and press CTRL and A to select all of the files.

Now drag the selected files to the drive letter assigned to the SD card.

Open the SD card and make sure the files have copied correctly.





Set Up The Raspberry PI Using NOOBS






















I apologise for the quality of the images for this bit but they are direct camera shots of the Raspberry PI connected to a monitor as there is no internet connectivity at this stage.

Insert the SD card into your Raspberry PI. (Don't bother enclosing the Raspberry PI in a case at this stage in case the image has been copied incorrectly).

Make sure that you have a USB keyboard and mouse connected via the USB ports on the Raspberry PI and add a WIFI dongle or an ethernet cable from the PI to your router.

Power up the Raspberry PI. A screen should appear as shown above with an option to install Raspbian.

Check the box and click the "Install" button.

A message will appear telling you that your SD card will be overwritten with the Raspbian software. Click "Yes" to continue.

The files required to run Raspbian will be extracted to the SD card.

The process takes between 15 and 20 minutes.

A message will appear stating the OSes have installed successfully.




After pressing OK the Raspberry PI will reboot into a config screen.

As you are using NOOBS you will not need to choose option 1 as the file system will automatically be expanded.

You should however change the password for the PI. Select option 2 and press return on the keyboard.

A message will be displayed saying that you will be asked for a new password. Press OK to continue. The request for the new password will appear in the bottom left corner of the screen. Enter the password, press return and repeat the password when asked to do so. Press return again.

You can choose whether the Raspberry PI boots to the command line or a desktop operating system. You can also request for the PI to boot straight to SCRATCH which is a game programming environment aimed at kids.

By default the system boots to the command line. If you require a graphical user interface choose option 3 and press return.


If you need to change the language or keyboard layout choose option 4.

If you have a Raspberry PI camera choose option 5 to enable the camera module.

Option 6 lets you add your Raspberry PI to a global map showing all of the places where the Raspberry PI is being used.

When the original Raspberry PI was released you almost had to overclock it in order to be able to use it properly. The Raspberry PI 2 has 1 gigabyte of RAM which isn't massive but the requirement to overclock has diminished slightly.

Overclocking provides a small amount of risk and it can reduce the lifespan of your Raspberry PI. If you find that you can't use the PI for what you want to use it for then consider overclocking the device. 

To finish the setup press the tab key until the "Finish" option is selected and press return.

Raspbian






















After clicking "Finish" you will be asked to reboot the PI.

A loading screen will appear and eventually you will get to the main desktop.

There is a single panel at the top with icons for the menu, web browser, file manager and terminal.

A full review of Raspbian and the Raspberry PI 2 will be coming shortly so I won't go much further than that at this stage.

The last thing I am going to focus on in this article is connecting to the internet.

Connecting To The Internet

If you have a wired internet connection via the ethernet port then you can browse the web from the PI by clicking on the icon next to the menu icon.

This section deals with setting up a wireless connection.

Click on the menu and choose "Preferences" and then "WIFI Configuration".

The GUI for setting up WIFI isn't particularly user friendly.

Press the "Scan" button.







A list of wireless networks will appear.

Double click on the one you wish to connect to.








You will now need to enter your security key.

The screen used for this is fairly large and encompasses all encryption methods and authentication types.

As you can see from the screenshot, to connect to a WPA Personal network all you have to do is enter your security key into the PSK box and click "Add".












Your internet connection should now be set up and you should see a status of completed.

After you have set up a network once you can connect to it on subsequent occasions by selecting it from the network dropdown list.

Clicking "Connect" connects you to the internet.



Further Reading

I hope you found this guide useful. I will be writing further guides in the coming weeks including taking a look at Scratch and the GPIO functions of the Raspberry PI.