mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Update
This commit is contained in:
+2
-6
@@ -144,9 +144,6 @@ while [ $# -gt 0 ]; do
|
||||
--boot-partition)
|
||||
DEBI_BOOT_PARTITION=true
|
||||
;;
|
||||
--gpt)
|
||||
DEBI_PARTITION_TYPE=gpt
|
||||
;;
|
||||
--dry-run)
|
||||
DEBI_DRY_RUN=true
|
||||
;;
|
||||
@@ -482,13 +479,12 @@ else
|
||||
fi
|
||||
|
||||
DEBI_NEW_DIR="$DEBI_BOOT_DIR$DEBI_NEW"
|
||||
DEBI_PARTITION_TYPE=${DEBI_PARTITION_TYPE:-msdos}
|
||||
|
||||
$save_grubcfg << EOF
|
||||
menuentry 'Debian Installer' --id debi {
|
||||
insmod part_$DEBI_PARTITION_TYPE
|
||||
insmod part_msdos
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
set root='(hd0,${DEBI_PARTITION_TYPE}1)'
|
||||
linux $DEBI_NEW_DIR/linux
|
||||
initrd $DEBI_NEW_DIR/initrd.gz
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user