|
|
@ -311,6 +311,8 @@ function distro_specify_initrd_file_phase2 {
|
|
|
|
vt_linux_specify_initrd_file /antiX/initrd.gz
|
|
|
|
vt_linux_specify_initrd_file /antiX/initrd.gz
|
|
|
|
elif [ -f (loop)/360Disk/initrd.gz ]; then
|
|
|
|
elif [ -f (loop)/360Disk/initrd.gz ]; then
|
|
|
|
vt_linux_specify_initrd_file /360Disk/initrd.gz
|
|
|
|
vt_linux_specify_initrd_file /360Disk/initrd.gz
|
|
|
|
|
|
|
|
elif [ -f (loop)/porteus/initrd.xz ]; then
|
|
|
|
|
|
|
|
vt_linux_specify_initrd_file /porteus/initrd.xz
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1030,7 +1032,7 @@ function iso_common_menuentry {
|
|
|
|
vt_parse_iso_volume "${vtoy_iso_part}${vt_chosen_path}" vt_system_id vt_volume_id vt_volume_space
|
|
|
|
vt_parse_iso_volume "${vtoy_iso_part}${vt_chosen_path}" vt_system_id vt_volume_id vt_volume_space
|
|
|
|
if [ $vt_volume_space -ne $vt_chosen_size ]; then
|
|
|
|
if [ $vt_volume_space -ne $vt_chosen_size ]; then
|
|
|
|
vt_mod $vt_chosen_size 2048 vt_chosen_size_mod
|
|
|
|
vt_mod $vt_chosen_size 2048 vt_chosen_size_mod
|
|
|
|
if [ $vt_volume_space -gt $vt_chosen_size -o $vt_chosen_size_mod -ne 0 ]; then
|
|
|
|
if [ $vt_chosen_size_mod -ne 0 ]; then
|
|
|
|
echo -e "\n $vt_volume_space $vt_chosen_size $vt_chosen_size_mod\n"
|
|
|
|
echo -e "\n $vt_volume_space $vt_chosen_size $vt_chosen_size_mod\n"
|
|
|
|
echo -e "\n The size of the iso file \"$vt_chosen_size\" is invalid. File corrupted ?\n"
|
|
|
|
echo -e "\n The size of the iso file \"$vt_chosen_size\" is invalid. File corrupted ?\n"
|
|
|
|
echo -e " 此ISO文件的大小 \"$vt_chosen_size\" 有问题,请确认文件是否损坏。\n"
|
|
|
|
echo -e " 此ISO文件的大小 \"$vt_chosen_size\" 有问题,请确认文件是否损坏。\n"
|
|
|
|