3.5. Vor dem Partitionieren von Multiboot-Systemen

Das Partitionieren Ihrer Festplatten ist das Aufteilen Ihrer Festplatte in einzelne Abschnitte. Jeder Abschnitt ist von den anderen unabhängig. Es ist so ähnlich wie das Aufstellen von Wänden in Ihrem Haus; wenn Sie in einem Raum ein Möbelstück aufstellen, beeinflusst das die anderen Räume nicht.

Wenn Sie bereits ein Betriebssystem auf Ihrem System installiert haben und Linux auf die gleiche Festplatte installieren möchten, müssen Sie sie neu partitionieren. Debian benötigt eigene Festplatten-Partitionen. Es kann nicht auf Windows- oder MacOS Partitionen installiert werden. Es kann möglicherweise Partitionen mit anderen Linux-Systemen teilen, was hier jedoch nicht behandelt wird. Sie brauchen mindestens eine Partition, die dem Hauptverzeichnis von Debian gewidmet ist.

Sie können Informationen über Ihre bisherigen Partitionen mit einem Partitionierungs-Tool Ihres aktuellen Betriebssystems , wie etwa HD SC Setup, HDToolBox, oder SCSITool herausfinden. Partitionierungsprogramme bieten immer eine Möglichkeit, existierende Partitionen anzuzeigen, ohne Änderungen vorzunehmen.

Normalerweise zerstört eine Änderung einer Partition mit einem Dateisystem alle Daten, die darauf gespeichert sind. Daher sollten Sie vor einer Neupartitionierung immer alle Ihre Daten sichern. Denken Sie an die Analogie mit dem Haus, auch dort würden Sie Ihr Mobiliar aus dem Zimmer räumen, bevor Sie die Mauer einbauen, da Sie ansonsten riskieren, es zu zerstören.

Wenn Ihr Rechner mehr als eine Festplatte hat, möchten Sie möglicherweise eine der Festplatten komplett für Debian verwenden. Wenn dies der Fall ist, müssen Sie diese Festplatte nicht partitionieren, bevor Sie das Installationssystem hochstarten; das beim Installer inkludierte Partitionierungsprogramm kann diese Aufgabe problemlos übernehmen.

Wenn Ihr Gerät nur eine Festplatte hat, und Sie Ihr Betriebssystem komplett durch Debian GNU/Linux ersetzen wollen, können Sie mit dem Partitionieren auch warten, bis es als Teil des Installationsprozesses aufgerufen wird (???), nachdem Sie das Installationssystem gestartet haben. Das funktioniert jedoch nur, wenn Sie den Installer von System-Tapes, CD-ROM oder Dateien auf einem verbundenen Gerät starten. Denken Sie daran: wenn Sie von Dateien hochstarten, die sich auf der Festplatte befinden, und diese Festplatte im Installationsvorgang neu partitionieren, sollten Sie besser hoffen, dass die Installation gleich auf Anhieb erfolgreich funktioniert. Zumindest sollten Sie in diesem Fall eine alternative Methode zum wiederherstellen des Systems wie zum Beispiel die CDs oder Tapes der Originalinstallation bereithalten.

Wenn Ihr Gerät bereits mehrere Partitionen hat und genug Platz durch das Löschen oder Ersetzen von einer oder mehreren von ihnen geschaffen werden kann, dann können Sie auch warten und das Partitionierungsprogramm des Debian Installers verwenden. Sie sollten sich trotzdem die folgenden Informationen durchlesen, da es spezielle Umstände wie die Reihenfolge der existierenden Partitionen innerhalb der Partitionstabelle gibt, die Sie dazu zwingen, die Partitionierung vor der Installation durchzuführen.

In allen anderen Fällen müssen Sie Ihre Festplatte vor der Installation neu partitionieren, um partitionierbaren Platz für Debian zu schaffen. Wenn einige der Partitionen zu anderen Betriebssystemen gehören, sollten Sie diese unter Verwendung der Partitionsprogramme dieser Betriebssysteme anlegen. Wir empfehlen, dass Sie nicht versuchen, Debian Linux Partitionen unter Verwendung von Systemprogrammen anderer Betriebssysteme zu erstellen. Statt dessen sollten Sie nur die nativen Partitionen dieses Betriebssystems erstellen, die Sie behalten wollen.

Wenn Sie mehr als ein Betriebssystem auf dem gleichen Gerät installieren, sollten Sie alle anderen Betriebssysteme installieren, bevor Sie mit der Linux Installation fortfahren. Windows und andere Betriebssystem Installationen können die Möglichkeit zum Starten von Linux zerstören, oder Ihnen empfehlen, nicht-eigene Partitionen neu zu formatieren.

Sie können Beschädigungen durch diese Aktionen reparieren oder vermeiden, aber das vorherige Installieren dieser Systeme erspart Probleme.

Wenn Sie momentan eine Festplatte mit einer Partition haben (eine gängige Einstellung für Desktop-Computer), und Sie wollen das aktuelle Betriebssystem und Debian per Multi-Boot hochstarten, so müssen Sie:

  1. Alles auf dem Computer heruntersichern.

  2. Mit dem originalen Betriebssystem Installationsmedium wie der CD-ROM oder den Tapes hochstarten.

  3. Verwenden Sie das native Partitionierungsprogramm zum Erstellen der nativen Systempartition(en). Erzeugen Sie entweder eine Platzhalter Partition oder lassen Sie freien Speicherplatz für Debian GNU/Linux.

  4. Installieren Sie das native Betriebssystem in seiner neuen Partition.

  5. Starten Sie das native Betriebssystem hoch, um sicherzustellen, dass alles funktioniert, und um die Debian Installer Boot-Dateien herunterzuladen.

  6. Starten Sie den Debian Installer, um mit der Debian Installation fortzufahren.

3.5.1. Partitioning in AmigaOS

If you are running AmigaOS, you can use the HDToolBox program to adjust your native partitions prior to installation.

3.5.2. Partitioning in Atari TOS

Atari partition IDs are three ASCII characters, use ``LNX'' for data and ``SWP'' for swap partitions. If using the low memory installation method, a small Minix partition is also needed (about 2 MB), for which the partition ID is ``MNX''. Failure to set the appropriate partition IDs not only prevents the Debian installation process from recognizing the partitions, but also results in TOS attempting to use the Linux partitions, which confuses the hard disk driver and renders the whole disk inaccessible.

There are a multitude of third party partitioning tools available (the Atari harddisk utility doesn't permit changing the partition ID); this manual cannot give detailed descriptions for all of them. The following description covers SCSITool (from Hard+Soft GmBH).

  1. Start SCSITool and select the disk you want to partition (Disk menu, item select).

  2. From the Partition menu, select either New to add new partitions or change the existing partition sizes, or Change to change one specific partition. Unless you have already created partitions with the right sizes and only want to change the partition ID, New is probably the best choice.

  3. For the New choice, select existing in the dialog box prompting the initial settings. The next window shows a list of existing partitions which you can adjust using the scroll buttons, or by clicking in the bar graphs. The first column in the partition list is the partition type; just click on the text field to edit it. When you are finished changing partition settings, save the changes by leaving the window with the OK button.

  4. For the Change option, select the partition to change in the selection list, and select other systems in the dialog box. The next window lists detailed information about the location of this partition, and lets you change the partition ID. Save changes by leaving the window with the OK button.

  5. Write down the Linux names for each of the partitions you created or changed for use with Linux — see Abschnitt A.4, „Device Names in Linux“.

  6. Quit SCSITool using the Quit item from the File menu. The computer will reboot to make sure the changed partition table is used by TOS. If you changed any TOS/GEM partitions, they will be invalidated and have to be reinitialized (we told you to back up everything on the disk, didn't we?).

There is a partitioning tool for Linux/m68k called atari-fdisk in the installation system, but for now we recommend you partition your disk using a TOS partition editor or some disk tool. If your partition editor doesn't have an option to edit the partition type, you can do this crucial step at a later stage (from the booted temporary install RAMdisk). SCSITool is only one of the partition editors we know of which supports selection of arbitrary partition types. There may be others; select the tool that suits your needs.

3.5.3. Partitioning in MacOS

Partitioning tools for Macintosh tested include pdisk, HD SC Setup 7.3.5 (Apple), HDT 1.8 (FWB), SilverLining (LaCie), and DiskTool (Tim Endres, GPL). Full versions are required for HDT and SilverLining. The Apple tool requires a patch in order to recognize third-party disks (a description on how to patch HD SC Setup using ResEdit can be found at http://www.euronet.nl/users/ernstoud/patch.html).

For IDE based Macs, you need to use Apple Drive Setup to create empty space for the Linux partitions, and complete the partitioning under Linux, or use the MacOS version of pdisk available from the MkLinux FTP server.