PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Frage zwecks Grub konfiguration



spica
08.03.07, 20:36
Hallo,
möchte auf meinem Festplatte mit 2 Partitionen und eine swap Partitionen Umbuntu und Fedora Core einrichten.

Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 10412 83634358+ 83 Linux
/dev/hda2 19647 20023 3028252+ 5 Extended
/dev/hda3 10413 19646 74172105 83 Linux
/dev/hda5 19647 20023 3028221 82 Linux swap / Solaris

Zuerst hab ich Fedora Core (hda 3) installiert danach Umbuntu (hda 2)jetzt hat aber Grub den Bootloaders überschrieben .
Frage wie kann ich Grub dazu bringen Fedora Core zu booten die boot Datei von Fedora Core hab ich zusätzlich gesichert .
Gruß Rainer:confused:

hp_tux
08.03.07, 20:43
Hallo,

nun, dazu mußt Du einfach nur den Teil aus der "menu.lst" von Fedora in die "menu.lst" von Ubuntu übertragen. Am besten postest Du hier mal die beiden Dateien.

Gruß

hp_tux

spica
08.03.07, 20:50
Hallo,
hier mein Auszug aus Umbuntu
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash locale=de_DE
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot

und Fedora

efault=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.19-1.2911.6.5.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.5.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.5.fc6.img
title Fedora Core (2.6.19-1.2911.6.4.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.4.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.4.fc6.img
title Umbuntu
rootnoverify (hd0,0)
chainloader +1

Gruß Rainer :cool:

kreol
08.03.07, 20:54
Füge
title Fedora Core (2.6.19-1.2911.6.5.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.5.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.5.fc6.img

title Fedora Core (2.6.19-1.2911.6.4.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.4.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.4.fc6.imgin die menu.lst vom Ubuntu ein.

P.S. Dein Ubuntu liegt offenbar auf hda1 und nicht auf hda2, oder hast Du eine eigene /boot-Partition?


Kreol

hp_tux
08.03.07, 21:05
Hallo,

also, die "menu.lst" von Ubuntu sollte dann folgendermaßen aussehen:

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash locale=de_DE
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Fedora Core (2.6.19-1.2911.6.5.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.5.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.5.fc6.img

title Fedora Core (2.6.19-1.2911.6.4.fc6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.19-1.2911.6.4.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.19-1.2911.6.4.fc6.img

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot

Gruß

hp_tux

hp_tux
08.03.07, 21:09
Hallo,


P.S. Dein Ubuntu liegt offenbar auf hda1 und nicht auf hda2, oder hast Du eine eigene /boot-Partition?
nun, auf "hda2" kann überhaupt nichts installiert sein: das ist eine erweiterte Partition, also ein Container für logische Partitionen.

Gruß

hp_tux