[opensuse-autoinstall] bootloader for RAID1
Hi All, I've got a setup with three RAID1 SATA disks, using grub as boot loader. All works fine except for one thing: I can only boot on the first disk. This is my boot loader definition in autoinst.xml: [snip] <bootloader> <global> <activate>true</activate> <generic_mbr>true</generic_mbr> <gfxmenu>/boot/message</gfxmenu> <timeout config:type="integer">5</timeout> </global> <loader_device>/dev/md</loader_device> <loader_type>grub</loader_type> <location>mbr</location> <repl_mbr config:type="boolean">true</repl_mbr> </bootloader> [snip] After successful installation, I can see that /etc/grub.conf only mentions the first disk, where it should mention all three. After reading the documentation, I'm still not wiser. If I fix it using YaST2 on the installed machine, all I have to do is to select "o Boot from Boot Partition", install the new bootloader, check out /etc/grub.conf, and sure enough, there's the three disks. What do I have to do to get autoyast to install the boot loader on all three disks, not just the first one? Or, what are the legal values for "<location>"? What am I doing wrong here? Any advice appreciated /Lars Stavholm -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Lars Stavholm wrote:
Hi All,
I've got a setup with three RAID1 SATA disks, using grub as boot loader. All works fine except for one thing: I can only boot on the first disk. This is my boot loader definition in autoinst.xml:
[snip] <bootloader> <global> <activate>true</activate> <generic_mbr>true</generic_mbr> <gfxmenu>/boot/message</gfxmenu> <timeout config:type="integer">5</timeout> </global> <loader_device>/dev/md</loader_device>
Sorry to confuse things, typo, it should be... <loader_device>/dev/md0</loader_device> I've got /boot mounted on /dev/md0. /Lars
<loader_type>grub</loader_type> <location>mbr</location> <repl_mbr config:type="boolean">true</repl_mbr> </bootloader> [snip]
After successful installation, I can see that /etc/grub.conf only mentions the first disk, where it should mention all three. After reading the documentation, I'm still not wiser. If I fix it using YaST2 on the installed machine, all I have to do is to select "o Boot from Boot Partition", install the new bootloader, check out /etc/grub.conf, and sure enough, there's the three disks.
What do I have to do to get autoyast to install the boot loader on all three disks, not just the first one?
Or, what are the legal values for "<location>"?
What am I doing wrong here?
Any advice appreciated /Lars Stavholm
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday 03 April 2007 10:49, Lars Stavholm wrote:
After successful installation, I can see that /etc/grub.conf only mentions the first disk, where it should mention all three. After reading the documentation, I'm still not wiser. If I fix it using YaST2 on the installed machine, all I have to do is to select "o Boot from Boot Partition", install the new bootloader, check out /etc/grub.conf, and sure enough, there's the three disks.
What do I have to do to get autoyast to install the boot loader on all three disks, not just the first one?
Or, what are the legal values for "<location>"?
have you tried to create a reference profile of a manually installed machine? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote:
On Tuesday 03 April 2007 10:49, Lars Stavholm wrote:
After successful installation, I can see that /etc/grub.conf only mentions the first disk, where it should mention all three. After reading the documentation, I'm still not wiser. If I fix it using YaST2 on the installed machine, all I have to do is to select "o Boot from Boot Partition", install the new bootloader, check out /etc/grub.conf, and sure enough, there's the three disks.
What do I have to do to get autoyast to install the boot loader on all three disks, not just the first one?
Or, what are the legal values for "<location>"?
have you tried to create a reference profile of a manually installed machine?
Yes, of course, that's always the first thing I do when I'm lost. However, the boot loader section of the generated profile didn't help me at all, it actually looked just about the same as the original profile used at installation. However, with a bit of trial-and-error I found that setting the <loader_device> to /dev/md0 (that's where I have /boot mounted) and <location> to /boot seemed to have done the trick. After installation, /etc/grub.conf contains all three disks as expected. Still have to test the boot capability of all three disks, but it seems to be OK now. Here's the complete boot loader section I use for the RAID1 setup: <bootloader>' <global> <activate>true</activate> <generic_mbr>true</generic_mbr> <gfxmenu>/boot/message</gfxmenu> <timeout config:type="integer">5</timeout> </global> <loader_device>/dev/md0</loader_device> <loader_type>grub</loader_type> <location>/boot</location> <repl_mbr config:type="boolean">true</repl_mbr> </bootloader>' Cheers /L -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Lars Stavholm
-
Uwe Gansert