mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix raid partitions
This commit is contained in:
parent
cbd4e5bb61
commit
4e84bfff8e
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ _createraid()
|
||||||
DIALOG --infobox "Creating ${RAIDDEVICE}..." 0 0
|
DIALOG --infobox "Creating ${RAIDDEVICE}..." 0 0
|
||||||
mdadm --create ${RAIDDEVICE} ${RAIDOPTIONS} ${DEVICES} >${LOG} 2>&1 || \
|
mdadm --create ${RAIDDEVICE} ${RAIDOPTIONS} ${DEVICES} >${LOG} 2>&1 || \
|
||||||
(DIALOG --msgbox "Error creating ${RAIDDEVICE} (see ${LOG} for details)." 0 0; return 1)
|
(DIALOG --msgbox "Error creating ${RAIDDEVICE} (see ${LOG} for details)." 0 0; return 1)
|
||||||
if echo "${RAIDDEVICE}" | grep -q "/md_d[0-9"]; then
|
if [[ ${RAID_PARTITION} == "1" ]]; then
|
||||||
# switch for mbr usage
|
# switch for mbr usage
|
||||||
set_guid
|
set_guid
|
||||||
if [[ "${GUIDPARAMETER}" = "" ]]; then
|
if [[ "${GUIDPARAMETER}" = "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue