Re: Booting from a raid1 device ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 30, 2003 at 03:54:48AM +0300, Michael Tokarev wrote:
why the hell a boot loader should "mirror" anything to the second disk? :)

That is.  Place standard MBR into the boot sector.  An MBR that will boot
from active partition.  Be it e.g. /dev/hda and /dev/hdb.  Create raid1
device from /dev/hda1 and /dev/hdb1.  Mark both partitions as active.
And install whatever boot loader you want into /dev/md1 - it will be
mirrored automatically to /dev/hda1 and /dev/hdb1 (and to whatever else
disks you'll use).
1) are you really mirroring on the same ide controller?
2) whoever told you that the first 512 bytes of a partition are fair
game? lvm uses those, and IIRC xfs does too.

L.
Btw i recall reading somewhere that grub actually modifies the disk it
is booting from if luser wants to change the kernel command line.
I dunno if it is true or not, and i am too lazy to read the source. Can
anyone confirm or deny that?

L.

--
Luca Berra -- bluca@comedia.it
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux