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

3 festplatten 3 Systeme

mala

Newbie
Hallo,

Nachdem es mit dem Softraid ja nicht so recht klappen wollte habe ich es wieder aufgelöst.
Jetzt bekomme ich grub aber nicht so eingestellt das Vista gebootet werden kann.

auf sda1 liegt linux
auf sdb1 liegt xp
auf sdc1 liegt vista

meine device.map sieht so aus

(fd0) /dev/fd0
(hd0) /dev/sda
(hd2) /dev/sdc
(hd1) /dev/sdb

und die menu.lst für xp

title Windows XP Home
rootnoverify (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1,0)+1


wie muß es jetzt für Vista aussehen.?
 
OP
M

mala

Newbie
Ich weiß nicht genau wie ich es mappen soll.

ich hatte es mal so versucht

(hd0) (hd2)
(hd2) (hd0)
 

admine

Ultimate Guru
Man kann auch die device.map anpassen:
(hd0) ein Windows
(hd1) ein Windows, welches gemappt werden muss
(hd2) ist dann Linux ... und Linux hat damit kein Problem.

ABER Achtung!
Dann müssen auch die Grub-Bezeichnungen der menu.lst angepasst werden!

EDIT:
Welches Windows wurde denn zuerst installiert?
Liegen nicht sowieso die Startdateien des 2. Windows auf der Partition des ersten Windows und muss nicht eh noch über den Windwos-Bootloader gewählt werden ... war das nicht so?
:roll:
 
OP
M

mala

Newbie
Ich kann das ja mal probieren.

Ja eigentlich hast du recht. Ich hab aber (absichtlich) nur die Festplatte angeschlossen auf die auch Installiert werden sollte. Dann kann ich wenn mal was schief geht immernoch ein System booten. ich werde auch xp nochmal mit in den Vistaloader aufnehmen. Mit Linux krieg ich das irgendwie nicht hin.


hab ich das richtig verstanden das ich dann die device.map so erstelle?

(fd0) /dev/fd0
(hd0) WinXP
(hd1) Vista
(hd0) Linux

Und wie sieht dann die menu.lst aus?
 

admine

Ultimate Guru
mala schrieb:
Und wie sieht dann die menu.lst aus?
Du tauschst ja nur die Zuweisung für /dev/sda und /dev/sdc
Code:
(fd0) /dev/fd0
(hd0) /dev/sdc
(hd2) /dev/sda
(hd1) /dev/sdb

Also müssen die Angaben beim Eintrag für Linux nicht mehr (hd0,0) sein, sondern (hd2,0) => hier auch an das "resume" (Swap) denken
und für das Windows Vista nicht (hd2,0) sondern (hd0,0) und nichts mit mappen.
 
OP
M

mala

Newbie
Also irgendwie steh ich auf dem Schlauch. Ich poste mal meine menu.lst und device.map
ich konnte so kein System booten. So wie sie jetzt sind kann ich Linux und Xp booten. Unten poste ich mal wie ich sie geändert hab.

("original")device.map

(fd0) /dev/fd0
(hd0) /dev/sda
(hd2) /dev/sdc
(hd1) /dev/sdb

("original")menu.lst


# Modified by YaST2. Last modification on Mo Sep 10 17:09:22 CEST 2007
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda1 vga=0x31a resume=/dev/sda6 splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-default

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

title Vista
rootnoverify (hd0,0)
chainloader (hd2,0)+1

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda1 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd-2.6.18.2-34-default


Die device.map hatte ich so


(fd0) /dev/fd0
(hd0) /dev/sdc
(hd2) /dev/sda
(hd1) /dev/sdb


die menu.lst so





# Modified by YaST2. Last modification on Mo Sep 10 17:09:22 CEST 2007
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sdc1 vga=0x31a resume=/dev/sdc6 splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-default

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

title Vista
rootnoverify (hd0,0)
chainloader (hd2,0)+1

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda1 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd-2.6.18.2-34-default
 

admine

Ultimate Guru
root=/dev/sdc1 <== das solltest du nicht ändern, sondern das => root (hd0,0)

mala schrieb:
Die device.map hatte ich so
(fd0) /dev/fd0
(hd0) /dev/sdc
(hd2) /dev/sda
(hd1) /dev/sdb
Das ist ok.
Jetzt ist Linux die Platte (hd2) und Vista die Platte (hd0)

=> die menu.lst

Code:
# Modified by YaST2. Last modification on Mo Sep 10 17:09:22 CEST 2007
default 0
timeout 8
gfxmenu (hd2,0)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda1 vga=0x31a resume=/dev/sda6 splash=silent showopts
    initrd /boot/initrd-2.6.18.2-34-default

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

title Vista
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
    root (hd2,0)
    kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda1 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd-2.6.18.2-34-default
 
OP
M

mala

Newbie
ok, das hatte ich ganz zum anfang versucht. dann dachte ich wenn ich die laufwerke wechsel ist linux nicht mehr auf sda sondern auf sdc.


Ich habe es jedenfalls jetzt nochmal so gemacht wie du gesagt hast. Aber das klappt leider nicht so ganz. grub schreibt sich dann in die Vista Partition, was ja nicht so schlimm ist. Aber grub bricht dann mit Fehler 17 ab. Habe dann mal von der Linux Platte gestartet, so soll es eigentlich auch werden.

Auf der Vista Platte soll nur der Vista Loader sein.
Auf der XP Platte nur der Xp Loader
Auf der Linux Platte Grub mit der möglichkeit alle 3 zu booten.

Wenn ich von der Linux Platte boote kommt das dabei raus.



Grub loading stage2..
(hd2,0)/boot/message: file not found
farbiges bootmenü ist weg---- nur schwarz weiß auch nicht schlimm

Xp lässt sich booten
Vista nicht
Und Linux auch nicht Error 17: Cannot mount selected partition.
Wenn ich dann mit "e" den Eintrag editire auf (hd0,0) startet Linux wieder.
 

admine

Ultimate Guru
Hm ... dann schreibt wohl Grub doch die device.map beim Installieren wieder um :(

Allerdings sollte es doch irgendwie mit dem mappen funtzen:
Code:
(hd0) (hd2)
(hd2) (hd0)

Wie sah denn da genau die menu.lst aus?
 
OP
M

mala

Newbie
Das kann ich dir nacher nochmal posten.

Würde es was bringen wenn ich die Laufwerke Physikalisch anders anschliesse. Also dann Linux als hd2, Xp als hd1 wie gehabt, und Vista als hd0.

Im moment weiß ich gar nichts mehr. :?:
 
OP
M

mala

Newbie
Ich glaube ich hab es so gemacht. habe ja heute schon so viel probiert......


title vista
rootnoverify (hd0,0)
map (hd1) (hd2)
map (hd2) (hd1)
makeactive
chainloader (hd2,0)+1


Hätte es so gemusst

title vista
rootnoverify (hd0,0)
map (hd0) (hd2)
map (hd2) (hd0)
makeactive
chainloader (hd2,0)+1
 

admine

Ultimate Guru
mala schrieb:
title vista
rootnoverify (hd0,0)
map (hd0) (hd2)
map (hd2) (hd0)
makeactive
chainloader (hd2,0)+1
Wenn, dann nur so ... denn die Vista-Platte muss ja zur 0er-Platte werden.
Dadurch wird ja dem Windows eine erste Platte vorgegauckelt.
 

revealed

Guru
eventuell hilft dann, wenn Grub abgeklärt ist dashier weiter?:
http://www.linux-club.de/ftopic80435.html

Gruß

R
 

Gimpel

Guru
Warum supporten wir soetwas überhaupt? XP, Vista..

Aus den zwei Platten würd ich mir nen schigges LVM volume basteln :p
 
Oben