summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-25 11:18:22 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-25 11:18:22 +0200
commitad34e8f79245bd64a202582cadf3aa5ea2155dec (patch)
tree081a03a34b5c4cf52f80b4b893a7e457e387d1a6
parent29340d664e19bc35314c57aee150f04997cc997b (diff)
downloadhrmpf-ad34e8f79245bd64a202582cadf3aa5ea2155dec.tar.gz
hrmpf-ad34e8f79245bd64a202582cadf3aa5ea2155dec.tar.xz
hrmpf-ad34e8f79245bd64a202582cadf3aa5ea2155dec.zip
installer: drop parted and switch to cfdisk.
-rw-r--r--installer.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 89cda22..a3fe9f1 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -242,7 +242,7 @@ menu_partitions() {
         local device=$(cat $ANSWER)
 
         DIALOG --title "Modify Partition Table on $device" --msgbox "\n
-${BOLD}GNU parted will be executed in disk $device.${RESET}\n\n
+${BOLD}cfdisk will be executed in disk $device.${RESET}\n\n
 For BIOS systems, MBR or GPT partition tables are supported.\n
 To use GPT on PC BIOS systems an empty partition of 1MB must be added\n
 at the first 2GB of the disk with the TOGGLE \`bios_grub' enabled.\n
@@ -257,7 +257,7 @@ ${BOLD}WARNING: changes made by parted are destructive, you've been warned.
 ${RESET}\n" 18 80
         if [ $? -eq 0 ]; then
             while true; do
-                clear; parted $device; PARTITIONS_DONE=1; partprobe $device
+                clear; cfdisk $device; PARTITIONS_DONE=1; partx -a $device
                 break
             done
         else