Skip to content

Instantly share code, notes, and snippets.

@goozbach
Created September 3, 2009 15:39
Show Gist options
  • Save goozbach/180363 to your computer and use it in GitHub Desktop.
Save goozbach/180363 to your computer and use it in GitHub Desktop.
# trying to partion two drives as follows:
#
# /dev/sda: [|--- / partition (ext3) ---|---- swap 8.0 GB ----|]
# /dev/sdb: [|---------- /usr/local/cache (jfs) --------------|]
d-i partman-auto/disk string /dev/sda /dev/sdb
d-i partman-auto/expert_recipe string \
swap-root-cache :: \
70000 100000 1000000000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
device{ /dev/sda } \
. \
8000 9000 10000 linux-swap \
method{ swap } format{ } \
device{ /dev/sda } \
. \
80000 100000 1000000000 jfs \
method{ format } format{ } \
use_filesystem{ } filesystem{ jfs } \
mountpoint{ /usr/local/cache } \
device{ /dev/sdb } \
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment