Large Disk HOWTO Large Disk HOWTO Table of Contents

Total Page:16

File Type:pdf, Size:1020Kb

Large Disk HOWTO Large Disk HOWTO Table of Contents Large Disk HOWTO Large Disk HOWTO Table of Contents Large Disk HOWTO...........................................................................................................................................1 Andries Brouwer, aeb@cwi.nl.................................................................................................................1 1. Large disks...........................................................................................................................................1 2. Units.....................................................................................................................................................1 3. Disk Access..........................................................................................................................................1 4. History of BIOS and IDE limits..........................................................................................................1 5. Booting.................................................................................................................................................1 6. Disk geometry, partitions and `overlap'...............................................................................................1 7. Translation and Disk Managers...........................................................................................................1 8. Kernel disk translation for IDE disks...................................................................................................1 9. Consequences.......................................................................................................................................2 10. Details................................................................................................................................................2 11. Clipped disks......................................................................................................................................2 12. The Linux 65535 cylinder limit.........................................................................................................2 13. Extended and logical partitions..........................................................................................................2 14. Problem solving.................................................................................................................................2 1. Large disks...........................................................................................................................................2 2. Units....................................................................................................................................................4 3. Disk Access..........................................................................................................................................4 3.1 Cylinders, heads and sectors..............................................................................................................4 3.2 Sectorsize...........................................................................................................................................5 3.3 Disksize..............................................................................................................................................5 3.4 The 1024 cylinder and 8.5 GB limits.................................................................................................5 3.5 The 137 GB limit...............................................................................................................................5 4. History of BIOS and IDE limits..........................................................................................................6 5. Booting.................................................................................................................................................7 5.1 LILO and the `lba32' and `linear' options.........................................................................................7 5.2 A LILO bug........................................................................................................................................8 5.3 1024 cylinders is not 1024 cylinders.................................................................................................8 5.4 No 1024 cylinder limit on old machines with IDE............................................................................8 5.5 Other boot loaders..............................................................................................................................8 6. Disk geometry, partitions and `overlap'..............................................................................................8 6.1 The last cylinder.................................................................................................................................9 6.2 Cylinder boundaries...........................................................................................................................9 7. Translation and Disk Managers.........................................................................................................10 8. Kernel disk translation for IDE disks.................................................................................................11 8.1 EZD..................................................................................................................................................11 8.2 DM6:DDO.......................................................................................................................................12 8.3 DM6:AUX.......................................................................................................................................12 8.4 DM6:MBR.......................................................................................................................................12 8.5 PTBL................................................................................................................................................12 8.6 Getting rid of a disk manager...........................................................................................................12 8.7 Since 2.5.70: boot parameters..........................................................................................................13 9. Consequences.....................................................................................................................................13 9.1 Computing LILO parameters...........................................................................................................14 10. Details..............................................................................................................................................15 10.1 IDE details − the seven geometries................................................................................................15 The IDENTIFY DRIVE command................................................................................................15 i Large Disk HOWTO Table of Contents Large Disk HOWTO 10.2 SCSI details....................................................................................................................................16 11. Clipped disks....................................................................................................................................18 11.1 The Linux IDE 8 GiB limit............................................................................................................18 11.2 BIOS complications.......................................................................................................................19 11.3 Jumpers that select the number of heads.......................................................................................19 11.4 Jumpers that clip total capacity......................................................................................................19 Clip to 2.1 GB.................................................................................................................................19 Clip to 33 GB.................................................................................................................................20 Maxtor.............................................................................................................................................20 IBM.................................................................................................................................................21 Seagate.............................................................................................................................................21 Maxtor D540X−4K.........................................................................................................................21 Western Digital................................................................................................................................22 11.5 READ NATIVE MAX ADDRESS / SET MAX ADDRESS.......................................................22 11.6 CONFIG_IDEDISK_STROKE.....................................................................................................23 12. The Linux 65535 cylinder limit.......................................................................................................23 12.1 IDE problems with 34+ GB disks.................................................................................................23 13. Extended and logical partitions........................................................................................................24
Recommended publications
  • LPI 101 – Configure Fundamental BIOS Settings
    – LPI 101 – Configure Fundamental BIOS Settings [3] (Linux Professional Institute Certification) a .˜. /V\ by: Andrew Eager // \\ [email protected] @._.@ $Id: gl1.101.1.slides.tex,v 1.4 2003/05/30 04:56:33 waratah Exp $ aCopyright c 2002 Andrew Eager, Geoffrey Robertson. Permission is granted to make and distribute verbatim copies or modified versions of this document provided that this copyright notice and this permission notice are preserved on all copies under the terms of the GNU General Public License as published by the Free Software Foundation—either version 2 of the License or (at your option) any later version. 1 Configure BIOS Fundamental Settings [3] Objective Candidates should be able to configure fundamental system hardware by making the correct settings in the system BIOS. This objective includes a proper understanding of BIOS configuration issues such as the use of LBA on IDE hard disks larger than 1024 cylinders, enabling or disabling integrated peripherals, as well as configuring systems with (or without) external peripherals such as keyboards. It also includes the correct setting for IRQ, DMA and I/O addresses for all BIOS administrated ports and settings for error handling. 2 Configure Fundamental BIOS Settings [3] Key files, terms, and utilities /proc/ioports /proc/interrupts /proc/dma /proc/pci 3 Configure Fundamental BIOS Settings [3] Resources of interest Large Disk HOWTO by Andries Brouwer http://www.linuxdoc.org/HOWTO/Large-Disk-HOWTO.html 4 The PC Firmware—BIOS Responsible for bring the hardware to a state at which it is ready to boot an Operating System. 5 System reset and initialisation Basic main memory test (RAM) Test the presence of various devices On board peripheral selection Low level device configuration Selection of boot devices Locating an operating system The BIOS may have password access enabled The PC Firmware—BIOS Responsible for bring the hardware to a state at which it is ready to boot an Operating System.
    [Show full text]
  • 95-156R0.Txt X3T10/95-156 R0 BIOS Types, CHS Translation
    95-156r0.txt X3T10/95-156 R0 BIOS Types, CHS Translation, LBA and Other Good Stuff Version 3+ 11 February 95 by Hale Landis ([email protected]) This is very technical. Please read carefully. There is lots of information here that can sound confusing the first time you read it. ! Introduction (READ THIS!) ! ------------------------- ! Why is an understanding of how a BIOS works so important? The basic reason is that the information returned by INT 13H AH=08H is used by FDISK, it is used in the partition table entries within a partition record (like the Master Boot Record) that are created by FDISK, and it is used by the small boot program that FDISK places into the Master Boot Record. The information returned by INT 13H AH=08H is in cylinder/head/sector (CHS) format -- it is not in LBA format. The boot processing done by your computer's BIOS (INT 19H and INT 13H) is all CHS based. ! Read this so that you are not confused by all the false information going around that says "LBA solves the >528MB problem". ! Read this so that you understand the possible data integrity problem that a WD EIDE type BIOS creates. Any BIOS that has a "LBA mode" in the BIOS setup could be a WD EIDE BIOS. Be very careful and NEVER chage the "LBA mode" setting after you have partitioned and installed your software. History ------- Changes between this version and the preceeding version are marked by "!" at left margin of the first line of a changed or new paragraph.
    [Show full text]
  • Acronis Os Selector As a Boot Manager
    User's Guide OS Selector 8.0 Compute with confidence www.acronis.com Copyright © SWsoft, 2000-2002. All rights reserved. Linux is a registered trademark of Linus Torvalds. OS/2 is a registered trademarks of IBM Corporation. UNIX is a registered trademarks of The Open Group. Windows and MS-DOS are registered trademarks of Microsoft Corporation. All other trademarks and copyrights referred to are the property of their respective owners. Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. Distribution of the work or derivative work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder. DOCUMENTATION IS PROVIDED «AS IS» AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. END-USER LICENSE AGREEMENT BY ACCEPTING, YOU (ORIGINAL PURCHASER) INDICATE YOUR ACCEPTANCE OF THESE TERMS. IF YOU DO NOT WISH TO ACCEPT THE PRODUCT UNDER THESE TERMS YOU MAY CHOOSE NOT TO ACCEPT BY SELECTING "I decline..." AND NOT INSTALLING THE SOFTWARE. The OS Selector (the Software) is copyright © 2000-2002 by SWsoft. All rights are reserved. The ORIGINAL PURCHASER is granted a LICENSE to use the software only, subject to the following restrictions and limitations. 1. The license is to the original purchaser only, and is not transferable without prior written Permission from SWsoft. 2. The Original Purchaser may use the Software on a single computer owned or leased by the Original Purchaser.
    [Show full text]
  • Red Hat Linux 7.3 the Official Red Hat Linux X86
    Red Hat Linux 7.3 The Official Red Hat Linux x86 Installation Guide Red Hat Linux 7.3: The Official Red Hat Linux x86 Installation Guide Copyright © 2002 by Red Hat, Inc. Red Hat, Inc. 1801 Varsity Drive Raleigh NC 27606-2072 USA Phone: +1 919 754 3700 Phone: 888 733 4281 Fax: +1 919 754 3701 PO Box 13588 Research Triangle Park NC 27709 USA rhl-ig-x86(EN)-7.3-HTML-RHI (2002-04-05T13:43-0400) Copyright © 2002 by Red Hat, Inc. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/). Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder. The admonition graphics (note, tip, and so on) were created by Marianne Pecci <[email protected]>. They may be redistributed with written permission from Marianne Pecci and Red Hat, Inc.. Red Hat, Red Hat Network, the Red Hat "Shadow Man" logo, RPM, Maximum RPM, the RPM logo, Linux Library, PowerTools, Linux Undercover, RHmember, RHmember More, Rough Cuts, Rawhide and all Red Hat-based trademarks and logos are trademarks or registered trademarks of Red Hat, Inc. in the United States and other countries. Linux is a registered trademark of Linus Torvalds. Motif and UNIX are registered trademarks of The Open Group.
    [Show full text]
  • Installing and Using Freebsd with Other Operating Systems Jay Richmond [email protected]
    Installing and Using FreeBSD With Other Operating Systems Jay Richmond [email protected] 6 August 1996 FreeBSD is a registered trademark of the FreeBSD Foundation. IBM, AIX, EtherJet, Netfinity, OS/2, PowerPC, PS/2, S/390, and ThinkPad are trademarks of International Business Machines Corporation in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds. Microsoft, IntelliMouse, MS-DOS, Outlook, Windows, Windows Media and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. PowerQuest and PartitionMagic are registered trademarks of PowerQuest Corporation in the United States and/or other countries. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this document, and the FreeBSD Project was aware of the trademark claim, the designations have been followed by the “™” or the “®” symbol. This document discusses how to make FreeBSD coexist nicely with other popular operating systems such as Linux, MS-DOS®, OS/2®, and Windows® 95. Special thanks to: Annelise Anderson <[email protected]>, Randall Hopper <[email protected]>, and Jordan K. Hubbard <[email protected]>. Table of Contents 1 Overview .....................................................................................................................................................................1 2 Overview of Boot Managers......................................................................................................................................2
    [Show full text]
  • Installing Linux on Compaq Proliant Servers
    Installing Red Hat Linux on Compaq ProLiant Servers The Compaq ProLiant Linux Team July 17, 2001 Version 0.2 This guide was designed to facilitate the installation of Red Hat Linux on Compaq ProLiant Servers. Notice ©2001 Compaq Computer Corporation Compaq, Compaq Insight Manager, NetFlex, NonStop, ProLiant, ROMPaq, and SmartStart are registered United States Patent and Trademark Office. Alpha, AlphaServer, AlphaStation, ProSignia, and SoftPaq are trademarks and/or service marks of Compaq Computer Corporation. Netelligent is a trademark and/or service mark of Compaq Information Technologies Group, L.P. in the U.S. and/or other countries. Microsoft, MS-DOS, Windows, and Windows NT are trademarks and/or registered trademarks of Microsoft Corporation. Pentium, Xeon, Pentium II Xeon, and Pentium III Xeon are registered trademarks of Intel Corporation. UNIX is a registered trademark of The Open Group. SCO, UnixWare, OpenServer 5, and UnixWare 7 are registered trademarks of the Santa Cruz Operation. Linux is a registered trademark of Linus Torvalds. Red Hat is a registered trademark of Red Hat, Inc. Other product names mentioned herein may be trademarks and/or registered trademarks of their respective companies. The information in this publication is subject to change without notice and is provided “AS IS” WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK ARISING OUT OF THE USE OF THIS INFORMATION REMAINS WITH RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR ANY DIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES WHATSOEVER (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION OR LOSS OF BUSINESS INFORMATION), EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    [Show full text]
  • LPIC 101 Preparation Guide
    Linux Professional Institute Exam LPIC 101 Preparation Guide Version 3 Alan McKinnon Michel Bisson LPIC 101 Preparation Guide Table of Contents About this document.......................................................................vii Regarding the LPI 101 Exam..........................................................viii Approximate number of questions per topic...............................................................viii Weight per topic..........................................................................................................viii Tips on writing the exam...............................................................................................ix Topic 101: Hardware & Architecture................................................1 Summary.........................................................................................................................1 General hardware......................................................................................................1 Setting and reading the hardware and system time.................................................2 Hardware-related commands....................................................................................2 KERNEL MODULES (general)..................................................................................3 Getting information on hardware..............................................................................4 USB........................................................................................................................4
    [Show full text]
  • Partitioning the Hard Disk 1 Aim 2 Background
    Operating Systems and Systems Integration Partitioning the hard disk 1 Aim A hard disk needs to be divided into one or more sections called partitions. We will install a number of operating systems onto our hard disks. Each operating system needs at least one partition. We will use the Linux fdisk program to create these partitions today. Later, in your subject Systems and Network Administration, Albert will show you how to install Windows 2000 (and possibly Windows NT) into some of these partitions. Our aim for today is to create the partitions necessary for installation of all these operating systems. 2 Background 2.1 Types of partition On an ibm pc compatible, there are a few types of partition: type max number location primary 4 outside of any other partition extended 1 outside of any other partition logical no limit inside an extended partition The total number of primary and extended partitions must be four or less. 2.2 Limitations of IBM PC BIOS The computers we use are compatible with the original ibm pc. The bios (Basic Input Output System) also remains compatible with the original machine, and has the following limitations: parameter number of bits maximum value cylinders 10 1023 heads 8 255 sectors 6 63 To boot an operating system on a PC, the bios must be able to load the first part of the operating system. The first part of the operating system must be on a location on the hard disk within these limitations. In particular, the boot files of the operating system must be entirely below cylinder 1024, or the computer may not be able to boot.
    [Show full text]
  • Installation of Linux on Compaq Armada 7400 and 7800 White Paper Prepared by Portables Software Marketing First Edition (June 1999) Document Number [0206-0799-A]
    White Paper June 1999 [0206-0799-A] Installation of Linux on Compaq Prepared by Portables Software Marketing Armada 7400 and 7800 Portables Compaq Computer Corporation Abstract: According to a recent press article, “Linux runs faster, makes Contents better use of pre-emptive multitasking and uses only a fraction of the memory What is Linux? ..............................................3 required by a Windows or Mac OS. Notebook batteries last much longer on a Key Features..................................................3 Linux system, partly because it knows how to put the processor to sleep when Linux Advantages/Disadvantages................4 idle. It is more stable, crashes far less often and is easier to fix then Linux Availability.........................................5 1 Compaq’s Linux Strategy for Windows.” Commercial Portables...................................5 Services Support............................................6 The Linux operating system was originally developed on desktop Intel Linux on Armada 7400 & 7800...................6 Hard Disk Support ........................................6 Architecture systems. As such, Linux was developed without portable What To Expect...........................................10 features. Recently, Linux added support for features that portable users Installing RedHat 5.2:.................................11 expect such as Advanced Power Management (APM), PCMCIA cards, and X Installing with SuSE 6.0 .............................15 Installing Linux with Windows NT4.........21 windows
    [Show full text]
  • LINUX Rute Users Tutorial and Exposition Version 0.9.1
    LINUX Rute Users Tutorial and Exposition Version 0.9.1 For purchasing and support, visit http://www.icon.co.za/˜psheer http://rute.sourceforge.net/ http://rute.sourceforge.net/rute.pdf http://rute.sourceforge.net/rute.ps.gz http://rute.sourceforge.net/rute.dvi.gz http://rute.sourceforge.net/rute-HTML.zip http://rute.sourceforge.net/rute-HTML.tar.gz Copyright °c 2000, 2001 Paul Sheer May 5, 2001 Copying This license dictates the conditions under which you may copy, modify and distribute this work. Email the author for purchasing information. TERMS AND CONDITIONS 1. This work may not be reproduced in hard copy except for personal use. Further, it may not be reproduced in hard copy for training material, nor for commercial gain, nor for public or organisation-wide distribution. Further, it may not be reproduced in hard copy except where the intended reader of the hard copy initiates the process of converting the work to hard copy. 2. The work may not be modified except by a generic format translation utility, as may be appropriate for viewing the work using an alternative electronic media. Such a modified version of the work must clearly credit the author, display this license, and include all copyright notices. Such a modified version of the work must clearly state the means by which it was translated, as well as where an original copy may be obtained. 3. Verbatim copies of the work may be redistributed through any electronic media. Modified versions of the work as per 2. above may be redistributed same, provided that they can reasonably be said to include, albeit in translated form, all the original source files.
    [Show full text]
  • EASEUS Partition Master
    EASEUS Partition Master Version 4.1.1 1 Table of Contents Welcome ............................................................................................................................................................................... 3 About EASEUS Partition Master ................................................................................................................................. 3 Starting EASEUS Partition Master............................................................................................................................... 3 Getting started ...................................................................................................................................................................... 4 Hardware requirements ................................................................................................................................................ 4 System requirements .................................................................................................................................................... 4 Supported file system ................................................................................................................................................... 5 Supported hard disk type.............................................................................................................................................. 5 Partitioning basics .......................................................................................................................................................
    [Show full text]
  • Easeus Partition Master User Guide
    EaseUS Partition Master User guide Partition Master User guide - 1 - EaseUS Partition Master User guide Table of Contents Welcome ......................................................................................................................................................................... - 4 - About EaseUS Partition Master ................................................................................................................................ - 4 - Starting EaseUS Partition Master ............................................................................................................................. - 5 - Getting started ................................................................................................................................................................ - 5 - Hardware requirements ............................................................................................................................................ - 5 - System requirements ................................................................................................................................................ - 6 - Supported file system ............................................................................................................................................... - 7 - Supported device type .............................................................................................................................................. - 7 - Supported partition table type .................................................................................................................................
    [Show full text]