Revision 6738cd80 common_windows.sh
b/common_windows.sh | ||
---|---|---|
11 | 11 |
# |
12 | 12 |
local sfdisk_cmd="$SFDISK -uS -H 255 -S 63 -f --quiet --Linux --DOS $1" |
13 | 13 |
|
14 |
# for now we do not support boot partitions... |
|
15 |
$sfdisk_cmd > /dev/null <<EOF |
|
14 |
if [ "${BOOT}" = "yes" ]; then |
|
15 |
#One boot partition 100M and the rest %SYSTEMDRIVE% |
|
16 |
# $sfdisk_cmd > /dev/null <<EOF |
|
17 |
#2048,206847,7,* |
|
18 |
#,,7 |
|
19 |
#EOF |
|
20 |
log_error "We do not support windows boot partitions yet." |
|
21 |
exit 1; |
|
22 |
else # "${BOOT}" = "no" |
|
23 |
$sfdisk_cmd > /dev/null <<EOF |
|
16 | 24 |
2048,,7,* |
17 | 25 |
EOF |
18 |
|
|
26 |
fi |
|
19 | 27 |
} |
20 | 28 |
|
21 | 29 |
windows_setup_console() { |
Also available in: Unified diff