kickstart install partitioning is wrong

Asked by philip rosegay

Installing trusty with this kickstart file
install
#url --url=http://mirrors/ubuntu/ubuntu-14.04.3-server-amd64
#url --url=http://mirrors/ubuntu
url --url http://archive.ubuntu.com/ubuntu
lang en_US.UTF-8
keyboard us
network --onboot yes --device em1 --bootproto dhcp --noipv6 --nameserver=10.10.180.10
preseed passwd/make-user boolean false
preseed pkgsel/update-policy select none
rootpw --iscrypted blahblah
#user ubuntu --fullname "Ubuntu User" --password adh0cquery
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda
#--append="crashkernel=auto rhgb quiet edd=off"
zerombr yes
clearpart --drives=sda --all --initlabel
part /boot --fstype=ext4 --size=500
part swap --size=128000
#part swap --recommended
part / --fstype=ext4 --size=16000
part /var --fstype=ext4 --size=80000 --fsoptions="data=writeback"
part /tmp --fstype=ext4 --size=32000 --fsoptions="data=writeback"
part pv.008002 --grow --size=1
volgroup vg_vms --pesize=4096 pv.008002
#logvol / --fstype=ext4 --name=lv_root --vgname=vg_volt --size=1 --grow
#logvol swap --recommended --name=lv_swap --vgname=vg_volt
#repo --name="CentOS" --baseurl=http://voltmirrors/mirrors/centos/6/os/x86_64/ --cost=100
preseed partman-lvm/confirm_nooverwrite boolean true
preseed partman-auto-lvm/no_boot boolean true
text
reboot
skipx

%packages
@ubuntu-server
openssh-server
vim

%post
.... <removed for brevity>

problems:
1) data=writeback is not in fstab
2) /tmp is wrong size
3) no vg created

Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64)

Last login: Wed Oct 7 10:59:42 2015
root@kickseed:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 15G 2.2G 12G 16% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 63G 4.0K 63G 1% /dev
tmpfs 13G 1.1M 13G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 63G 0 63G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 453M 37M 389M 9% /boot
/dev/sda8 1.5T 70M 1.4T 1% /tmp
/dev/sda7 74G 414M 70G 1% /var

root@kickseed:~# parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p all
Model: LSI MR9265-8i (scsi)
Disk /dev/sda: 1799GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 500MB 499MB primary ext4 boot
 2 501MB 1799GB 1799GB extended
 5 501MB 128GB 128GB logical linux-swap(v1)
 6 129GB 145GB 16.0GB logical ext4
 7 145GB 225GB 80.0GB logical ext4
 8 225GB 1799GB 1575GB logical ext4

pxe booted installer with this label
Label Ubuntu 14.04.3 server amd64
        MENU LABEL Ubuntu 14.04 LTS server amd64 auto lab !!! CLOBBERS /DEV/SDA !!!
        kernel ubuntu/ubuntu-14.04.3-server-amd64/install/netboot/ubuntu-installer/amd64/linux
        append vga=788 initrd=ubuntu/ubuntu-14.04.3-server-amd64/install/netboot/ubuntu-installer/amd64/initrd.gz ksdevice=em1 ks=http://10.10.180.218/kickstart/ubuntu-sda-nolvm-puppet.ks live-installer/net-image=http://10.10.180.218/tftpboot/ubuntu/ubuntu-14.04.3-server-amd64/install/filesystem.squashfs

the target is the simiarily named iso mounted -o loop

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.