PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : 3 betiebsysteme in lilo (redhat 9)



WrokY
03.05.04, 20:10
hu,

habe folgendes problem, möchte 3 betriebssysteme mit lilo booten können:

1. Win
2. Linux SuSE
3. Redhat 9 (laufendes system mit bootmanager)

hier ist die lilo.conf:


boot="/dev/hda"
prompt
timeout="50"
message=/boot/message
root=/dev/hda5
vga="Standar"
default=Linux_Compiled

image="/boot/vmlinuz-2.4.20-8"
label="2.4.20-8"
root="/dev/hda5"
read-only
initrd="/boot/initrd-2.4.20-8.img"

image="/boot/bzImage"
label="Linux_Compiled"
root="/dev/hda5"
read-only
optional

other=/dev/hda1
label="NT"
image="/dev/hda1"
root="/dev/hda5"

image="/dev/hda1"
root="/dev/hda5"

other=/dev/hda9
label="NT"

so meine SuSE-Partition befindet sich /dev/hda6 mit /boot/vmlinuz (denke mal vmlinuz??!!)

wie muss ich es nun richtig einfügen ?

mfg WrokY

hp_tux
03.05.04, 20:17
Hallo,

hmm, welches OS (außer SuSE) hast Du denn auf welcher Partition?

Gruß

hp_tux

WrokY
04.05.04, 09:04
ja, schließlich

redhat 9 auf /dev/hda5
win auf /dev/hda1

hp_tux
04.05.04, 13:55
Hallo,

nun, versuchs doch mal mit folgender "/etc/lilo.conf":

boot=/dev/hda
prompt
timeout=50
message=/boot/message
vga=normal
default=Linux_Compiled

# SuSE (auf hda6):
image=/boot/vmlinuz-2.4.20-8
label=2.4.20-8
root=/dev/hda6
read-only
initrd=/boot/initrd-2.4.20-8.img

image=/boot/bzImage
label=Linux_Compiled
root=/dev/hda6
read-only
optional

# Red Hat 9 (auf hda5)
image=/mnt/hda5/boot/vmlinuz
label=RedHat9
root=/dev/hda5
read-only
initrd=/mnt/hda5/boot/initrd.img

# Windows (auf hda1)
other=/dev/hda1
label=NT

Die Red-Hat-9-Partition (/dev/hda5) mußt Du unter "/mnt/hda5" mounten, und die Dateinamen bei Red Hat müssen noch angepasst werden. Zum Schluß "lilo" starten nicht vergessen! ;)

Gruß

hp_tux