Installing Operating Systems - CompTIA A+ 220-1002 - 1.3
Articles

Installing Operating Systems – CompTIA A+ 220-1002 – 1.3

August 2, 2019



when you're installing an operating system you'll need some type of boot media one type that's very common is to put the operating system files on a USB Drive the USB Drive has to be bootable and the computer you're using has to be able to boot from a USB interface but if you're able to do those two things you can plug into any available USB interface start your computer and start installing your operating system directly from USB another common operating system installation media is a cd-rom or dvd-rom but these drives are getting less and less popular and so we're seeing more of a move towards us be instead of CD or DVD in larger scale environments you may choose to put the operating system installation files on a central server and then you would boot your computer to use something called pixie or PXE this is the pre-boot execution environment as long as your computer is able to boot using a network interface card to a pixie server you can use this pre-boot execution environment and not have to have any local installation media if you're using Mac OS there's a similar technology to pixie called net boot which allows you to install mac OS across the network if you need to install many different types of operating systems you may want to consider using some external media that you would connect to with USB this allows you to install many different operating systems onto the single drive so you can take that drive with you anywhere and know that you have the operating system you need to install some of these external drives even allow you to configure parts of that drive to act as an ISO image this makes the drive look like a cd-rom or a DVD ROM image so you can plug this large storage drive into a USB interface but the computer sees it as if it's a DVD ROM Drive and another way to install the operating system is to have a separate partition on the same physical drive you would have one partition to boot from to run the installation process and that would install the operating system into a separate partition on the same drive if you've ever installed Windows you know that during the installation process there are a number of prompts that you have to answer in some environments it's useful if you can have all of those prompts pre answered and have the installation simply go through the entire process without any type of user intervention this is called an unattended installation you would provide all of the answers in a single foul called on attend and when you start the installation process it goes from the very beginning to the very end without prompting you at any point along the way as you can imagine in a large environment where there are many different installations occurring at the same time this type of unattended installation can save a lot of time some versions of Windows allow you to install a newer version of the operating system on top of the old version this is called an in-place upgrade and one of the benefits of doing an in-place installation is that you get to keep all of the applications and all of the configuration settings in place and all you're doing is simply changing the operating system from one version to another some versions of Windows however don't allow an in-place upgrade in those cases you have to copy all of your personal information off of that drive and perform a clean install where you were effectively deleting everything that was previously on the storage device and installing a brand-new version of the operating system once that clean installation is complete you would then have to copy back your files to be able to gain access to those there are migration programs and tools that can help with this process that will automatically perform the backup and then automatically restore that information once the clean install has completed and in some organizations you have very similar hardware and similar configurations that would be used on tens hundreds or even thousands of different computers in those environments desktop administrators create an image that they can quickly install onto many many different computers simultaneously allowing them all to have exactly the same configuration if you're having a problem with your Windows configuration and you would like to reinstall the operating system but leave all of your files and applications in place you'll probably want to run a repair installation the repair installation looks and feels very similar to a normal Windows installation but after it's over you'll still have all of your files and all of your configuration settings in place some people like to have the choice of running different operating systems when they start their computer this is called a multi boot installation the end user will install multiple operating systems onto the same storage device and then choose which operating system to start during the boot up process and most modern versions of Windows when you install the operating system windows will also install a recovery partition this will take all of the Windows installation files and make a copy of those into a hidden partition on your computer this is commonly used with a repair installation so that you can run the repair or run an install of Windows without needing to find the original Windows installation media this is the partition that's used in Windows 8 and Windows 10 if you're performing a refresh or restore of the operating system you don't have to look for your original installation USB Drive or a DVD ROM Drive you would simply choose the Refresh or the restore option inside of Windows and windows will pull all of that installation information from the recovery partition these partitions can be very useful when you're trying to logically separate different parts of the same physical storage drive although you may find it useful to have separate partitions to be able to store different types of data you may find that having separate partitions is not necessary for your specific installation one common use of having separate partitions on a storage device is when you're installing separate operating systems you might have one partition for one version of Windows one partition for another version of Windows and one partition for a Linux distribution when you're working inside of Windows you may see these partitions referred to as volumes and in the Microsoft world a volume and a partition are effectively the same thing with older operating systems you may find that the partitions are MBR partition style this is master boot record partitions and if there is an older operating system that's running on your computer you may find that MBR partitions are what that operating system is using these were separated into two different types of partitions the first type is a primary partition these are partitions that are bootable by an operating system so if you had multiple operating systems that were booted from a single storage device each of those operating systems would have their own primary partition with master boot record partitions you can have a maximum of four primary partitions per disk and you would normally allocate one of those as being the active partition so that your system would know which operating system to boot from by default when you start your computer the other type of partition you can have in a master boot record partition style is an extended partition this is useful if you needed to create another partition that wasn't necessarily bootable but you would like to separate data into that separate partition with MBR partitions you would create one single extended partition and within that extended partition you would create multiple logical partitions it's common in Windows to assign a drive letter to each one of these partitions so that you have a way to access and store files into those primary or logical partitions one limitation to these extended partitions is that none of these logical partitions that exist within that extended partition are bootable so you would not be able to install Windows or Linux into one of these logical partitions and then be able to boot from that operating system if you need to boot an OS you'll need to install that operating system into a primary partition all most modern operating systems we're not using the master boot record partition style we're instead using the GPT partition style GPT stands for gooood partition table where gooood is an abbreviation for a globally unique identifier a gooood is a unique number that is used to refer to a particular resource and in most modern operating systems we're using this GPT partition style to be able to use a gooood partition table you would need to be running a bios that is the newer UEFI bios but this will allow you to have up to 128 partitions for a single storage device this is very different than the Master Boot Record partitions where you had extended and logical partitions instead with GPT all 128 of those partitions are bootable so you could think of these as having 128 primary partitions this partitioning is important because this is the first thing you're going to do before writing any type of information to the drive before you install an operating system you have to first configure a partition there may be existing partitions that are already on the drive so you might install the operating system into an existing partition but you have to make sure the operating system is compatible with the partition that you'd be using as we mentioned earlier we can have up to four partitions on the MBR or master boot record style partition and we can have up to 128 partitions if we're using good partition tables just keep in mind that if we're running a good partition table then we must also be using a UEFI bios or a bios that has a BIOS compatibility mode some operating systems like Windows though will not boot in a BIOS compatibility mode you must be using the UEFI bios with the secure boot capabilities there is one important thing to remember when you're dealing with partitions this is the fundamental storage area for all of your data if you're adding removing or making changes to any partition you could potentially be removing data from that drive make sure that you always check your work before making any changes to your partitions if you're performing a Windows setup you may get a prompt like this that asks where you want to install Windows and it may provide you with a completely empty drive that has no partitions installed at all and then you can click the new button and build a brand-new partition that you would use for your Windows installation before adding a file system to a partition windows wants to know whether this will be a basic disk or a dynamic disk a basic disk is one that's very similar to the drives that we've always been using in dos and windows through the years there are primary partitions there may be extended partitions and logical drives and you would not be able to take partitions and span them across multiple physical drives the Windows operating system though provides you with a number different options for storing data on these drives and you may want to configure this partition as dynamic disc storage this is a feature available in most modern versions of Windows this allows you to add multiple discs to your system and simply extend your partition across all of those physical drives seamlessly to the Windows operating system you could also split data across multiple discs we call this striping or you can duplicate data onto multiple discs we call this mirroring some of these capabilities can provide additional performance or redundancy for your data not all of these dynamic disc options are available in all editions of Windows so make sure you know what options are available for your specific windows addition once you've created a partition and decided on what type of disk you're going to use you then need to decide what type of file system you're going to use on this partition the file system is the way that your operating system is going to use to categorize and store all of the files that will be used on the storage device different operating systems expect you to write this data into a particular file system for example Windows recognizes the fat32 file system and the NTFS file system and you'll find that many operating systems can read and write multiple types of file systems for example Windows can read and write fat fat32 NTFS exFAT and other file system types as well the file system fat stands for file allocation table this was one of the very first file systems we used in personal computers the version that you most commonly see on the more modern operating systems is called fat32 this allows for larger volume sizes and larger is a relative term since the maximum size is 2 terabytes a more modern operating systems you'll find the fat32 file system which allows maximum volume sizes of 2 terabytes and maximum file sizes of only 4 gigabytes Microsoft extended fat32 to create exFAT the stands for extended file allocation table this is the file system that's used on flash drive so that you can have file that are much larger than four gigabytes in size because of the limitations associated with fat32 you'll commonly see NTFS used on most Windows systems the stands for the NT file system and it has a number of improvements over fat32 not just the size of the partitions and the size of the files but you can include quotas there's file compression built into the file system encryption is built into the file system and many more features as well if you're using a cd-rom drive or a DVD ROM Drive and you're probably using the compact disc file system or CD FS this is an iso standard called iso 9660 and it's such a common standard that you can use the same CD or dvd-rom drive on practically any operating system and you would still be able to read that data if you're using the linux operating system you may see file systems such as ext3 this is the third extended file system and even newer is ext for the fourth extended file system you commonly see ext3 and ext4 in operating systems such as Linux you might also see this running in the Android operating system if your operating system is storing files on a storage device that's across the network you may be using NFS which is the network file system this allows you to access those storage devices across the network but to your operating system it looks like it's a local Drive that's on your local computer there are NFS clients available for almost any operating system you would run making it a popular file system to use across the network if you're running Mac OS you may be using the HFS+ file system the stands for a hierarchical file system you may also see this referred to as the Mac OS extended file system on newer versions of Mac OS specifically Mac OS hi Sierra and later you're probably running the Apple file system or the ap FS on many of these operating systems it's common to have a swap partition and although this is referring to its storage device this is primarily used for memory management within the operating system if you're running a number of different applications in your op and you're running out of available memory your operating system can temporarily copy some unused information to the storage device in this swap partition then when that information is needed again it would be loaded back from the swap partition back into memory of your operating system because of the need to move this information so quickly in and out of the memory we would commonly have a swap partition on the fastest hard drive or an SSD drive inside of your computer now that you've built a partition you've decided the type of disk to use and you've chosen a filesystem it's now time to initialize that filesystem by performing a format there are generally two different types of formats that you would use one is a quick format and the other is a full format as the name implies a quick format quickly creates a brand-new file table on your disk but it doesn't erase any of the data that may have already existed on the drive and it doesn't perform any physical check of the drive to make sure that the drive is in good working order if you're running Windows 7 Windows 8 or 8.1 or Windows 10 this is the default format that occurs inside of the operating system installation program if you need to perform a full format then you'll want to run the diskpart utility from the command line the full format is going to take quite a bit longer to perform its initialization it will go through the entire drive and write zeros into every single sector of the drive not only clearing out any data that may have previously been there but it performs a check to make sure that it's able to read and write data to every part of that storage device if you're concerned about the health of the drive or you would just like to be absolutely sure that this drive is ready for your files you may want to perform that full format there may be other things that you need to consider during the installation process for example if your operating system doesn't recognize the controller that a storage device is plugged into you may need to provide additional drivers during the installation process so that the install program can properly access those storage drives in Windows you may be asked whether this will be a work station configuration or Windows domain configuration and if you are connecting to a Windows domain you'll need the proper credentials to be able to add that device to the network the operating system also wants to confirm the timezone the date and time information about where you may be located and any language settings you may need for that operating system most operating system installation programs will recognize the hardware that's used inside of your computer and it will load the appropriate drivers but if you're using hardware that's not automatically recognized by the install program you'll need to provide those drivers either during or after the installation is done after the initial installation is complete you may also want to perform a Windows Update just to make sure you're running the latest version of the operating system with all of the most recent security patches and if the operating system that you're using hasn't created its own recovery partition you may want to create one yourself you can copy all of the files you just used into that recovery partition that way if you run into a problem later you won't have to hunt around for that installation media you

Leave a Reply

Your email address will not be published. Required fields are marked *