[ale] Grub and auxiliary boot partition

Jim Kinney jim.kinney at gmail.com
Thu Apr 30 13:01:37 EDT 2009


I think those are the correct commands, Jeff.

Add a tweak to automate the process in grub.conf file (redhat format
name.menu.1st otherwise). Set a default boot name and a fallback.

http://www.gnu.org/software/grub/manual/html_node/Booting-fallback-systems.html

However: if sda is _dead_ only a bios poke will find sdb anyway.

On 4/30/09, Jeff Hubbs <jeffrey.hubbs at gmail.com> wrote:
> I have a server with two disks that I use for booting and rooting - sda and
> sdb.  I partition them like this:
>
> |--sda1=/boot-----|--sda2 (type fd)------------------------|
>
> |--sdb1=/auxboot--|--sdb2 (type fd)------------------------|
>
> sdb1 and sdb2 are made into md0 in kernel RAID 1 and md0 is mounted as /.
> sda1 and sdb1 have the bootable flag set.  /auxboot holds the same files as
> /boot.
>
> I want to have things such that if sda is dead, grub can be told to boot
> entirely using just sdb.
>
> When I install grub, I envision these commands:
> grub> root (hd0,0)
>
> grub> setup (hd0)
> grub> root (hd1,0)
> grub> setup (hd1)
>
>
> Does that look like it will do what I want, acknowledging that the settings
> in grub.conf in /boot
> would come up and therefore would have to be changed by hand in the grub
> start menu before actually
>
> booting?
>
> If so, I expect I could do away with the human intervention by putting sda
> and sdb in the BIOS'
> boot list in that order, changing the grub.conf in /auxboot to use sdb2 as
> /, and then running the
>
> grub commands above.
>
> What do you think?
>
> - Jeff
>
>
>
>
> _______________________________________________
>  Ale mailing list
>  Ale at ale.org
>  http://mail.ale.org/mailman/listinfo/ale
>
>


-- 
-- 
James P. Kinney III
Actively in pursuit of Life, Liberty and Happiness


More information about the Ale mailing list