SuSE GmbH

SuSE Support-Datenbank

Titel: LILO für Linux + DOS + OS/2

----------

Übersicht o Stichwortsuche o History o Versionen o Kategorien o Alle Artikel

----------

LILO für Linux + DOS + OS/2

Bezieht sich auf
S.u.S.E.-Version: alle
Kernel-Version: alle

Wunsch:

Sie haben DOS, OS/2 und Linux auf Ihrem System und wollen alle diese Betriebssysteme von Festplatte booten.

Vorgehen:

1. Möglichkeit: OS/2 Bootmanager

Näheres dazu hier (maddin_os2linux.html).

2. Möglichkeit: LILO

Als Haupt-Bootmanager wird LILO im MBR oder in einer primären Partition der ersten Festplatte benutzt. Wenn eine primäre Partition den LILO aufnehmen kann (z. B. Linux-Partitionen oder die erweiterte Partition, aber nicht primäre oder logische Partitionen anderer Betriebssysteme), ist der zweite Platz sicherer, da bei DOS- und OS/2-Installationen der MBR-Code leicht überschrieben wird.

Das folgende Beispiel für eine geeignete LILO-Konfigurationsdatei /etc/lilo.conf nimmt an, daß die Startpartitionen für DOS (primär) und Linux (primär) auf der ersten Festplatte, die für OS/2 (logisch) auf der zweiten Festplatte liegen. Alle diese Partitionen müssen sich wie üblich unterhalb der 1024-Zylinder-Grenze (1024_Zylinder.html)befinden. Da OS/2 auf der zweiten Platte liegt, wird anstelle des normalen Loaders /boot/chain.b der spezielle Loader /boot/os2_b.b verwendet.

Der MBR kann von MS-DOS oder OS/2 stammen (gleichgültig). In der Partitionstabelle ist mit einem fdisk Programm die LILO-Partition (d. h. hier die Linux-Startpartition) als aktiv zu markieren.

Die Partitions- und Kernel-Namen im Beispiel müssen natürlich noch auf Ihre spezifischen Verhältnisse ANGEPASST werden. Beachten Sie die Kommentare.

# LILO Konfigurations-Datei
# Start LILO global Section
boot  = /dev/sda4         # ANPASSEN: LILO in Linux Root-Partition
                          # Diese Partition AKTIVIEREN

# Entkommentieren, wenn Sie bei jedem Systemstart eine
# LILO Startmeldung bekommen wollen, die Sie vorher in
# /boot/message abgelegt haben:
# message = /boot/message #  Begruessungsbildschirm

prompt
delay = 100
vga   = normal
#
# Linux Bootpartition konfigurieren 
image = /vmlinuz          #  ANPASSEN: Der Kernel !!
    label = linux        
    root  = /dev/sda4     #  ANPASSEN: Linux Root-Partition !!
# Linux Bootpartition konfigurieren: Ende 
#
# OS/2 Bootpartition (zweite Festplatte) konfigurieren
other = /dev/sdb5         #  ANPASSEN: OS/2 Systempartition !!
    table = /dev/sdb      #  ANPASSEN: Festplatten-Device
    label = os2
    loader = /boot/os2_b.b
# OS/2 Bootpartition konfigurieren: Ende

# Hier (auskommentiert) der einfachere Eintrag für eine
# OS/2 Systempartition auf der ersten Festplatte:
#
# OS/2 Bootpartition (erste Festplatte) konfigurieren
# other = /dev/sda5       #  ANPASSEN: OS/2 Systempartition !!
#    table = /dev/sda     #  ANPASSEN: Festplatten-Device
#    label = os2
# OS/2 Bootpartition konfigurieren: Ende

#
# DOS Bootpartition konfigurieren
other = /dev/sda1         #  ANPASSEN: DOS Systempartition !!
    table = /dev/sda      #  ANPASSEN: Festplatten-Device
    label = dos
# DOS Bootpartition konfigurieren: Ende

----------

Siehe auch:

----------

Stichwörter: LILO, OS2, OS/2, BOOTEN

----------

Feedback willkommen: Send Mail to kgw@suse.de (Geben Sie bitte folgendes Stichwort an: SDB-kgw_lilo_os2dos)

----------

Übersicht o Stichwortsuche o History o Versionen o Kategorien o Alle Artikel

----------

SDB-kgw_lilo_os2dos, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Zuletzt generiert: 03. Oct 1999 22:36:16 by maddin with sdb_gen 1.00.0