124 |
|
|
125 |
dialog_setup_system_menu() |
dialog_setup_system_menu() |
126 |
{ |
{ |
127 |
local i |
local mode |
128 |
|
local retval |
129 |
|
|
130 |
i=$(dialog \ |
mode=$(dialog \ |
131 |
--backtitle "${TITLE}" \ |
--backtitle "${TITLE}" \ |
132 |
--title "[ Festplatten Partitionierung ]" \ |
--title "[ Festplatten Partitionierung ]" \ |
133 |
--cancel-label "Abbrechen" \ |
--cancel-label "Abbrechen" \ |
139 |
"" "" \ |
"" "" \ |
140 |
"" "\Z1Experten Modi:\Zn" \ |
"" "\Z1Experten Modi:\Zn" \ |
141 |
"2" "Normale IDE-Disk (Manuell)" \ |
"2" "Normale IDE-Disk (Manuell)" \ |
142 |
RES=$? |
retval=$? |
143 |
[[ ${RES} -eq 1 ]] && return 1 |
[[ ${retval} -eq 1 ]] && return 1 |
144 |
if [[ ${RES} -eq 0 ]] |
if [[ ${retval} -eq 0 ]] |
145 |
then |
then |
146 |
case "${i}" in |
case "${i}" in |
147 |
"1") run_install_auto ;; |
"1") run_install_auto ;; |
215 |
fi |
fi |
216 |
} |
} |
217 |
|
|
218 |
dialog_setup_hdd_partitions_manuell() |
dialog_setup_hdd_partitions_manual() |
219 |
{ |
{ |
220 |
local i |
local i |
221 |
|
|
248 |
if [[ ${RES} -eq 0 ]] |
if [[ ${RES} -eq 0 ]] |
249 |
then |
then |
250 |
dialog_setup_hdd_info |
dialog_setup_hdd_info |
251 |
setup_hdd_partitions_manuell |
setup_hdd_partitions_manual |
252 |
fi |
fi |
253 |
fi |
fi |
254 |
} |
} |
544 |
fi |
fi |
545 |
} |
} |
546 |
|
|
547 |
setup_hdd_partitions_manuell() |
setup_hdd_partitions_manual() |
548 |
{ |
{ |
549 |
ROOTHDD="${HDD}1" |
ROOTHDD="${HDD}1" |
550 |
|
|
551 |
## hdds partitionieren manuell |
## hdds partitionieren manual |
552 |
cfdisk ${HDD} || dialog_die |
cfdisk ${HDD} || dialog_die |
553 |
} |
} |
554 |
|
|
825 |
{ |
{ |
826 |
dialog_hardware_detection |
dialog_hardware_detection |
827 |
|
|
828 |
dialog_setup_hdd_partitions_manuell |
dialog_setup_hdd_partitions_manual |
829 |
dialog_setup_hdd_format |
dialog_setup_hdd_format |
830 |
setup_hdd_format > /dev/null |
setup_hdd_format > /dev/null |
831 |
install_mount_rootfs |
install_mount_rootfs |