Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (29 sloc) 0.773 kb
# partition details calculation
# Determine how many drives we have
set \$(list-harddrives)
let numd=\$#/2
d1=\$1
d2=\$3
# Determine architecture-specific partitioning needs
EFI_PART=""
PPC_PREP_PART=""
BOOT_PART=""
case \$(uname -m) in
ia64)
EFI_PART="part /boot/efi --fstype vfat --size 200 --recommended"
;;
ppc*)
PPC_PREP_PART="part None --fstype 'PPC PReP Boot' --size 8"
BOOT_PART="part /boot --fstype ext3 --size 200 --recommended"
;;
*)
BOOT_PART="part /boot --fstype ext3 --size 200 --recommended"
;;
esac
cat << EOF > /tmp/partinfo
\$EFI_PART
\$PPC_PREP_PART
\$BOOT_PART
part / --fstype ext3 --size=1024 --grow --ondisk=\$d1 --asprimary
part swap --recommended --ondisk=\$d1 --asprimary
EOF
Jump to Line
Something went wrong with that request. Please try again.