Re: howto boot from the second disk in raid 1



abdelkader belahcene wrote:
but it fails to reboot from the second disk alone.
although i installed grub in both disks

Are you very certain that you installed grub on both disks? Because
failure to do this is a very common reason that systems won't boot
from the second disk. Previous versions of Debian such as Lenny did
not automatically install onto both disks. I believe that is now
improved on Squeeze and later and grub is automatically installed on
both disks IIRC.

For the previous grub these instructions will install it on the second
disk. Assuming /dev/sdb is your second disk, adjust if needed.

# grub
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

For the new Grub2, I don't know. I haven't been able to learn it yet.
Perhaps someone else will be kind enough to step up and say what needs
to be done to install grub2 on a second disk. Probably just:

grub-install /dev/sdb

Bob

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: grub 2 problems ??
    ... work) with the early days of grub. ... at each install i loosened the cables of the other two hd's. ... other bootloader at all) and install GRUB inside the boot sector of the ... I suppose your main concern for unplugging the hard disks was ...
    (Debian-User)
  • Re: [SLE] Grub and mirrored root disk
    ... Do you know if a SUSE installation does something special when GRUB ... boot from one drive, it works fine to boot from the MBR of the first ... it changes the order Grub sees the disks. ... upgrade doesn't really affect the grub install if it was done correctly ...
    (SuSE)
  • Grub acting strange !
    ... A few days ago i tried to install Etch on my backup-server to be. ... After the install I ended up with Grub printing grub all over my screen. ... and a Promise PCI sata 4 channel controller for my 4 Wd 400Gb sata disks. ...
    (Debian-User)
  • Re: [opensuse] Question for openSUSE installation disk space.
    ... GRUB is NOT installed at MBR! ... address beyond the end of the BIOS translated area. ... fairly old and has NO proper LBA support for bigger than 80GB disks. ... I'm thinking that since GAG is Linux based, if I can install GRUB at MBR, maybe this solves the problem. ...
    (SuSE)
  • Re: System with two operating systems in two disks
    ... > I am running Fedora in one computer and now I want to make some ... left my FC1 install alone, and installed FC2 on a partition at ... MBR alone, and updated GRUB manually. ... It really depends on what you're installing on the second disk, ...
    (Fedora)