New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Installing MBR to /dev/md0 ?
linuxthefish
Member
in Help
Is this OK? First time it failed to boot when I set /boot to 1000mb, but I've changed it to 500mb. Will CentOS boot ok like this?
Comments
/dev/md0 is a partition, you need to install grub into MBR. Centos installer can install for one drive, and after when you boot your system, you need to install grub into the other devices MBR.
If you're doing SW Raid, it's better to install the bootloader on the RAID Device not on one of the Drives (SDB, or SDA)
It should boot either way still..
As fas as I know, you should install to sdb. Bootloader is on /boot, that may be a separate raid or direct on the RAID Device.
It's strange that MBR of /dev/sda isn't listed as an option. Is this a RAID0?
Install bootloader to /dev/sdb as md0 is just a softraid partition.
You should be installing to all physical drives, not the RAID device.
Won't installing MBR to /dev/md0 (mounted as /boot) ensure that the OS can still boot after a disk failure? Sorry I'm new to this stuff with software RAID and mdadm - i normally use hw raid...
Md0 is a mirror of however many drives you have. So its already synced across all drives
Except md0 applied to partitions, which generally start at LBA 1 (or 5 or 9 or wherever the fuck OS decides is a good spot), whereas the boot loader resides on LBA 0.