• 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] SuSE 11.2+Windows XP+Windows 7 auf einem PC

Hallo,
ich habe bei mir drei HDDs und ein DVD im PC und habe mir in dieser Reihenfolge installiert:
  • 1. Winows XP (weil ich wusste das Win7 den MBR überschreiben würde)
    2. Windows 7
    3. openSuSE 11.2 (hat den MBR nicht einfach überschrieben
Festplatte 1 (Samsung) für Linux
Festplatte 2 (Maxtor) mit zwei Partitionen WinXP/Win7
Festplatte 3 Samsung (Backup und Datenaustauschplatte, deshalb NTFS)
...aber leider bootet außer meinem Linux nichts, so das ich wohl im Zuge einer Neuinstallation meinen MBR von einer neuen Windows Installation überschreiben lassen muss.
Wie gehe ich das am besten an damit am Ende auch mein openSuSE noch lauffähig bleibt bzw wieder wird ohne Schaden zu nehmen.?
Code:
uname -a
2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux
Code:
ls -lh /boot
insgesamt 13M                     
-rw------- 1 root root  512 28. Nov 02:40 backup_mbr
lrwxrwxrwx 1 root root    1 28. Nov 02:28 boot -> . 
-rw-r--r-- 1 root root 1,3K 24. Okt 04:19 boot.readme
-rw-r--r-- 1 root root 101K 27. Okt 12:30 config-2.6.31.5-0.1-desktop
drwxr-xr-x 2 root root 4,0K 28. Nov 11:13 grub                       
lrwxrwxrwx 1 root root   27 28. Nov 02:40 initrd -> initrd-2.6.31.5-0.1-desktop
-rw-r--r-- 1 root root 6,1M 28. Nov 02:40 initrd-2.6.31.5-0.1-desktop          
-rw-r--r-- 1 root root 412K 28. Nov 11:13 message                              
-rw-r--r-- 1 root root 167K 27. Okt 12:32 symvers-2.6.31.5-0.1-desktop.gz      
-rw-r--r-- 1 root root 1,9M 27. Okt 11:31 System.map-2.6.31.5-0.1-desktop      
lrwxrwxrwx 1 root root   28 28. Nov 02:32 vmlinuz -> vmlinuz-2.6.31.5-0.1-desktop
-rw-r--r-- 1 root root 4,0M 27. Okt 11:31 vmlinuz-2.6.31.5-0.1-desktop
Code:
cat /boot/grub/device.map
(hd2)   /dev/disk/by-id/ata-ST3160021A_5JS2NFK5
(hd0)   /dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184
(hd1)   /dev/disk/by-id/ata-Maxtor_6Y160P0_Y466SLZE       
[b]cat /boot/grub/menu.lst[/b]
# Modified by YaST2. Last modification on Sa Nov 28 11:13:50 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 10
gfxmenu (hd0,1)/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,1)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part2 acpi=off nofb resume=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part1 splash=silent quiet showopts
    initrd /boot/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
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe
    initrd /boot/initrd-2.6.31.5-0.1-desktop

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

###Don't change this comment - YaST2 identifier: Original name: windows 2###
title Windows 7
    map (hd1) (hd0)
    map (hd0) (hd1)
    rootnoverify (hd1,1)
    makeactive
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows 3###
title Seagate
    map (hd2) (hd0)
    map (hd0) (hd2)
    rootnoverify (hd2,0)
    makeactive
    chainloader +1

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

Platte /dev/sda: 250.1 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x7e9c7e9c

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1         262     2104483+  82  Linux Swap / Solaris
/dev/sda2   *         263        2873    20972857+  83  Linux
/dev/sda3            2874       30401   221118660   83  Linux

Platte /dev/sdb: 163.9 GByte, 163928604672 Byte
255 Köpfe, 63 Sektoren/Spuren, 19929 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x2cc82cc7

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1   *        3827       19929   129347347+   7  HPFS/NTFS
/dev/sdb2               1        3826    30732313+   7  HPFS/NTFS

Partitionstabelleneinträge sind nicht in Platten-Reihenfolge

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

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdc1               1       19457   156288321    7  HPFS/NTFS

Platte /dev/sdd: 1004 MByte, 1004011520 Byte
23 Köpfe, 22 Sektoren/Spuren, 3875 Zylinder
Einheiten = Zylinder von 506 × 512 = 259072 Bytes
Disk identifier: 0x00000000

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdd1   *           1        3876      980356    b  W95 FAT32
Es gibt doch eine Backup_MBR, wie oder welches Programm kann aus dieser Datei die Wiederherstellung machen, die SupergubDisk, die openSuSE Installationsroutine...oder was?
lieben Gruß aus Hessen
 
Hallo IOtz,
lOtz1009 schrieb:
Was passiert wenn du XP oder Windows7 auswählst?
Zuerst kam ja das Bootmenue von Win7 aber das erscheint nun gar nicht mehr, aber bei XP heißt es ntldr nicht gefunden.
Ich weiß auch nicht was das soll.
Nach der SUSE 11.2 Installation (bot mir nur VESA Grafik an) landete ich aber auch erstmal in der Konsole und musste erst
Code:
sax2 -r -m 0=fbdev
startx
eingeben um in KDE zu gelangen.
Ich suchte dann im Netz und fand den Hinweis mit
Code:
init 5
, seit dem bootet mein Linux richtig.
Aber dafür keines der beiden Windows.
Die Samsung ist primary Master, weil ich primär Linux nutze.
Wie die anderen Geräte gejumpert sind kann ich gerade nicht nachsehen, werde das aber morgen nachsehen.
lieben Gruß aus Hessen
 
Hallo,
nein natürlich nicht! Die sind so wie sie seit Monaten schon eingebaut und gejumpert sind.
hda hat nur eine Partition was dann der Suse-Installer natürlich geändert hat wegen swap und home.
hdb hat zwei Partitionen, mit GePartEd erstellt, und beide als primary Partition angelegt, aber keinen Boot-Flag gesetzt.
Sollte ich die nun besser mit einer primären (hdb1) und einer erweitertet Partition (hdb2) anlegen und die dann hdb1 mit dem Boot-Flag versehen?
lieben Gruß aus Hessen
 
lOtz1009 schrieb:
Laufen WindowsXP und 7 wenn sie als einzige Platte angeschlossen sind?
So ich habe die anderen beiden Festplatten mal abgeklemmt -> ntldr not found
Also habe ich die HDD nochmal mit PartedMagic in zwei Partitionen verteilt und die zweite gleich als erweiterte Partition angelegt.
Dann wieder zuerst WinXP auf der Partition 1 und danach dann Win7 auf der erweiterten Partition.
Das Bootmenü erscheint nach dem Neustart und ich kann tatsächlich zwischen den beiden Wählen.
Dann habe ich die beiden anderen HDDs, primary Master (Linux) und Secundary Slave (NTFS-Backup) angeschlossen und den PC gestartet.....
.....Spannung...ja ich habe immer noch meinen GRUB und kann mein Linux weiter nutzen.
Gleich bin ich noch in die Bootoptionen gegangen und habe die unnötigen Einträge aus dem Bootmenue entfernt und die vorhandene umbenannt.
So sieht das Ergebnis jezt aus:
Code:
cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Mi Dez  2 00:58:17 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 10
gfxmenu (hd0,1)/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,1)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part2 acpi=off nofb resume=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part1 splash=silent quiet showopts
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title Windows XP oder  Windows 7
    map (hd1) (hd0)
    map (hd0) (hd1)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title abgesicherter Modus - openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-SAMSUNG_SP2514N_S08BJ1PLC10184-part2 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
    rootnoverify (fd0)
    chainloader +1
dann werde ich das ganze nochmal mit der VirtualBox nach spielen damit ich es gut kommentieren kann, z.B. für Norman :)
lieben Gruß aus Hessen
 
Oben