Partitionering av din disk refererar helt enkelt till processen att dela upp din disk i sektioner. Varje sektion blir då oberoende av de andra. Det är grovt sett likvärdigt med att sätta upp väggar inne i ett hus; om du ställer in möbler i ett rum så påverkar de inte något annat rum.
Om du redan har ett operativsystem på ditt system (Windows 9x, Windows NT/2000/XP/2003/Vista/7, OS/2, MacOS, Solaris, FreeBSD, …) och vill ha Debian på samma disk, behöver du antaglien partitionera om disken. Debian kräver sina egna hårddiskpartitioner och kan inte installeras på Windows- eller MacOS-partitioner. Det kan dela vissa partitioner med andra Unix-system, men det täcks inte in här. Du behöver åtminstone en partition avsedd enbart för Debians rot.
Du kan hitta information om din aktuella partitionskonfiguration genom att använda ett partitioneringsverktyg för ditt aktuella operativsystem, såsom fdisk eller PartitionMagic. Partitioneringsverktyg tillhandahåller alltid ett sätt att visa befintliga partitioner utan att göra ändringar.
Normalt sett så kommer data och filer i ett filsystem på en partition att förstöras om partitionen ändras. Därför bör du alltid göra säkerhetskopior innan du partitionerar om. Om man använder jämförelsen med huset skulle du antagligen vilja flytta ut alla möbler innan väggarna flyttas då de annars riskerar att de förstörs.
Several modern operating systems offer the ability to move and resize certain existing partitions without destroying their contents. This allows making space for additional partitions without losing existing data. Even though this works quite well in most cases, making changes to the partitioning of a disk is an inherently dangerous action and should only be done after having made a full backup of all data. For FAT/FAT32 and NTFS partitions as used by DOS and Windows systems, the ability to move and resize them losslessly is provided both by debian-installer
as well as by the integrated Disk Manager of Windows 7.
To losslessly resize an existing FAT or NTFS partition from within debian-installer
, go to the partitioning step, select the option for manual partitioning, select the partition to resize, and simply specify its new size.
Creating and deleting partitions can be done from within debian-installer
as well as from an existing operating system. As a rule of thumb, partitions should be created by the system for which they are to be used, i.e. partitions to be used by Debian GNU/Linux should be created from within debian-installer
and partitions to be used from another operating system should be created from there. debian-installer
is capable of creating non-Linux partitions, and partitions created this way usually work without problems when used in other operating systems, but there are a few rare corner cases in which this could cause problems, so if you want to be sure, use the native partitioning tools to create partitions for use by other operating systems.
Om du ska att installera fler än ett operativsystem på samma maskin, bör du installera alla andra system innan du börjar med Debian-installationen. Windows och andra installationer kan förstöra möjligheten att starta Debian, eller föreslå dig att formatera om icke ursprungliga partitioner.
Du kan oftast reparera eventuella fel som uppstår efter de här åtgärderna eller undvika att felen uppstår, men att installera det ursprungliga systemet först besparar dig troligen en hel del problem.