Hallo zusammen,
ich habe ein Problem, mein Softwareraid war nicht mehr syncron
eine Platte (SDB) ist raus geflogen, SDA lief weiter.
Nun habe ich den Server neu gebootet das die Platte per fdisk
gar nicht mehr ansprechbar war.
Jetzt bootet der Rechner aber immer von der falschen Platte
SDB auf der der falsche Stand ist, der richtige aktuelle Stand
ist auf SDA.
Wie bekomme ich es hin das der Server von SDA bootet.
Es handelt sich um CentOS5 mit GRUB als Bootloader...
Vielen Dank, für schnelle Hilfe wäre ich dankbar...
Gruß Philipp
Von zweiter Festplatte booten
Re: Von zweiter Festplatte booten
Die Bootreihenfolge im BIOS muss passen und die Bootpartition auf sda muss im MBR oder der GPT als aktiv markiert sein und den Bootcode von Grub enthalten. Für das Mounten aller weiteren Patitionen muss die fstab passen.
Wenn Alles passt, sollte von sda gebootet werden.
Wenn Alles passt, sollte von sda gebootet werden.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Von zweiter Festplatte booten
Leider habe ich keinen Zugriff auf das BIOS. (1und1 Server). Fstab passt. Eine Idee die mir gekommen ist, ist zwar eine Holzhammer Methode, aber müsste doch trotzdem klappen. Ich boote den Server im Rescue-Modus und entferne per fdisk die Partitionen auf der SDB. Installiere GRUB auf der SDA, somit ist der Server gezwungen von SDA zu booten weil er auf SDB nichts mehr findet. Müsste doch klappen, oder?
Re: Von zweiter Festplatte booten
Den MBR auf sdb musst Du dann ebenfalls löschen:
Ist aber wirklich Holzhammer und könnte dazu führen dass der Server gar nicht mehr bootet.
Code: Select all
dd if=/dev/zero of=/dev/sdb bs=512 count=1PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Von zweiter Festplatte booten
ok, besten Dank erst einmal...
