1 00:00:00,065 --> 00:00:03,464 Hello, my name is Alan Pope. Welcome to this screencast. 2 00:00:03,564 --> 00:00:07,256 In this screencast we are going to look at dual boot installing Ubuntu. 3 00:00:07,256 --> 00:00:10,590 That means running Windows and Ubuntu side by side on the same computer. 4 00:00:10,590 --> 00:00:16,084 We have a computer here that has got Windows already installed and we want to install Ubuntu, 5 00:00:16,154 --> 00:00:20,330 but be given the choice a boot time, whether to run Windows or Ubuntu. 6 00:00:20,430 --> 00:00:23,776 So we are logging on now to the Windows desktop 7 00:00:23,776 --> 00:00:26,923 and I have inserted an Ubuntu CD. 8 00:00:26,958 --> 00:00:33,916 The CD I have used is version 6.06 of Ubuntu, otherwise known as Dapper Drake 9 00:00:34,016 --> 00:00:38,742 and we can see that if we go to My Computer, there is my Ubuntu CD. 10 00:00:38,742 --> 00:00:42,728 While we are here, if I right-click and select autoplay 11 00:00:42,828 --> 00:00:45,455 or if I insert the CD whilst Windows is running, 12 00:00:45,555 --> 00:00:51,539 this application starts up, showing some Windows based open source applications 13 00:00:51,639 --> 00:00:55,071 that you can install directly from the CD. 14 00:00:55,141 --> 00:00:59,791 This is useful for people who maybe aren't ready to do the switch to Ubuntu yet, 15 00:00:59,861 --> 00:01:03,742 but want to have a look at what open source has to offer. 16 00:01:05,421 --> 00:01:08,532 There are a number of applications, including a web browser, 17 00:01:08,498 --> 00:01:12,623 email client, word processor, instant messenger and graphical editor. 18 00:01:12,723 --> 00:01:15,840 These are all part of the OpenCD project. 19 00:01:15,940 --> 00:01:20,736 What we are going to do next is boot from this CD to try out Ubuntu. 20 00:01:22,938 --> 00:01:25,980 So let us reboot the PC. 21 00:01:26,085 --> 00:01:30,351 You may need to set your PC to boot from CD, 22 00:01:30,451 --> 00:01:35,561 which might need to be done in the BIOS, or you might have a menu option when you turn your computer on. 23 00:01:35,561 --> 00:01:38,918 It might mean that you have to press a certain key, 24 00:01:39,018 --> 00:01:43,638 del or a certain function key, in order to make it boot from a CD. 25 00:01:43,738 --> 00:01:48,778 And this is now booting from the Ubuntu CD that you just saw under Windows. 26 00:01:49,582 --> 00:01:53,499 You can see that there is a progress bar crossing the screen slowly 27 00:01:53,599 --> 00:01:59,128 and various pieces of text going up the screen, telling you what it is doing. 28 00:02:03,499 --> 00:02:09,023 And this is going to boot into a live environment, that you could use on a desktop or laptop PC, 29 00:02:11,121 --> 00:02:15,212 but you will also have the option of being able to install it on to your hard drive. 30 00:02:15,352 --> 00:02:18,254 Now bear in mind that we have already got windows on this hard drive, 31 00:02:18,354 --> 00:02:24,129 so we are going to have to partition the disk, so that we can fit Ubuntu on there as well as Windows. 32 00:02:24,198 --> 00:02:27,835 Now this procedure doesn't always work 100% reliably, 33 00:02:27,909 --> 00:02:32,683 so it is worth saying that you should backup everything on your Windows partition as a matter of course, 34 00:02:32,702 --> 00:02:36,348 before you attempt to repartition the disk and install Ubuntu. 35 00:02:36,448 --> 00:02:39,280 That is just a sensible precaution anyway. 36 00:02:41,103 --> 00:02:44,824 In addtion to which, sometimes this procedure doesn't actually work 37 00:02:44,924 --> 00:02:47,906 for certain makes and models of PCs, 38 00:02:48,006 --> 00:02:51,026 certain chipsets of Motherboard 39 00:02:51,026 --> 00:02:55,687 and there is an alternative CD, called the alternate CD, that doesn't boot into a live environment, 40 00:02:55,787 --> 00:02:59,991 but still allows you to install Ubuntu and that's another option you can try 41 00:03:00,028 --> 00:03:03,994 and we will probably look at that in another screencast. 42 00:03:08,467 --> 00:03:13,147 Bear in mind it is slightly slow to boot up because it it running everything from a CD, 43 00:03:13,247 --> 00:03:17,770 which is orders of magnitude slower than running from a hard disk. 44 00:03:20,552 --> 00:03:23,671 So now we have the Ubuntu desktop, 45 00:03:26,096 --> 00:03:28,877 running from the live CD 46 00:03:31,095 --> 00:03:34,497 and we could use the various applications installed 47 00:03:34,534 --> 00:03:38,368 or we could go and have a look at the disks as they are configured. 48 00:03:38,406 --> 00:03:44,082 We use the GNOME Partition Editor or gparted. 49 00:03:44,796 --> 00:03:48,893 This is gparted, the GNOME Partition Editor and you can see we have one disk in this machine, 50 00:03:48,931 --> 00:03:51,581 which is addressed as /dev/hda. 51 00:03:51,505 --> 00:03:54,813 There is one partition on there which is an NTFS partition, 52 00:03:54,851 --> 00:03:56,913 that is my Windows partition. 53 00:03:58,121 --> 00:04:01,805 It has got plenty of unused space, so what we want to do is shrink that partition down, 54 00:04:01,993 --> 00:04:05,601 and you can see, if I click on it, there is a move/resize option. 55 00:04:05,701 --> 00:04:09,379 So, directly in gparted, I could resize that partition down to make room at the end 56 00:04:09,397 --> 00:04:11,258 for my Ubuntu installation. 57 00:04:11,358 --> 00:04:13,513 Now I'm not actually going to do that in gparted, 58 00:04:13,613 --> 00:04:18,456 because the installation software has the ability to do that as well, 59 00:04:18,556 --> 00:04:22,271 so we are going to try that, but as I said 60 00:04:22,371 --> 00:04:25,711 sometimes the partition editor can't work in certain situations 61 00:04:25,811 --> 00:04:30,184 and that is why you need to to know that gparted is there, that allow you to repartition disks. 62 00:04:30,221 --> 00:04:32,402 So I've double-clicked the install program on the desktop 63 00:04:32,458 --> 00:04:35,315 and it is now asking me which language I want to run the installer in 64 00:04:35,415 --> 00:04:37,965 and I'm going to run it in English. 65 00:04:39,393 --> 00:04:42,099 I click forward and it now asks me where I am in the world. 66 00:04:42,199 --> 00:04:47,681 This is for setting up time zone and the time on my computer. 67 00:04:48,621 --> 00:04:51,553 I have said that I am in London, which is the nearest city to where I am 68 00:04:51,653 --> 00:04:57,830 and you can see here, the current time is the same as the current time on my local machine, so that is right. 69 00:04:58,770 --> 00:05:00,950 I click forward. 70 00:05:02,134 --> 00:05:05,348 Now it is asking me what keyboard layout I have 71 00:05:07,077 --> 00:05:09,858 and down here I can test out the keyboard layout, 72 00:05:11,193 --> 00:05:15,402 pressing special keys to make sure that they all appear correctly. 73 00:05:18,071 --> 00:05:21,172 Once you have chosen the correct keyboard layout, press forward. 74 00:05:22,281 --> 00:05:26,115 Now it's asking you for your name. There is no nafarious reason why it needs your name, 75 00:05:26,215 --> 00:05:30,663 it is just so that when you display things, they come up with your name correctly. 76 00:05:31,283 --> 00:05:36,095 Here is your username, which you can choose 77 00:05:36,583 --> 00:05:40,605 and a password to secure your data and your machine. 78 00:05:40,493 --> 00:05:45,717 This first user will be an administrative account and will have quite a lot of access to control the machine, 79 00:05:45,817 --> 00:05:48,743 so we need to be careful with that password. 80 00:05:48,843 --> 00:05:53,235 And we give the computer a name. 81 00:05:55,321 --> 00:05:58,667 Now it's asking us which disk we want to install Ubuntu on, 82 00:05:58,767 --> 00:06:01,467 it goes off and scans to find out how many disk there are in the machine. 83 00:06:04,643 --> 00:06:06,335 And we get a number of options here. 84 00:06:06,316 --> 00:06:07,744 The first one is the one I am going to choose, 85 00:06:07,763 --> 00:06:11,841 resize the first IDE disk, but there are other options. 86 00:06:11,860 --> 00:06:15,356 You could wipe the disk, now I don't want to do that because I don't want to lose my Windows install, 87 00:06:15,393 --> 00:06:18,740 I want to have a dual boot installation. 88 00:06:19,622 --> 00:06:23,963 We can move this slider backwards and forwards to create the size of our new partition 89 00:06:23,982 --> 00:06:26,670 in which we will install Ubuntu. 90 00:06:26,726 --> 00:06:29,489 When I click forward it goes off to do some analysis 91 00:06:29,921 --> 00:06:32,383 and it should do the repartitioning. 92 00:06:33,661 --> 00:06:36,800 Remember again sometimes this repartitioning doesn't work, 93 00:06:36,819 --> 00:06:44,900 you might need to use gparted, alternatively you might actually need to use a third party CD 94 00:06:45,000 --> 00:06:48,433 which we will look at in just a moment. 95 00:06:55,086 --> 00:06:59,898 Incidentally the alternate CD has further options for this disk partitioning. 96 00:07:02,040 --> 00:07:05,799 Okay, so now we have a summary of what it plans to do to our machine. 97 00:07:05,574 --> 00:07:09,596 You can see down here at the bottom, it's going to add two new partitions 98 00:07:09,696 --> 00:07:13,411 in addition to our existing Windows partition. 99 00:07:13,430 --> 00:07:17,715 Partition 2 on hda first disk is going to be of type Ext3, 100 00:07:17,815 --> 00:07:20,007 that is the type of filesystem it is going to use, 101 00:07:20,026 --> 00:07:23,879 and partition 5 on hda is going to be swap. 102 00:07:29,517 --> 00:07:33,577 Swap on Linux is the equivalent of Page File on Windows. 103 00:07:36,565 --> 00:07:40,343 So now the installer is running and we can pretty much leave it alone, 104 00:07:40,456 --> 00:07:43,651 we can go off and use the applications installed here. 105 00:07:43,989 --> 00:07:47,015 So have a play around with Ubuntu while it is installing. 106 00:07:57,314 --> 00:08:03,497 You can see now that it is creating the filesystem on the second partition of the first hard disk 107 00:08:03,535 --> 00:08:06,485 and now it is actually getting on the the installation proper. 108 00:08:11,409 --> 00:08:18,889 This takes a little while, so let us go and have a look at the web while the installation is running. 109 00:08:22,742 --> 00:08:28,587 The length of the time it take to install is dependant on a few factors, 110 00:08:28,662 --> 00:08:33,549 usually the speed of your computer, how much memory you have got and the speed of your CD-ROM drive. 111 00:08:33,850 --> 00:08:38,059 Now if we open our web browser and I take you to wiki.ubuntu.com 112 00:08:40,879 --> 00:08:44,882 and in the top right we search for dual boot, 113 00:08:44,982 --> 00:08:48,998 you will find the documentation that supports this screencast. 114 00:08:49,098 --> 00:08:53,903 In fact this screencast was based on the content of some of this web page. 115 00:08:54,016 --> 00:09:00,067 It's worth pointing this out because this web page has some useful information, 116 00:09:00,161 --> 00:09:03,977 if the procedure that I have shown does not work. 117 00:09:03,995 --> 00:09:08,731 So for example there are issues with XP and NTFS 118 00:09:08,831 --> 00:09:12,847 and here it details what to do if partitioning doesn't work 119 00:09:12,947 --> 00:09:17,208 or the installer fails with some other reason to do with the partitioning of the disk. 120 00:09:18,486 --> 00:09:23,616 It also outlines down here that modern PCs do not come with a Windows CD. 121 00:09:24,556 --> 00:09:29,367 An image of the Windows CD often comes on the hard drive and you have to burn it yourself. 122 00:09:29,931 --> 00:09:35,663 So it's a check that you need make that you have a copy of the Windows CD, should you need to reinstall it. 123 00:09:36,678 --> 00:09:38,990 Now let us skip forward in time slightly. 124 00:09:44,027 --> 00:09:50,342 Of course it will actually take a little bit longer than this, but let us skip forward a bit here. 125 00:09:56,525 --> 00:09:58,630 Nearly finished. 126 00:10:03,422 --> 00:10:06,711 Okay, we are right at the end now. 127 00:10:07,482 --> 00:10:13,139 Grub is a menu that gets installed, which is the first thing you will see when you reboot the PC. 128 00:10:14,229 --> 00:10:18,815 So now the installation has finished I can continue to use the live CD if I want to 129 00:10:19,172 --> 00:10:23,156 and carry on using the applications, just straight off the live CD, 130 00:10:23,175 --> 00:10:27,648 but now that I have installed Ubuntu I probably want to reboot to the hard disk. 131 00:10:27,748 --> 00:10:32,521 So that it is quicker and I can then customise the applications for my own use. 132 00:10:33,375 --> 00:10:37,255 So if I hit the power button in the top right hand corner and reboot the PC. 133 00:10:37,459 --> 00:10:42,935 First thing you see is it shut down nicely. 134 00:10:46,796 --> 00:10:52,012 Then it will ask you to remove the CD and press enter 135 00:10:52,030 --> 00:10:55,464 and then when you turn your PC on, you need to make sure that it reboots from the hard disk 136 00:10:55,483 --> 00:10:57,413 and not from the CD. 137 00:11:01,237 --> 00:11:03,929 Of course if you remove the CD, that is not a problem. 138 00:11:03,984 --> 00:11:06,193 So here is the GRUB boot menu. 139 00:11:06,509 --> 00:11:07,957 There is a number of options here, 140 00:11:08,057 --> 00:11:10,057 There are two options at the top for Ubuntu. 141 00:11:10,157 --> 00:11:13,581 The first option is to boot normally into the graphical user interface, 142 00:11:13,599 --> 00:11:18,760 the second is recovery mode, which with some assistance you can fix some problems that can occur. 143 00:11:18,797 --> 00:11:21,061 The third one does a memory test, 144 00:11:21,470 --> 00:11:25,646 memory problems can cause a lot of issues in PCs these days, 145 00:11:25,683 --> 00:11:27,001 that is why there is a test there. 146 00:11:27,057 --> 00:11:30,175 And the last option is the other operating system installed. 147 00:11:31,011 --> 00:11:34,111 If we choose the first option on this list and boot up, you can see now 148 00:11:34,211 --> 00:11:36,211 it is booting into Ubuntu. 149 00:11:36,357 --> 00:11:39,159 And again we get the progress bar going across the screen 150 00:11:39,259 --> 00:11:41,259 and the messages going up the screen. 151 00:11:42,371 --> 00:11:46,139 We happen to use version 6.06, otherwise known as Dapper Drake, 152 00:11:46,807 --> 00:11:51,726 But you could install a newer version, Edgy Eft version 6.10 is also available 153 00:11:51,912 --> 00:11:54,436 and it looks much the same. 154 00:11:54,536 --> 00:11:56,088 So this is the log on screen 155 00:11:56,181 --> 00:11:59,633 Now if we log on to Ubuntu using the username and password 156 00:11:59,733 --> 00:12:02,325 that we created during the installation. 157 00:12:02,919 --> 00:12:05,536 We should get the Ubuntu desktop appear 158 00:12:05,636 --> 00:12:10,362 You will notice that it is significantly faster booting from the hard drive 159 00:12:10,462 --> 00:12:12,330 than it was booting from the CD-ROM. 160 00:12:12,430 --> 00:12:14,430 There we go, we are straight into the desktop. 161 00:12:15,355 --> 00:12:17,342 There is our CD-ROM 162 00:12:18,808 --> 00:12:22,391 and our applications we will find under the Applications menu 163 00:12:22,491 --> 00:12:26,289 and there are loads of other good stuff up there, which will be covered in other screencasts. 164 00:12:28,442 --> 00:12:32,043 That is it, we have got Ubuntu installed and let us just do the final check 165 00:12:32,117 --> 00:12:35,681 We will reboot the PC and make sure that we can still get into Windows. 166 00:12:39,486 --> 00:12:45,222 So if I choose Windows XP from the boot menu, GRUB. 167 00:12:45,322 --> 00:12:47,969 There we go, it boots into Windows, no problem! 168 00:12:54,911 --> 00:12:57,584 It is all looking good. 169 00:13:00,072 --> 00:13:02,559 Just a final check, 170 00:13:02,659 --> 00:13:05,752 by logging on. 171 00:13:10,299 --> 00:13:12,582 This all looks good 172 00:13:12,682 --> 00:13:13,900 Okay, so in summary 173 00:13:14,000 --> 00:13:17,093 We can install Ubuntu on a disk that already has Windows on it. 174 00:13:17,594 --> 00:13:20,750 by resizing the partition that Windows is in 175 00:13:20,850 --> 00:13:23,720 leaving about ten gigabytes free for Ubuntu to be installed. 176 00:13:23,850 --> 00:13:26,337 and the installer sets up GRUB so that we can choose which 177 00:13:26,437 --> 00:13:28,437 operating system to boot to. 178 00:13:28,537 --> 00:13:29,641 Thanks very much for watching, 179 00:13:29,771 --> 00:13:34,226 My name is Alan Pope, you can contact me, alan@popey.com