root / common_windows.sh @ 2222beb0
History | View | Annotate | Download (692 Bytes)
1 |
|
---|---|
2 |
windows_format_disk0() { |
3 |
# |
4 |
# The -f is needed, because we use an optimal alignment and sfdisk complains |
5 |
# about partitions not ending on clylinder boundary. |
6 |
# |
7 |
local sfdisk_cmd="$SFDISK -uS -H 255 -S 63 -f --quiet --Linux --DOS $1" |
8 |
|
9 |
# for now we do not support boot partitions... |
10 |
$sfdisk_cmd > /dev/null <<EOF |
11 |
2048,,7,* |
12 |
EOF |
13 |
|
14 |
} |
15 |
|
16 |
windows_setup_console() { |
17 |
# OK, well, I don't support windows serial consoles yet. I don't really plan |
18 |
# to do it in the future either, but you never know... |
19 |
echo "Serial console for windows is not supported..." |
20 |
} |
21 |
|
22 |
windows_filesystem_check() { |
23 |
# Nothing to do for now.... |
24 |
echo "No filesystem check needed..." |
25 |
} |