User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install_gentoo_raid1 [2025/06/22 04:20] – [How to create Gentoo system disks with RAID1 hard drive setup] normaninstall_gentoo_raid1 [2025/06/22 09:35] (current) – [Install GRUB] norman
Line 25: Line 25:
  
 <code> <code>
-mdadm --create --verbose /dev/md11 --name=zirgs:boot --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2 +mdadm --create --verbose /dev/md11 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2 
-mdadm --create --verbose /dev/md12 --name=zirgs:swap --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3 +mdadm --create --verbose /dev/md12 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3 
-mdadm --create --verbose /dev/md13 --name=zirgs:root --level=1 --raid-devices=2 /dev/sda4 /dev/sdb4+mdadm --create --verbose /dev/md13 --level=1 --raid-devices=2 /dev/sda4 /dev/sdb4
 </code> </code>
  
Line 60: Line 60:
  
 ====== Add LVM and RAID support at boot time ====== ====== Add LVM and RAID support at boot time ======
 +genkernel is** Deprecated**  Use sys-kernel/installkernel instead.
 +
 <code> <code>
-genkernel --lvm --mdadm --install initramfs+<del>genkernel --lvm --mdadm --install initramfs</del>
 </code> </code>
  
Line 81: Line 83:
  
 add RAID support at initial boot sequence add RAID support at initial boot sequence
-add <code>“domdadm rootfstype=xfs” to /etc/default/grub</code>+add <code>GRUB_CMDLINE_LINUX_DEFAULT="domdadm dolvm" to /etc/default/grub</code>
 (Gento): (Gento):
 <code> <code>
-GRUB_CMDLINE_LINUX="root=UUID=a5c783a2-2cb5-4480-8e61-860b503a4c05 rootfstype=XFS domdadm  dolvm"+GRUB_CMDLINE_LINUX_DEFAULT="domdadm dolvm"
 </code> </code>