diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-12 00:13:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-12 00:13:06 -0300 |
commit | 521ddcbf9531a45f3f2d7112e416cef57fc5c3b2 (patch) | |
tree | 2f3e064f1e5c2828f0eb9ab1a804acc89030ada5 /share/hydractl | |
parent | f892ef2b1a10c26af2b9b42179fe96ba7ca70a9f (diff) | |
download | hydra-521ddcbf9531a45f3f2d7112e416cef57fc5c3b2.tar.gz hydra-521ddcbf9531a45f3f2d7112e416cef57fc5c3b2.tar.bz2 |
Create disk label on provision
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/provision | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index eae3669..b77c4d7 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -48,6 +48,7 @@ read answer # Disk partitioning. if [ "$swap" == "y" ]; then + parted -s -- $device mklabel msdos parted -s -- $device unit MB mkpart primary linux-swap 0 2000 parted -s -- $device unit MB mkpart primary ext2 2000 2200 parted -s -- $device unit MB mkpart primary ext2 2200 -1 @@ -59,6 +60,7 @@ if [ "$swap" == "y" ]; then boot_device="$device"2 syst_device="$device"3 else + parted -s -- $device mklabel msdos parted -s -- $device unit MB mkpart primary ext2 0 200 parted -s -- $device unit MB mkpart primary ext2 200 -1 parted -s -- $device set 1 boot on |