On Mon, Oct 03, Brian K. White wrote:
Yast won't install the 2nd mbr.
Yast will run grub, and grub will, assuming you want to have grub's own stage1 in the mbr and not a generic mbr.
You just have to have lines like this in /etc/grub.conf, which you can edit directly outside of yast, or in yast there is an advanced options that includes an option to edit the same file from within yast.
setup (hd0) (hd0,0) setup (hd1) (hd1,0)
Hmm. My /etc/grub.conf has (without my intervention) setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,0) setup --stage2=/boot/grub/stage2 --force-lba (hd1,0) (hd0,0) quit
The first line above puts grub stage1 and 1.5 into the mbr of drive 0 (hd0), and gets the stage1 and 1.5 images from /grub or /boot/grub on partition 0 of drive 0 (hd0,0)
The second line is all the same but on drive 1.
Once you put that 2nd (or 3rd 4th etc...) lines in grub.conf, they get executed every time yast or zypper or rpm does a kernel update or any time you manually run grub-install or grub --batch </etc/grub.conf
While respecting your comments (and helpful url) regarding RTFM, is it safe to run either of the above grub commands while running a system normally, or should I do it from a rescue disk or try to drop into a grub prompt at a reboot?
For a simple setup with only a couple of drives, you probably don't have to worry about making sure "hd1" means what you think it means. Probably yast automatically populated /boot/grub/device.map with every drive in your system, but you might want to at least take a look at it and satisfy yourself it looks right. Those lines in grub.conf don't _really_ mean anything by themselves. "hd0" and "hd1" are totally defined in device.map
Yeah, its just two disks, and /boot/grub/device.map looks right.
Really there are no simple answers to questions about how to set up grub. You (not just you personally, anyone who wants to know how to make it work) must simply read the grub manual. It explains how the parts work together and has links to explanations about the unavoidable problems of the OS not really being able to know what the BIOS will do or how the BIOS "sees" the drives or what drives it even sees or what order it sees them in or what drives may have been manually set to boot first or last or totally ignored. All questions are already answered there.
http://www.gnu.org/software/grub/manual/legacy/grub.html#setup
Thanks again. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org