mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
switch to defaultno on GPT conversion dialog
This commit is contained in:
parent
3b46d49145
commit
3a52757ae0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ _check_gpt() {
|
|||
_GUID_DETECTED=""
|
||||
[[ "$(${_BLKID} -p -i -o value -s PTTYPE "${_DISK}")" == "gpt" ]] && _GUID_DETECTED=1
|
||||
if [[ -z "${_GUID_DETECTED}" ]]; then
|
||||
_dialog --yesno "Setup detected no GUID (gpt) partition table on ${_DISK}.\n\nDo you want to convert the existing MBR table in ${_DISK} to a GUID (gpt) partition table?" 0 0 || return 1
|
||||
_dialog --defaultno --yesno "Setup detected no GUID (gpt) partition table on ${_DISK}.\n\nDo you want to convert the existing MBR table in ${_DISK} to a GUID (gpt) partition table?" 0 0 || return 1
|
||||
sgdisk --mbrtogpt "${_DISK}" >"${_LOG}" && _GUID_DETECTED=1
|
||||
# reread partitiontable for kernel
|
||||
partprobe "${_DISK}" >"${_LOG}"
|
||||
|
|
Loading…
Reference in a new issue