Installing Linux: Partitioning and File System Considerations Kevin O'Brien Washtenaw Linux Users Group

Slides:



Advertisements
Similar presentations
Installation of Ubuntu on a Virtual machine. VirtualBox allows you to run an entire operating system inside another operating system. Please be aware.
Advertisements

INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
Chapter 11 Exploring Windows XP Vol. 1 Part One - Windows XP Professional: The Basics.
Chapter 9 A Installing Linux. Synopsis What is needed. How to access the BIOS and boot a CD/DVD. How to repartition the hard drive. The Linux installation.
Linux Installation Chapter II. Linux Distributions Pre-packaged, installable Linux Anyone can compile a distribution, have to inculde GPL Available for.
1 Web Server Administration Chapter 3 Installing the Server.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 3: Upgrading from a Previous Version of Windows.
Guide To UNIX Using Linux Third Edition
COMPUTER BACKUP A disaster will happen to you one day…an accidentally deleted file, a new program that caused problems or a virus that wreaked havoc, wiping.
Source XP vs Windows 7 XPWin 7.
F ILE S YSTEMS comparison of FAT, NTFS, and Linux.
NETW-240 Linux Installation Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Guide To UNIX Using Linux Fourth Edition
1 Web Server Administration Chapter 3 Installing the Server.
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
Presented to: Sir Ahmad Karim
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
How to buy a PC Brad Leach David Howarth James Sawruk Andrew U.
Installing Active Directory on Windows Server 2008 R2 Installing Active Directory on a fresh Windows Server 2008 R2 machine in a home network. The guide.
Chapter 2 Installation Overview. Planning the Installation Questions: –Size of partitions –Where to put partitions –Which software packages to install.
Linux Filesystem Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Day 4 Understanding Hardware Partitions Linux Boot Sequence.
1 Web Server Administration Chapter 3 Installing the Server.
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Step By Step Windows Server 2003 Installation Guide Step By Step Windows Server 2003 Installation Guide.
W2K Server Installation It is very important that before you begin to install Windows 2000 Server, you must prepare for the installation by gathering specific.
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
NETWORK OPERATING SYSTEM INTEROPERABILITY Jason Looney EKU, Department of Technology, CEN.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Installation Objectives –to be aware of Unix installation issues Contents –installing the system –options and packages –disk layout –the swapfile –third.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
 Each interface card that was detected correctly will be listed under the Network Devices section. Ethernet devices in Linux are named eth0, eth1, eth2,
UNIX Filesystem and Hierarchy AfNOG 2008 Workshop May Rabat, Morocco.
Dial-In Number: 1 (631) Webinar ID: FHC Tech Talk Automation and Efficiency Series Talk #1 Carbonite automated backup.
Installing Windows 7 Lesson 2.
BY: SALMAN 1.
Answer to Summary Questions
Introducing, Installing, and Upgrading Windows 7
DIT314 ~ Client Operating System & Administration
Loading an Operating System
Guide to Linux Installation and Administration, 2e
BY: SALMAN.
Seamless Guest OS's and more!
UBUNTU INSTALLATION
Linux/Unix - Download Ubuntu Linux :
Installing OS.
linux and related thing
UNIX Filesystem and Hierarchy
File Management Chase Goehring.
Introduction to Computers
Chapter 2 Objectives Identify Windows 7 Hardware Requirements.
Exploring the UNIX File System and File Security
Operating System Module 1: Linux Installation
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
Partitioning & Formatting
Chapter 5 – Files, Directories, and the File System
Presentation transcript:

Installing Linux: Partitioning and File System Considerations Kevin O'Brien Washtenaw Linux Users Group

2 Where Will You Install? ● Single Linux system ● Dual boot with Windows ● Dual boot with other OS

3 Single Linux System ● Simplest install with least worry ● Hardware is cheap ● Linux works well with older hardware, can give new life to an older system

4 Dual Boot With Windows ● Backup your data first!!!! ● Safest approach is to add a second hard drive ● Can also re-partition existing drive (probably required for laptops) ● Must have Windows already installed before installing Linux

5 Dual Boot With Other OS ● Can install Linux with other OS, including other Linux distros ● With multiple Linux installs, you can install in any order, I believe. ● Can share data between installs if you like. ● I still prefer separate hard drives for each OS install

6 If you want to re-partition ● Backup your data first!!!! ● Most Linux distros include re-partitioning software in the installation CD ● Partition Magic ● GNU Parted

7 Good Open-Source Solution ● GParted Live CD ● Can also be installed on a USB drive:

8 Linux File System Structure ● Typical directories: – / – /bin – /boot – /dev – /etc – /home/initrd – /lib – /lost+found

9 Linux File System Structure (cont) – /misc – /media – /opt – /proc – /root – /sbin – /tmp – /usr – /var

10 How to allocate in partitions ● Every Linux install must have at least two partitions ● One must be a swap partition. This is generally set at 2x the amount of physical memory, but may be more for servers. ● Everything else can go into one data partition, but this is not the best solution in most cases

11 Partitioning choice ● Putting all directories into one partition can cause problems – For servers, it is advisable to put /var into its own partition. This directory holds the log files, and servers can generate a lot of data in log files. If these fill up, it can crash your server if everything is in one partition. – It is a good idea to separate user data from the OS. I recommend putting the /home directory on its own partition.

12 File System Choice ● Options include ext2, ext3, Reiser, fat32, jfs for data partitions. Swap is swap. ● Which one you choose depends on your needs, to some degree. For most people, it will come down to ext2, ext3, Reiser, or fat32. ● ext2 is the older standard for Linux. It is stable, but does not have journaling.

13 File System Choice (cont) ● ext3 is the update to ext2 that adds journaling. Journaling is important for data integrity. A sudden crash (power outage?) can leave unwritten changes to data, but a journaling system will recover those changes. Backwards compatible with ext2 ● Reiser is stable, and very fast. Whether it has a future is slightly unclear at this point. But if speed is your most important need, this is the one to use.

14 File System Choice (cont) ● fat32 is not a native Linux file system, it is a Windows file system, introduced with Windows 95 OSR2. It is not the normal file system for Windows XP or Windows 2000, which would be NTFS. But is has one virtue, which is that is you are planning to dual boot Linux and Windows, and want to have full read-write access to the same data, fat32 is the answer. But only create a data partition for that data you want to share.

15 Bottom line ● I cannot see why anyone would choose ext2 at this point. ext3 does everything ext2 does, and adds journaling. ● Reiser is a possibility if you have the need for speed, but will it survive his legal troubles? ● For most Linux installs, ext3 is a fine choice, and should be your default.

16 Example: Linux single install ● Assume a hypothetical 200GB hard drive – Allow 2-3GB for the swap partition. Your install routine will probably make a default choice based on your system configuration. Accept this. People who write install routines frequently know what they are doing. – Set a second partition for / and everything not otherwise accounted for. Allow 50GB for this. Make it ext3

17 Example: Linux Single Install (cont) – If this is going to be a server, set a third partition for /var. Allow 30GB for this. Make it ext3. – Allocate the rest of the drive to /home. This should be approximately 117GB in our example (or 147GB if there is no separate /var partition). All of your MP3 files, movies, documents, and so on go here. Make this one ext3 as well.

18 Dual Boot with Windows ● Assume a system that already has Windows installed. ● Assume adding a 200GB second hard drive. – Allow 2-3GB for the swap partition. – Set a fat32 partition for shared data. Note that fat32 has some limitations, such as large cluster sizes, and maximum 4GB file size. For movies, that can be an issue. The size of this partition will be determined by what you want to share. In this example, 50GB

19 Dual Boot with Windows (cont) – Set a third partition for / and everything not otherwise accounted for. Allow 50GB for this. Make it ext3. – Allocate the rest of the drive to /home. This should be approximately 97GB in our example.

20 Dual Boot with Windows (cont) – However, sizing the fat32 and the /home partition depends on how much of your data you intend to be Linux-only, and how much you want to share with Windows. If you want to share everything, do not create a separate partition for /home. Instead, let the install routine create a /home directory in the root partition along with everything else, and create a large fat32 directory with the rest of the space. Or perhaps create a couple of them.

21 Multiple Linux Install ● Assume you have Linux already installed on a single hard drive. ● Assume you are adding a second hard drive of 200GB – You may need to have a second swap partition for the second install. I have not yet found a definitive answer for this. It should not be a big deal. My own example of this uses separate swap partitions for each install

22 Multiple Linux Install (cont) – Configure the rest of the install as if it were a single Linux install. – Sharing data: I am not sure what the best way is to handle this. You might be able to create a single /home directory to do this, though I have not done it. Any ideas?