| Where can I get Ubuntu from? Download from the internet Ubuntu can be downloaded for free from the Get Ubuntu Download Page. When I had a dial-up account with a 56k modem, Ubuntu 'Warty Warthog' seemed an enormous download. It took almost forever, but there were no internet usage charges from my ISP on dial-up accounts. People with Broadband accounts, can download much faster, but if you have to pay your ISP by the MB, too much internet usage might cost you a little bit more money. If that is the case for you , then Ubuntu might not be free, so be careful and check first. If you are lucky enough to have an 'unlimited downloads' broadband or cable account, it might not matter to you how much you download from the internet. In that case 'go for it'. Bigpond Broadband customers, If you live in Australia, you can download Ubuntu from the Bigpond File Library, and the exact place to look is in Ubuntu Linux files. If you are a Bigpond Broadband customer, the download is even free of internet usage charges. (The usage from downloads from the Bigpond site is not added to your bill). Make sure you read the details about the file carefully before you begin any download to make sure you select the right one.
Everyone, While you are at the site where you download the file from, be sure to have a look around for an MD5 checksum, and/or a SHA1 checksum. I always copy those to a text file and save it. When the download is complete I use it to verify the integrity of my downloaded .iso file. For example,
Downloading with either the wget command or with BitTorrent would be much more reilable than downloading files through any web browser. Your files are much more likely to be intact and pass the md5sum test. |
|
Why integrity check your downloaded .iso? To sum all this up, a bad .iso file means a bad CD, which is not only a waste of a good CD, it might cause you a lot of lost time and much frustration and headaches later on as well. Quite often the .iso file gets accidentally corrupted a wee bit somehow on its way to us through our browser, or the copy we are downloading is itself a corrupted copy. Theoretically, (although unlikely), there is also a potential for someone to tamper with software files somewhere along the lines, and plant spyware in it or similar, which we would not want. (This could be more of a threat if you live in a non-democratic country with political problems). It is a wise precaution to run an md5sum integrity check on your newly downloaded .iso file before burning it to a CD. The md5sum integrity check and the sha1sum integrity check will show a completely different output if even as much as one small punctuation mark is missing or out of place in the whole .iso file. An error as small as one wrong punctuation mark might seem trivial if it was a book to read. In computer software one tiny punctuation mark's worth of error could potentially cause radical and unpredictable consequences for the computer's performance if it happens to occur in a vital spot in some code. Often the install will go okay but you might have some 'broken packages' after the install. Those are easy to fix. Other times people have terrible problems with the install and no-one knows why. It could be that a vital part of the install CD's software is corrupt or missing. People can have all kinds of trouble trying to get their install completed and their system booted for the first time. Checking the .iso and the CD-ROM's integrity with MD5 might prevent some of these problems. |
| Checking the integrity of your .iso in Ubuntu If you have a friend who already has Ubuntu or any other linux installed this is very easy. You only need to make sure the file is located in the /home/username folder, open a terminal and type, Code: ,and press enter and wait for a minute, you should have the same result
from your md5sum check as the md5sum given near the download link from
whatever website you downloaded it from. For mine it
is:
Quote:
This proves my file has been downloaded 100% intact and has not been corrupted or tampered.
It is safe to burn to a CD whenever I like. If yours is different, check what it should be from your download site. Another test is the sha1sum test:
Code:
you can do the sha1 test too, to make really sure your .iso file is perfect if you want.
|
| Checking the integrity of your .iso from a Linux live CD
Another way this could be done would be by
using a Ubuntu or Knoppix live CD and mounting the partition
containing the .iso with that. See my Mounting Page to learn how to 'mount' another filesystem in a Ubuntu Live (Desktop) CD. Find the path for the .iso and run the md5sum from the live CD. Then verify the .iso in a similar way as explained above. |
| Checking the integrity of your .iso in Windows If you have no-one living near you who has any Linux system installed in their computer, and it seems to complicated for you to do it with the 'Desktop' Live CD as suggested above, you might have to check your downloaded .iso from your Windows-only computer. There are lots of different brands of software you can download and use for that. One I tried that I can recommend is 'MD5summer'. ![]()
fig 1 md5
![]()
fig 2 md5
![]() When I double-clicked the first one, and a window appeared like a Windows Explorer window. I selected my folder called 'iso folder', where I left my newly downloaded Ubuntu 'Breezy' install .iso . Then I clicked the 'create sums' button. ![]()
fig 3 md5
fig 5 md5
After a few minutes my MD5 checksum appeared: 126751a2dc5528c2f9044d9e4ee36d61 the same as I get when I check it with Linux, so it must be correct! NOTICE: The example shown here is for Ubuntu 'Breezy Badger 5.04', which was an earlier release of Ubuntu. Thanks Ubuntu forum member Bartender for your help with this subject. There are other kinds of software available on the internet for checking md5sums. It shouldn't matter if you prefer to use a different instead. |
| Burning the .iso to a CD-ROM Burn your .iso as an .iso CD, not as a data CD Since everyone has different CD burning software in the operating system they are using to begin with, it's impossible to give specific details on how to burn the .iso to a CD-ROM. The main thing is to make sure you burn the .iso as an '.iso', and not as a regular 'data' CD. If you burn the .iso as 'data', you won't be able to boot from the CD to run the install. Burn to Good Quality Media When you buy blank CD-ROM or CD-RW disks, read the information on the side of the container they come in and make sure you get good quality CD-ROM or CD-RW disks. You want disks that are suitable quality for software, not just for audio (music). You might have to pay a little more, but it will be worth it. Burn At A Slow, Steady Speed Such as 4X or even slower. (I burn at 1X for this job). It's not a race, and a few minutes extra will be more than made up for when I have a good CD the first time. |
| Preparing to Install Just like most other things you do, you can make it it lot easier on yourself and have more chance of achieving a good result by beginning with the right preparations for the job. 1)Check how much room you have on your hard disk, and decide how much you need to keep for Windows, and how much for any other partitions you might want. The initial install is at least 1.8 GB without any files or extra software installed.The smallest partition size I have used was 3.0 GB. It was okay for what I wanted it for at the time. Don't forget to allow for your extra FAT32 logical partition if you have NTFS. Most modern computers have nice big hard drives. 10.0 GB is a good size to begin with if you have the hard drive space. 2) Back up all your data! Back up all your data! Back up all your data! You can always restore your old operating system and data as long as you have everything backed up. If you decide to copy one of these example installs, you will be doing some operations which can result in erasing everything out of your computer if you make a mistake or have some bad luck. You need to be confident that you or someone else can easily restore everything back to normal if things should go wrong. If you do not feel confident about being able to fully restore your system it might be better to wait until your computer skills develop more, or make sure you have someone who does know what to do lined up to help if you need it. 3) Defrag Windows to consolidate Windows files near the beginning of your hard disk, ready for resizing your Windows partition. This doesn't matter for the 'Desktop' Live CD's partitioner, only for the 'Alternate' CD. The Ubuntu 'Alternate' CD's partitioner, 'partman', will refuse to do anything if it finds Windows files in the way, and normally Windows tends to scatter its files all over the place on the hard disk. It is best to give Windows a good defragging before installing Ubuntu. Sometimes you may need to defrag several times. You should run Scandisk first for best results, and then run the Disk Defragmenter after that.
* Here's another tip I have read about concerning the degragging of Windows. This is optional, and is not really necessary for most computers unless you have already had problems resizing. Windows has a thing called a 'page file'. This is kind of like 'fake' memory. It's for when your real memory is getting a bit full. It's kind of a 'slow lane' for memory. It works by writting slow moving memory stuff temporarily to the hard disk leaving your real memory available for the 'fast lane' stuff. The 'page file' shows up as a big green unmovable block in the defragmenter. It might be a good idea to get that out of the way too, before defragging the partition. Just turn it off in 'Control Panel' -->'System' --> 'System Properties'-->'Advanced' tab -->'Performance, Settings button' --> 'Advanced' tab, 'Virtual Memory',-->'Change', take note of your settings (on a piece of paper), and click the radio button for 'no paging file' -->'Set', 'Apply', 'Okay'. Then restart your computer and now you can run defrag as many times as you need to, without the big green block in the way. (If you do this, don't forget to go back and turn it on again later, after the resizing is over, and Ubuntu is installed). The ubuntu-6.06-desktop-i386.iso and later editions use the GParted partitioner, and these do not require prior defragging of Windows. I don't know how it works, but GParted can resize Windows no problems at all without wasting any time defragging first. Of course defragging is always a good thing anyway though. For the 'Desktop' Live CD's partitioner: It's a good idea to run CHKDSK /R on your NTFS file system. If you find that the Ubuntu 'Desktop' Live CD's partitioner refuses to resize your NTFS partition, it is probably because it needs a file system check. CHKDSK can be run from Windows or from a Windows Recovery Console. NTFS and FAT32 file system repair and maintenance. 4) Make an emergency boot floppy disk or CD-ROM for booting either Windows or your new Linux install just in case of any possible bootloader difficulty. Super Grub Disk is free and it's only a small download and it's extremely useful. Take a look at this website's Super Grub Disk Page for more help if you need any. GAG Boot Manager is another good emergency boot disk, especially for booting Windows with . To see my GAG Boot Manager Page, Click Here. For extreme problems booting Windows, Here's the ultimate web-page for heavy duty, hard case Windows boot disks and troubleshooting, Click Here. You can also download NTLDR boot discs from this site now and I highly recommend them. These are not for booting Linux with, but they will boot Windows in some situations when chainloading from Grub or even Super Grub disk doesn't work. 5) Back up your MBR If you are really scared of the Linux bootloader you can back up your MBR first, Click Here to see how to use a Linux live CD for doing that. This is optional. 6) Have your network and internet connections plugged in and other hardware turned on. (So Ubuntu can auto-detect your network hardware during the installation). This is not vital, but it does help a little. 7) When doing any kind of partitioning work and installing operating systems, it is recommended that you use a good, dependable UPS unit between your computer and the household electricity outlet. This is particularly important during this critical time, as even a very short power failure or fluctuation in your electricity supply can have unpredictable consequences. 8) Check your hardware's suitability for the new software In any computer It's a wise precaution to try out the 'Desktop' (Live CD) version of Ubuntu. This will help to determine if Ubuntu will work okay with your computer's hardware. If your computer runs the 'Desktop' CD well it is a good sign, if not, proceed with caution. The live CD runs a little slowly in the best of computers, but test whether things like your monitor and sound, keyboard and mouse, network connections and other important things like that will work. Often if one or two things don't work, you can fix them after the install. But if more than one or two things don't work, it might be too much work. Therefore poor live CD performance is an indicator for caution, but does not rule out installation completely. I have had good installs with a shaky CD drive, but have had to keep repeating the install process several times before 'getting there' in the end. It can still result in a satisfactory installation. LAPTOPS If your computer is a laptop or notebook, great progress has been made in making Ubuntu suitable for all laptops. I don't think there is any special reason these days to think a laptop wouldn't be supported just because it is a laptop. You can check to see if your laptop is on one of the supported laptops lists. If your laptop hasn't been mentioned it doesn't mean you can't install. Just take the same precautions as for a desktop computer (back up your data), and go ahead and take the plunge! |
| Clean your optical drive lens Even if a CD/DVD drive can read music and video CDs and DVDs okay you can still have problems with a software CD due to a little dirt on the optical drive lens. If your installation CD won't boot or freezes part of the way through and maybe ends in red warning screens it could be that you have a dirty CD/DVD drive. This is another reason why it is important to make data backups before using hard disk partitioning and operating system installation discs. Just a small grain of dust or oily film on your optical drive lens can cause major havoc and result in something like a corrupted partition table. Normally such dirt is invisible to the naked eye, and this can happen to anyone, regardless of how clean your house and computer is. Keeping your computer and its surroundings clean is a big help though. Sometimes it is enough to run a special lens cleaning CD, some people recommend those and others don't believe in them at all, saying they can scratch your lens. If you buy a DVD/CD drive lens cleaning disk, make sure it's good quality. Some say it's better to just blast a little compressed air into your CD drawer, but others say that will will only move some of the dust around, not clean your drive properly. The main thing is to get the lens clean somehow. If your CD/DVD drive is really dirty then maybe neither of those above solutions will be enough. In some types of optical drives, the lens slides right out with the CD drawer so it's more exposed and prone to getting dirty, but on the other hand, you can reach it easily and clean it with a Qtip (cotton bud) dipped in ethyl alchohol (methylated spirits). If the lens is built to stay protected inside your CD/DVD drive box, you might have to open your computer case and remove the optical drive, take it apart, clean it properly and put everything back together again, (or buy a new drive if you're not so technically inclined). Here are some links about how to clean optical drives, Computer Cleaning Guide (and then click on the DVD/CD Drives link) Cleaning Your Xbox DVD Drive (the principles will work for pretty much any CD or DVD drive). Smart Computing: How to Maintain Your Optical Drives |
| Back up your MBR (Optional) Some people are a little worried about installing Ubuntu because Ubuntu will install GRUB bootloader's IPL to MBR in the first hard disk unless you specify otherwise. The 'Alternate CD', which this website is about, gives you full control of what bootloader will be used and where you want to install the IPL for it. Usually it is best to install GRUB to MBR. If you want to try installing GRUB to MBR, but you're not sure if you will like GRUB or not, or if you are afraid GRUB might not work properly in your special computer, I have added a how-to in my back-up & restore page about how to use any live cd to back up the IPL in your MBR before beginning an install. (And restore it again later if you want to). It's quite simple and easy to do, Back up your MBR |
| Help on Partitioning The 'Alternate' CD's Ubuntu installer features 'Partman' disk partitioner from Debian, based on GNU libparted. GNU Parted, QTParted, GParted LiveCD and Parted Magic are also all very good disk partitioning programs based on LibParted. You should only use a good 'Parted based hard disk partitioning program if you're going to install Ubuntu. Then stick with 'Parted based partition editors. Avoid mixing hard disk partitioners, (don't alternate between different brands). ![]()
|
| Partitioning Rules We can have between zero and four primary partitions in each hard disk, or we can have between zero and three primary partitions plus one extended partition. An extended partition can contain zero or more logical partitions. Logical partitions must be 'contiguous' (arranged in a series). A partition that has its own entry in the partition table inside the hard disk's Master Boot Record is called a 'primary' partition. The reason why can't have more than four primary partitions because there are only four 16 byte spaces for partition details reserved in the partition table.
They can all be different sizes, and there can be free spaces (gaps) in between.
We can make one of them as an 'extended' partition instead of a regular primary partition. An 'extended' partition is something like an empty box, and inside that we can create one or more 'logical' partitions. By using an extended type of partition and dividing it up into logical partitions, we can divide a hard disk up into a great number of partitions, many more than just four.
Something we can't do is place a 'primary' partition in between two logical partitions or the series of logical partitions will be broken and become unusable. Logical partitions are strung together like a series circuit or a chain. It is okay to leave an empty space between logical partitions, but we can't place a 'primary' partition in between two logical partitions or the series of logical partitions will be broken and become unusable. For this reason it is best to plan ahead a little and try to make sure we have room to add more 'primary' partitions or 'logical' partitions in groups in our hard disks. We probably don't want to use up out maximum of four primary partitions too soon, it is a good idea to make an extended partition sometime before we run out. What not to do:
In the illustration above, the four partition limit is used up. The extended partition is in between the primary partitions. There is free space at the end of the disc, but no more partitions can be created. What not to do:
It doesn't matter what you do as long as you're thinking ahead, Linux partitions can be 'moved' these days with the latest versions of GParted, but it can be a slow process. They can also be copied and pasted into an equal or larger area of free space, providing the partitioning rule won't be broken in the process. If you can plan your partitions well to begin with it will save you some time and frustration in the long run. Windows normally prefers to be installed and booted in a primary partition, but Linux can be installed in either 'primary' partitions or 'logical' partitions, it doesn't matter.
Ubuntu makes an ext3 partition for it's main part, or '/' (root filesystem), plus a small swap area. A 'swap' area is like a page file, but it's in a partition. By default, the swap area is logical but it really doesn't matter. Windows with the FAT32 filesystem is the best for dual booting with Linux because it's no problem to access Windows files from Ubuntu and read and write to them.
A primary partition is made to install the Ubuntu / (root) file system in and there's a logical partition for a FAT32 shared data partition. Linux has no problem writing to NTFS nowadays, but carefukl users might still like to keep using a FAT32 shared data partition anyway. It allows files being transferred between Linux and Windows to be scanned for viruses. Linux is immune to viruses, but a virus can be accidentally passed from Linux to Windows in certain types of files, so it's best to scan them for viruses first. There's a swap area at the end of the hard disk.
Then it creates a Linux EXT3 operating system (root) partition (primary). At first the files in / will only take up about 1.8 GB, but good size for a / partition would be at least 5.0 GB to allow roon for adding software. It makes a logical EXT3 /home partition, (logical), a FAT32 data partition, (logical), and the remaining space is used as a swap area. If you find later on that you got your partition sizes wrong, or your needs have changed since you made the partitions, don't worry about it. GParted -- LiveCD is free and only a small download and can do everything you need with all your partitions and filesystems. It can even move Linux partitions from the start of the partition as well as the end. NTFS is not a problem, GParted -- LiveCD can create NTFS filesystems too. Partitioning Laptops
Normally they don't take up very much hard disk space, so it would be best to just leave them alone. Please refer to the instructions for your brand and model of computer to find out if you can make or obtain your own Windows Installation Disc or Recovery CD, in case the hard disk's partition table might ever get accidentally corrupted somehow and the recovery partition can't help you. What not to do:
If it does, it might not be correctly labelled. You can edit the title for it in your GRUB menu by editing your /boot/grub/menu.lst file in Ubuntu. Make sure you never boot the recovery partition by mistake. In some computers it will erase and reformat your entire hard disk! At least it might erase and reformat your other operating system. Windows Default Dual Boot Windows can normally only be installed and booted in a primary partition, but sometimes it can be installed and booted in a logical partition if it boots through another Windows installation. For example,
If you do that you will be making a big mistake and I am not sure if it can be easily repaired. Here is a great link on the subject: Understanding Multibooting and Booting Windows from an Extended Partition by Dan Goodall.
Also, if all the data is removed and Windows 98 is cleaned up, it can be shrunk to a minimal size and really doesn't take up very much hard disk space at all. The Windows XP partition can be moved with GParted -- LiveCD and that should make a little more room for Ubuntu. Two Hard Disks
Thanks confused57 and lha, catlett, Sutekh, shoki, gn2, mingus, bulldog, xpod, Bigbluecat and all other participants for the information in these threads. It is only a little bit more complicated to use two or more hard disks for installing operating systems on. I have helped users with up to seven hard disks. If they are all IDE or all SATA it is reasonably trouble free. When IDE and SATA drives are together in the same computer it can mean whatever bootloader you use might need a little manual help to get fully configured. That's not usually too much of a problem, it's relatively simple to figure out. Windows and Linux Multiple Boot Arrangements
I prefer to install each of my Linuxes as a single partition install, all in one 'root' partition. (As opposed to having a separate /home). That way I can multiple boot lots of operating systems without making such a complicated mess of my hard disks. Each operating system is independent. I like things better that way. The red partition is the swap area that all my Linux operating systems share. If you are going to try previewing and testing a new version of Ubuntu before it is officially released, there is a smart way to do it. You don't need any data in it, (keep your data somewhere else), and you want to be able to restore your whole partition in a hurry with most of your added software, settings and updates. The spare partition at the end of the disk could be used to store compressed Partimage backups of my Hardy test installation. If I get a bad update or try an experiment that causes some kind of severe problems for my Hardy test install and I think it will be too much work to repair it, I can just delete the whole partition. I can then just restore it again to an earlier state from the Partimage backup. Aysiu has the best web page about how to Use PartImage Windows and Two Linux With a Shared /home
Of course, another thing we can do is install more than one desktop in an operating system. I have one operating system that can be booted as Ubuntu, Kubuntu or Xubuntu by selecting a different desktop at login. There is no need to have separate partitions to try out different desktops, just install as many different desktops as you like in the one system. There are many more desktops available. ...but that's a subject for after you install!
|