Differences
This shows you the differences between two versions of the page.
wiki:pretce [2011/10/26 22:08] gerald_clark [Create a lvm2-boot.tcz] |
wiki:pretce [2013/12/10 08:20] (current) gerald_clark [Create lvm2-boot.tcz] |
||
---|---|---|---|
Line 18: | Line 18: | ||
* Reboot. | * Reboot. | ||
- | ==== Create a mdadm-boot.tcz ==== | + | ==== Create mdadm-boot.tcz ==== |
+ | Starting with dCore and Core 5.1 mdadm-boot.sce is no longer needed. | ||
+ | Instead, you can put the line **mdadm -A --scan ; sleep 2** into an executable shell script named **onpre.sh** in the pretce directory. | ||
+ | The shell script **onpre.sh** is run after all the pretce packages are loaded. | ||
We need an extension that activates the RAID volumes. The following script will create it. | We need an extension that activates the RAID volumes. The following script will create it. | ||
<code> | <code> | ||
Line 44: | Line 48: | ||
* If you do not want the pretce device to remain mounted, be sure to add the **copy2fs.flg** file to the pretce directory. | * If you do not want the pretce device to remain mounted, be sure to add the **copy2fs.flg** file to the pretce directory. | ||
- | ==== Create a lvm2-boot.tcz ==== | + | ==== Create lvm2-boot.tcz ==== |
+ | Starting with dCore and core 5.1 lvm2-boot.sce is no longer needed. | ||
+ | Instead, you can put the line **vgchange -ay ; sleep 2** into an executable shell script named **onpre.sh** in the pretce directory. | ||
+ | The shell script **onpre.sh** is run after all the pretce packages are loaded. | ||
We need an extension that activates the lvm2 volumes. The following script will create it. | We need an extension that activates the lvm2 volumes. The following script will create it. | ||
<code> | <code> |