Re: [opensuse-autoinstall] Redundant bootloader with mdraid

Hmmm, when I manually create my partitions and the raid sets the bootloader is installed on both disks. If I shut down the system and remove the sda, the system boots from sdb, everything is fine. Thats all I want from autoyast. How can I boot the system when there is no grub on the second disk? Regards Daniel Am 30.06.2016 um 14:39 schrieb Eric Rothweiler:
-- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org

Hi, ----------------------- Am Donnerstag, 30. Juni 2016 um 15:43 schrieb Daniel Spannbauer:
AFAIK this can be done in the grub shell. But not shure if this still works. A time ago I did it this way: type grub with root privileges to swith to the grub shell. Then type device (hd0) /dev/sda device (hd1) /dev/sdb root (hd0,0) setup (hd0) root (hd1,0) setup (hd1) quit But the bootloader can also be written to the other disk via dd. Check with "fdisk -lu" where the first partition starts. By default the first sector starts at 1 MB now (sector 2048). Then write the first 1 MB from sda to sdb: dd if=/dev/sda of=/dev/sdb bs=1M count=1 Of course the boot partiotion has also to be copied to sdb and it has to be at the same position. regards, Richard -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org

Hi, ----------------------- Am Donnerstag, 30. Juni 2016 um 15:43 schrieb Daniel Spannbauer:
AFAIK this can be done in the grub shell. But not shure if this still works. A time ago I did it this way: type grub with root privileges to swith to the grub shell. Then type device (hd0) /dev/sda device (hd1) /dev/sdb root (hd0,0) setup (hd0) root (hd1,0) setup (hd1) quit But the bootloader can also be written to the other disk via dd. Check with "fdisk -lu" where the first partition starts. By default the first sector starts at 1 MB now (sector 2048). Then write the first 1 MB from sda to sdb: dd if=/dev/sda of=/dev/sdb bs=1M count=1 Of course the boot partiotion has also to be copied to sdb and it has to be at the same position. regards, Richard -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org
participants (2)
-
Daniel Spannbauer
-
Richard Hafenscher