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

[gelöst] OS 11.2 und XP. Richtiger Eintrag in menu.lst?

Mad Elk

Member
Hi,

ich habe mir gestern die 11.2 installiert und will nun meine alte Platte mit XP noch in die menu.lst einfügen. Aber ich bekomme es einfach nicht hin.... :???:

Code:
fdisk -l

Platte /dev/sda: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder  
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0xd7dcd7dc                         

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *           1       19457   156288321    f  W95 Erw. (LBA)
/dev/sda5               1           9       72229+  83  Linux         
/dev/sda6              10         271     2104483+  82  Linux Swap / Solaris
/dev/sda7             272        2882    20972826   83  Linux               
/dev/sda8            2883       19457   133138656   83  Linux               

Platte /dev/sdb: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder  
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0xd7dcd7dc                         

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1   *           1       19457   156288321    f  W95 Erw. (LBA)
/dev/sdb5               1           9       72229+  83  Linux         
/dev/sdb6              10         271     2104483+  82  Linux Swap / Solaris
/dev/sdb7             272        2882    20972826   83  Linux               
/dev/sdb8            2883       19457   133138656   83  Linux               

Platte /dev/sdc: 82.0 GByte, 81964302336 Byte
255 Köpfe, 63 Sektoren/Spuren, 9964 Zylinder 
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x0000c30b

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdc1   *           1        9963    80027766    7  HPFS/NTFS

Platte /dev/dm-0: 160.0 GByte, 160041884672 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0xd7dcd7dc

     Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/dm-0p1   *           1       19457   156288321    f  W95 Erw. (LBA)
/dev/dm-0p5               1           9       72229+  83  Linux
/dev/dm-0p6              10         271     2104483+  82  Linux Swap / Solaris
/dev/dm-0p7             272        2882    20972826   83  Linux
/dev/dm-0p8            2883       19457   133138656   83  Linux
omitting empty partition (6)

Platte /dev/dm-1: 160.0 GByte, 160039240704 Byte
255 Köpfe, 63 Sektoren/Spuren, 19456 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

     Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/dm-1p1               1           9       72229+  83  Linux
/dev/dm-1p2               9         271     2104515    5  Erweiterte
/dev/dm-1p5              10         271     2104483+  82  Linux Swap / Solaris

Platte /dev/dm-2: 73 MByte, 73963008 Byte
255 Köpfe, 63 Sektoren/Spuren, 8 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

     Gerät  boot.     Anfang        Ende     Blöcke   Id  System

Platte /dev/dm-3: 2154 MByte, 2154991104 Byte
255 Köpfe, 63 Sektoren/Spuren, 261 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

Festplatte /dev/dm-3 enthält keine gültige Partitionstabelle

Platte /dev/dm-4: 21.5 GByte, 21476173824 Byte
255 Köpfe, 63 Sektoren/Spuren, 2610 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

Festplatte /dev/dm-4 enthält keine gültige Partitionstabelle

Platte /dev/dm-5: 136.3 GByte, 136333983744 Byte
255 Köpfe, 63 Sektoren/Spuren, 16574 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

Festplatte /dev/dm-5 enthält keine gültige Partitionstabelle

Code:
cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sa Nov 14 16:40:19 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,4)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (pae)
    root (hd0,4)
    kernel /vmlinuz-2.6.31.5-0.1-pae root=/dev/disk/by-id/raid-nvidia_ejegicbf-part7 resume=/dev/disk/by-id/raid-nvidia_ejegicbf-part6 splash=silent quiet showopts vga=0x31a
    initrd /initrd-2.6.31.5-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (pae)
    root (hd0,4)
    kernel /vmlinuz-2.6.31.5-0.1-pae root=/dev/disk/by-id/raid-nvidia_ejegicbf-part7 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd /initrd-2.6.31.5-0.1-pae

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
    kernel (hd0,4)/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/raid-nvidia_ejegicbf-part7 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
    initrd (hd0,4)/initrd-2.6.31.5-0.1-desktop

Code:
cat /boot/grub/device.map
(hd0)   /dev/disk/by-id/raid-nvidia_ejegicbf

Vorab Danke!
 

josef-wien

Ultimate Guru
http://de.opensuse.org/SDB:Windows_von_der_zweiten_Festplatte_booten

Möglicherweise mußt Du an allen drei Stellen nicht hd1, sondern hd2 schreiben, je nachdem, welche Festplattenreihenfolge Dein BIOS festlegt. Wenn Du willst, kannst Du die Reihenfolge mit
Code:
hwinfo --disk | egrep "Device Files:|BIOS id:"
feststellen.

P.S. Hast Du mit Absicht 2 verschiedene Kernel installiert?
 
OP
M

Mad Elk

Member
Hi,
josef-wien schrieb:
http://de.opensuse.org/SDB:Windows_von_der_zweiten_Festplatte_booten

Möglicherweise mußt Du an allen drei Stellen nicht hd1, sondern hd2 schreiben, je nachdem, welche Festplattenreihenfolge Dein BIOS festlegt. Wenn Du willst, kannst Du die Reihenfolge mit
Code:
hwinfo --disk | egrep "Device Files:|BIOS id:"
feststellen.

P.S. Hast Du mit Absicht 2 verschiedene Kernel installiert?

danke. Jetzt funzt es.
 
Oben