Disk partitioning

GParted is a popular utility used for disk partitioning

Disk partitioning or disk slicing[1] is the creation of one or more regions on secondary storage, so that each region can be managed separately.[2] These regions are called partitions. It is typically the first step of preparing a newly installed disk after a partitioning scheme is chosen for the new disk before any file system is created. The disk stores the information about the partitions' locations and sizes in an area known as the partition table that the operating system reads before any other part of the disk. Each partition then appears to the operating system as a distinct "logical" disk that uses part of the actual disk. System administrators use a program called a partition editor to create, resize, delete, and manipulate the partitions.[3] Partitioning allows the use of different filesystems to be installed for different kinds of files. Separating user data from system data can prevent the system partition from becoming full and rendering the system unusable. Partitioning can also make backing up easier. A disadvantage is that it can be difficult to properly size partitions, resulting in having one partition with too much free space and another nearly totally allocated.

History

IBM in its 1983 release of PC DOS version 2.0 was an early if not first use of the term partition to describe dividing a block storage device such as an HDD into physical segments. The term's usage is now ubiquitous.[citation needed] Other terms used include logical disk,[4] minidisk,[5] portions,[6] pseudo-disk,[6] section,[6] slice[7] and virtual drive.[8]

One of the earliest such segmentation of a disk drive was IBM's 1966[9] usage in its CP-67 operating system of minidisk as a separate segment of a hard disk drive.[5]

Partitioning schemes

DOS, Windows, and OS/2

With DOS, Microsoft Windows, and OS/2, a common practice is to use one primary partition for the active file system that will contain the operating system, the page/swap file, all utilities, applications, and user data. On most Windows consumer computers, the drive letter C: is routinely assigned to this primary partition. Other partitions may exist on the HDD that may or may not be visible as drives, such as recovery partitions or partitions with diagnostic tools or data. (Windows drive letters do not correspond to partitions in a one-to-one fashion, so there may be more or fewer drive letters than partitions.)

Microsoft Windows 2000, XP, Vista, and Windows 7 include a 'Disk Management' program which allows for the creation, deletion and resizing of FAT and NTFS partitions. The Windows Disk Manager in Windows Vista and Windows 7 utilizes a 1 MB partition alignment scheme which is fundamentally incompatible with Windows 2000, XP, OS/2, DOS as well as many other operating systems.

Unix-like systems

On Unix-based and Unix-like operating systems such as Linux, macOS, BSD, and Solaris, it is possible to use multiple partitions on a disk device. Each partition can be formatted with a file system or as a swap partition.

Multiple partitions allow directories such as /boot, /tmp, /usr, /var, or /home to be allocated their own filesystems. Such a scheme has a number of advantages:

  • If one file system gets corrupted, the data outside that filesystem/partition may stay intact, minimizing data loss.
  • Specific file systems can be mounted with different parameters, e.g., read-only, or with the execution of setuid files disabled.
  • A runaway program that uses up all available space on a non-system filesystem does not fill up critical filesystems.
  • Keeping user data such as documents separate from system files allows the system to be updated with lessened risk of disturbing the data.

A common minimal configuration for Linux systems is to use three partitions: one holding the system files mounted on "/" (the root directory), one holding user configuration files and data mounted on /home (home directory), and a swap partition.

By default, macOS systems also use a single partition for the entire filesystem and use a swap file inside the file system (like Windows) rather than a swap partition.

In Solaris, partitions are sometimes known as slices. This is a conceptual reference to the slicing of a cake into several pieces.

The term "slice" is used in the FreeBSD operating system to refer to Master Boot Record partitions, to avoid confusion with FreeBSD's own disklabel-based partitioning scheme. However, GUID Partition Table partitions are referred to as "partition" worldwide.

Multi-boot systems

A GRUB startup menu showing Ubuntu Linux (with three different boot modes) and Windows Vista options

Multi-boot systems are computers where the user can boot into more than one distinct operating system (OS) stored in separate storage devices or in separate partitions of the same storage device. In such systems a menu at startup gives a choice of which OS to boot/start (and only one OS at a time is loaded).

This is distinct from virtual operating systems, in which one operating system is run as a self-contained virtual "program" within another already-running operating system. (An example is a Windows OS "virtual machine" running from within a Linux OS.)

GUID Partition Table

The GUID Partition Table (Globally Unique IDentifier) is a part of the Unified Extensible Firmware Interface (UEFI) standard for the layout of the partition table on a physical hard disk. Many operating systems now support this standard. However, Windows does not support this on BIOS based computers.[10]

Partition recovery

When a partition is deleted, its entry is removed from a table and the data is no longer accessible. The data remains on the disk until it is overwritten. Specialized recovery utilities may be able to locate lost file systems and recreate a partition table which includes entries for these recovered file systems. Some disk utilities may overwrite a number of beginning sectors of a partition they delete. For example, if Windows Disk Management (Windows 2000/XP, etc.) is used to delete a partition, it will overwrite the first sector (relative sector 0) of the partition before removing it. It still may be possible to restore a FAT or NTFS partition if a backup boot sector is available.

Compressed disks

HDDs can be compressed to create additional space. In DOS and early Microsoft Windows, programs such as Stacker (DR-DOS except 6.0), SuperStor (DR DOS 6.0), DoubleSpace (MS-DOS 6.0–6.2), or DriveSpace (MS-DOS 6.22, Windows 9x) were used. This compression was done by creating a very large file on the partition, then storing the disk's data in this file. At startup, device drivers opened this file and assigned it a separate letter. Frequently, to avoid confusion, the original partition and the compressed drive had their letters swapped, so that the compressed disk is C:, and the uncompressed area (often containing system files) is given a higher name.

Versions of Windows using the NT kernel, including the most recent version, Windows 10, contain intrinsic disk compression capability. The use of separate disk compression utilities has declined sharply.

Partition table

A partition table is a table maintained on a disk by the operating system that outlines and describes the partitions on that disk.[11] The terms partition table and partition map are similar terms and can be used interchangeably. The term is most commonly associated with the MBR partition table of a Master Boot Record (MBR) in PCs, but it may be used generically to refer to other formats that divide a disk drive into partitions, such as: GUID Partition Table (GPT), Apple partition map (APM),[12] or BSD disklabel.[13]

PC partition types

MBR

This section describes the master boot record (MBR) partitioning scheme, as used historically in DOS, Microsoft Windows and Linux (among others) on PC-compatible computer systems. As of the mid-2010s, most new computers use the GUID Partition Table (GPT) partitioning scheme instead. For examples of other partitioning schemes, see the general article on partition tables.

The total data storage space of a PC HDD on which MBR partitioning is implemented can contain at most four primary partitions, or alternatively three primary partitions and an extended partition. The Partition Table, located in the master boot record, contains 16-byte entries, each of which describes a partition.

The partition type is identified by a 1-byte code found in its partition table entry. Some of these codes (such as 0x05 and 0x0F) may be used to indicate the presence of an extended partition. Most are used by an operating system's bootloader (that examines partition tables) to decide if a partition contains a file system that can be mounted / accessed for reading or writing data.

Primary partition

A primary partition contains one file system. In DOS and all early versions of Microsoft Windows systems, Microsoft required what it called the system partition to be the first partition. All Windows operating systems from Windows 95 onwards can be located on (almost) any partition, but the boot files (io.sys, bootmgr, ntldr, etc.) must reside on a primary partition. However, other factors, such as a PC's BIOS (see Boot sequence on standard PC) may also impose specific requirements as to which partition must contain the primary OS.

The partition type code for a primary partition can either correspond to a file system contained within (e.g., 0x07 means either an NTFS or an OS/2 HPFS file system) or indicate that the partition has a special use (e.g., code 0x82 usually indicates a Linux swap partition). The FAT16 and FAT32 file systems have made use of a number of partition type codes due to the limits of various DOS and Windows OS versions. Though a Linux operating system may recognize a number of different file systems (ext4, ext3, ext2, ReiserFS, etc.), they have all consistently used the same partition type code: 0x83 (Linux native file system).

Extended partition

An HDD may contain only one extended partition, but that extended partition can be subdivided into multiple logical partitions. DOS/Windows systems may then assign a unique drive letter to each logical partition. GUID partition table (GPT) only has the primary partition, doesn't have the extended partition and the logical partition.

Boot partitions

BIOS boot partition

BIOS boot partition (BIOS BP) is a share of the storage device used to keep software that boots the operating system, a bootloader. It may be an operating system kernel image or bootloader or a completely separate piece of software.[14][15]: 136 

EFI system partition

EFI system partition is the same as BIOS BP, but is loaded by EFI firmware instead of BIOS.[14][15]: 136 

See also

References

  1. ^ Calkins, Bill (2013). Oracle Solaris 11 System Administration. Archived from the original on 2016-03-07. Retrieved 2016-03-04.
  2. ^ Levi, Bozidar (2002). UNIX Administration.
  3. ^ Ward, Brian (2004). How Linux Works: What Every SuperUser Should Know. No Starch Press. p. 39. ISBN 9781593270353.
  4. ^ As used by DEC RT-11 circa 1984, see: "RT-11 System Release Notes" (PDF). Digital Equipment Corporation. December 1983. AA-5826F-TC.
  5. ^ a b As used in IBM CP-67 beginning 1966 see: Rogers, Bob (February 6, 2017). "Virtualization's Past Helps Explain Its Current Importance". TechChannel. Archived from the original on December 4, 2021. Retrieved February 9, 2022. A minidisk is only part of a physical disk but appears to be a separate disk to the guest.
  6. ^ a b c The Version 6 Unix man page for the RP-11/RP03 device and driver rp(4) – Version 6 Unix Programmer's Manual - speaks of the disk being divided into portions, pseudo-disks and sections.
  7. ^ The 1993 Solaris 2.2 installation guide - "Solaris 2.2 Basic Installation Guide" (PDF). Archived (PDF) from the original on 2022-04-04. - says in a glossary entry that slice is "A discrete portion of a disk, configured during installation." Under SunOS 4.l.x and System V Release 3, slices were referred to as partitions.
  8. ^ The 1980 Corvus Guide - "Constellation II Generation Guide, Apple II" (PDF). Archived (PDF) from the original on 2022-02-12. - for Apple II installations allows division of a hard disk drive into virtual drives.
  9. ^ R. J. Creasy (September 1981). "The Origin of the VM/370 Time-Sharing System" (PDF). IBM Journal of Research and Development. 25 (5): 483–490. doi:10.1147/rd.255.0483. ISSN 0018-8646. Archived (PDF) from the original on March 7, 2022. Retrieved February 10, 2022.
  10. ^ windows-driver-content. "BIOS/MBR-based hard drive partitions". docs.microsoft.com. Archived from the original on 2021-07-25. Retrieved 2021-12-06.
  11. ^ Frisch, AEleen (2002). Essential System Administration: Tools and Techniques for Linux and Unix Administration. O'Reilly Media, Inc. p. 86. ISBN 9780596004491.
  12. ^ The pdisk utility for Apple Partition Maps is described as an Apple partition table editor in its pdisk(8) man page: pdisk(8) – Darwin and macOS System Manager's Manual.
  13. ^ "About Disk Labels". System Administration Guide, Volume 1. Archived from the original on 2007-02-28. Retrieved 2010-04-03. (NB. The Solaris documentation on disklabels uses the term "partition table".)
  14. ^ a b "What are system partition and boot partition?". www.easyuefi.com. Archived from the original on 2018-07-16. Retrieved 2021-12-07.
  15. ^ a b Cross, Michael (2008). Scene of the cybercrime. Debra Littlejohn Shinder (2nd ed.). Burlington, MA: Syngress Pub. ISBN 978-0-08-048699-4. OCLC 272383168.

Further reading

Read other articles:

Anilin Aniline Aniline Nama Nama IUPAC Fenilamina Nama lain AminobenzenaBenzenamina Penanda Nomor CAS 62-53-3 Y Model 3D (JSmol) Gambar interaktifGambar interaktif 3DMet {{{3DMet}}} ChEBI CHEBI:17296 Y ChEMBL ChEMBL538 Y ChemSpider 5889 Y DrugBank DB06728 Y Nomor EC KEGG C00292 Y Nomor RTECS {{{value}}} UNII SIR7XX2F1K Y CompTox Dashboard (EPA) DTXSID8020090 InChI InChI=1S/C6H7N/c7-6-4-2-1-3-5-6/h1-5H,7H2 YKey: PAYRUJLWNCNPSJ-UHFFFAOYSA-N YIn...

 

 

This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (February 2021) (Learn how and when to remove this template message) A mystery film is a genre of film revolving around the solution to a problem or a crime. It focuses on the efforts of a protagonist to solve the mystery by means of clues, investigation, and deduction. This is a list of mystery films by decade....

 

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Vicco von BülowLoriotVicco von Bülow, 1971LahirBernhard-Viktor Christoph-Carl von Bülow(1923-11-12)12 November 1923Brandenburg an der Havel, Provinsi Brandenburg, Negara Bebas Prusia, Republik WeimarMeninggal22 Agustus 2011(2011-08-22) (umur 8...

Valentin Stocker Valentin Stocker[1]Informasi pribadiNama lengkap Valentin StockerTanggal lahir 12 April 1989 (umur 34)Tempat lahir Lucerne, SwissTinggi 1,78 m (5 ft 10 in)Posisi bermain GelandangInformasi klubKlub saat ini Hertha BSCNomor 14Karier junior1996–2005 SC KriensKarier senior*Tahun Tim Tampil (Gol)2005–2008 Basel U21 37 (13)2008–2014 Basel 162 (41)2014– Hertha BSC 0 (0)Tim nasional‡2005 Swiss U-16 5 (1)2005–2006 Swiss U-17 11 (6)2006 Swiss U...

 

 

Team winter sport This article is about the contact team sport played on ice. For the overall family of sports involving sticks and goals, see Hockey. For the sport played on fields and using a hockeyball, see Field hockey. For other uses, see Ice hockey (disambiguation). This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Ice hockey – ...

 

 

American politician (born 1934) This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Jean Spencer Ashbrook – news · newspapers · books · scholar · JSTOR (July 2023) (Learn how and when to remove this...

B

  此條目介紹的是拉丁字母中的第2个字母。关于其他用法,请见「B (消歧义)」。   提示:此条目页的主题不是希腊字母Β、西里尔字母В、Б、Ъ、Ь或德语字母ẞ、ß。 BB b(见下)用法書寫系統拉丁字母英文字母ISO基本拉丁字母(英语:ISO basic Latin alphabet)类型全音素文字相关所属語言拉丁语读音方法 [b][p][ɓ](适应变体)Unicode编码U+0042, U+0062字母顺位2数值 2歷史發...

 

 

For related races, see 1998 United States gubernatorial elections. 1998 Alabama gubernatorial election ← 1994 November 3, 1998 2002 →   Nominee Don Siegelman Fob James Party Democratic Republican Popular vote 752,087 546,504 Percentage 57.9% 42.1% County resultsSiegelman:      50–60%      60–70%      70–80%      80–90%James:      ...

 

 

Western Asian architectural style Architecture of Mesopotamian civilizationTop: Lamassu from The Gate of Nimrud, Nineveh, approximately 1350 BC; Centre: The Ziggurat of Ur, approximately 21st century BC; Bottom: Reconstruction of the Ishtar Gate of Babylon, approximately 575 BC in the Pergamon MuseumYears active10th millennium-6th century BC The architecture of Mesopotamia is ancient architecture of the region of the Tigris–Euphrates river system (also known as Mesopotamia), encompassing se...

Waldbaum's Hamlet Cup 1993 Sport Tennis Data 23 agosto – 29 agosto Edizione 13a Superficie Cemento Campioni Singolare Marc Rosset Doppio Marc-Kevin Goellner / David Prinosil 1992 1994 Il Waldbaum's Hamlet Cup 1993 è stato un torneo di tennis giocato sul cemento. È stata la 13ª edizione del torneo, che fa parte della categoria World Series nell'ambito dell'ATP Tour 1993. Si è giocato al Hamlet Golf and Country Club di Commack, Long Island, New York negli Stati Uniti dal 23 al 29 agosto ...

 

 

Protettorato italiano del Regno d'Albania (dettagli) (dettagli) Motto: FERT Protettorato italiano del Regno d'Albania - LocalizzazioneIl protettorato italiano del regno d'Albania nel 1942. Dati amministrativiNome completoProtettorato italiano d'Albania Nome ufficialeProtettorato italiano d'AlbaniaProtektorati dhe varësia e Italisë Lingue ufficialialbaneseitaliano Lingue parlateAlbaneseItaliano InnoHymni i FlamuritMarcia reale (Inno reale) CapitaleTirana Dipendente da Italia PoliticaFor...

 

 

Erupción del Vesubio en 79 Magnitud 5 en el índice de explosividad volcánica (VEI) Destrucción de Pompeya y Herculano (1822), de John Martin.Volcán VesubioUbicación Arco volcánico de Campania, ItaliaCoordenadas 40°49′17″N 14°26′34″E / 40.821388888889, 14.442777777778Fecha 24 de agosto de 79 (fecha tradicional)24 de octubre de 79 (fecha probable)[1]​Tipo de erupción Volcánica plinianaDaños Destrucción de Pompeya, Herculano, Estabia y OplontisVíctimas...

Ця стаття потребує додаткових посилань на джерела для поліпшення її перевірності. Будь ласка, допоможіть удосконалити цю статтю, додавши посилання на надійні (авторитетні) джерела. Зверніться на сторінку обговорення за поясненнями та допоможіть виправити недоліки. Мат...

 

 

GayamsariKecamatanPeta lokasi Kecamatan GayamsariNegara IndonesiaProvinsiJawa TengahKotaSemarangPemerintahan • CamatEKO YUNIARTO S.IP MMPopulasi • Total69 33.400 jiwa (2.022) jiwaKode Kemendagri33.74.04 Kode BPS3374100 Luas6,22 km² Gayamsari (bahasa Jawa: ꦒꦪꦩ꧀ꦱꦫꦶ) adalah sebuah kecamatan di Kota Semarang, Provinsi Jawa Tengah, Indonesia. Pranala luar (Indonesia) Keputusan Menteri Dalam Negeri Nomor 050-145 Tahun 2022 tentang Pemberian dan Pemu...

 

 

Part of a series onHorror films History Lists By decade 1896–1959 1890s 1900s 1910s 1920s 1930s 1940s 1950s 1960s 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970s 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980s 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990s 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000s 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010s 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020s 2020 2021 2022 2023 2024 2025 By continent A...

沢の鶴資料館 沢の鶴資料館 神戸市内の位置施設情報正式名称 沢の鶴資料館前身 酒蔵専門分野 酒造開館 1978年(昭和53年)11月所在地 兵庫県神戸市灘区外部リンク 沢の鶴資料館プロジェクト:GLAMテンプレートを表示 沢の鶴資料館(さわのつるしりょうかん)は兵庫県神戸市灘区にある資料館。沢の鶴の古い酒蔵を転用して、資料館として公開されている。 館内では、�...

 

 

Ode

Ode (dari bahasa Yunani Kuno: ᾠδή, translit. ōdḗ ) adalah jenis sajak lira . Ini adalah puisi terstruktur yang memuji atau memuliakan suatu peristiwa atau individu, menggambarkan alam secara intelektual dan juga emosional. Ode klasik disusun dalam tiga bagian utama: strophe, antistrof, dan epode . Bentuk ode yang berbeda lainnya, seperti ode homostrofik dan ode tak beraturan. Ode atau oda adalah puisi lirik berisikan semangat pujaan dalam nada agung dan tema serius. Ode berasa...

 

 

Algerian al-Qaeda member Abdelhamid Abou ZeidAbdelhamid Abou Zeid, one of the leaders of AQIM.Born(1965-12-12)December 12, 1965[1]AlgeriaDied25 February 2013(2013-02-25) (aged 47)Other namesEmir of the South; Mosab Abdelouadoud[2]Military careerAllegiance Al-QaedaService/branch AQIM (?–2013)Years of service?-2013RankGovernor (Emir) of TimbuktuBattles/warsInsurgency in the Maghreb Operation Enduring Freedom – Trans Sahara Northern Mali conflict Battle of Diab...

Marine scientist Susanne Menden-DeuerAlma materUniversity of WashingtonUniversity of BonnOccupation(s)Oceanographer and marine scientistScientific careerInstitutionsUniversity of Rhode IslandThesisLinking individual foraging strategies with ecological dynamics : quantifying zooplankton movements in heterogeneous resource distributions (2004) Susanne Menden-Deuer is an oceanographer and marine scientist known for her work on marine food webs, including their structure and functi...

 

 

Pologne aux Jeux olympiques d'hiver de 2006 Code CIO POL Comité Comité national olympique polonais Lieu Turin Participation 20e aux Jeux d'hiver Athlètes 48 dans 11 sports Porte-drapeau Paulina Ligocka (cérémonie d'ouverture) et Tomasz Sikora (cérémonie de clôture) MédaillesRang : 20e Or0 Arg.1 Bron.2 Total3 Pologne aux Jeux olympiques d'hiver Pologne aux Jeux olympiques d'hiver de 2002 Pologne aux Jeux olympiques d'hiver de 2010 modifier  Cet article contient des informat...