• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

2 Bootloader [Erledigt]

lewendi

Advanced Hacker
Servus zusammen.

Ich habe XP und Suse 11.0 installiert.

Die menue.lst von 11.0

Code:
# Modified by YaST2. Last modification on Sa Dez  5 19:23:41 CET 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.0 - 2.6.25.20-0.5 
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_SAMSUNG_SP2504CS09QJ1GL914345-part3 resume=/dev/sda5 splash=silent showopts vga=0x31a
    initrd /boot/initrd-2.6.25.20-0.5-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0 - 2.6.25.20-0.5
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_SAMSUNG_SP2504CS09QJ1GL914345-part3 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.25.20-0.5-pae

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title WIN-XP
    rootnoverify (hd0,2)
    chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
    rootnoverify (hd0,2)
    chainloader (fd0)+1

Jetzt habe ich die Suse 11.2 dazu installiert und habe einen 2. Bootloader bekommen.


Die menue.lst von 11.2

Code:
# Modified by YaST2. Last modification on Sa Dez 12 20:17:54 CET 2009
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-SAMSUNG_SP2504C_S09QJ1GL914345-part6 resume=/dev/disk/by-id/ata-SAMSUNG_SP2504C_S09QJ1GL914345-part5 splash=silent quiet showopts vga=0x31a
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name:  openSUSE 11.0 - 2.6.25.20-0.5  (/dev/sda3)###
title openSUSE 11.0 - 2.6.25.20-0.5  (/dev/sda3)
    rootnoverify (hd0,2)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title WIN-XP
    rootnoverify (hd0,0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
    rootnoverify (fd0)
    chainloader +1

Das Problem ist, wenn ich den PC starte und ich will mir Suse11.0 arbeiten, so kommt erst der Bootloader (Suse 11.2) und dann der Bootloader (Suse11.0).
ist zwar nicht tragisch, aber auch nicht schön: ;)

Kann ich die Zeile von der menue.lst 11.0 ohne weiteres in die menue.lst 11.2 einfügen, oder geht das nicht:
Code:
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0 - 2.6.25.20-0.5
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_SAMSUNG_SP2504CS09QJ1GL914345-part3 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.25.20-0.5-pae

Gibt es eventuell eine bessere Lösung?

lewendi
 
A

Anonymous

Gast
in deiner 11.2er /boot/grub/menu.lst müsstest du folgenden Abschnitt hier
Code:
###Don't change this comment - YaST2 identifier: Original name:  openSUSE 11.0 - 2.6.25.20-0.5  (/dev/sda3)###
title openSUSE 11.0 - 2.6.25.20-0.5  (/dev/sda3)
    rootnoverify (hd0,2)
    chainloader +1
wie folgt abändern,
Code:
###Don't change this comment - YaST2 identifier: Original name:  openSUSE 11.0 - 2.6.25.20-0.5  (/dev/sda3)###
title openSUSE 11.0 - 2.6.25.20-0.5 (/dev/sda3)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.25.20-0.5-pae root=/dev/disk/by-id/scsi-SATA_SAMSUNG_SP2504CS09QJ1GL914345-part3 resume=/dev/sda5 splash=silent showopts vga=0x31a
    initrd /boot/initrd-2.6.25.20-0.5-pae

robi
 
Oben