Public bug reported: When trying to use kickseed to partition a dual boot host the partitioning menu where you can select Guided - use free space, etc is displayed and no matter of preseed d-i partman options work.
Below is the kickstart file I am using #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone America/Vancouver # Root password rootpw --iscrypted <redacted> #Initial user user nsgadmin --fullname "NSG Administrator" --iscrypted --password <redacted> #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use Web installation url --url http://us.archive.ubuntu.com/ubuntu # System bootloader bootloader --md5pass <our crypted password> --location=mbr #Clear the Master Boot Record zerombr no #Partition clearing information clearpart --linux # explicitly define partition table part swap --recommended part /boot --fstype ext3 --size 100 part / --fstype xfs --size 1 --grow # System authorization infomation. Default to /etc/passwd # we will join AD at next boot auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --disabled #X Window System configuration information #xconfig --depth=32 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot #Package install information %packages --resolvedeps #@ base @ core #@ ubuntu-standard #@ ubuntu-desktop %pre preseed --owner d-i apt-setup/security_host string security.ubuntu.com preseed --owner netcfg netcfg/dhcp_timeout string 60 # perform unattended package upgrades preseed d-i pkgsel/update-policy select unattended-upgrades # attempt a retry if the apt-cacher mirror fails for some reason preseed d-i apt-setup/mirror/error select Retry %post # enable useful repositories preseed --owner d-i apt-setup/universe boolean true preseed --owner d-i apt-setup/multiverse boolean true preseed --owner d-i apt-setup/non-free boolean true # Auto-accept licenses for Java and VMware preseed --owner sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true preseed --owner sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true preseed --owner vmware-player shared/accepted-vmware-player-v1-0-2 boolean true ( lsb_release -d >> /etc/SystemInfo echo "Description : Ubuntu 9.04" >> /etc/SystemInfo echo "Hostname : `hostname`" >> /etc/SystemInfo echo "Installation Method : kickstart" >> /etc/SystemInfo echo "Kicstart File : 9.04-sfuad" >> /etc/SystemInfo echo "Install Date : `date +%b-%d-%Y-%H:%m:%S`" >> /etc/SystemInfo export DEBIAN_FRONTEND=noninteractive echo "Performing a full upgrade... This may take some time" aptitude -y update aptitude -y full-upgrade # Since some packages rely on third party repositories to install # do these package installations after repositories are there packages=" a52dec \ acct \ acroread \ acroread-fonts \ adblock-plus \ alien \ alpine \ autofs \ fail2ban flashplugin-nonfree \ #libpam-mount \ likewise-open5 \ openssh-blacklist \ openssh-blacklist-extra \ openssh-client \ openssh-server \ smbfs \ sun-java6-jre \ winbind" for pkg in $packages; do echo "" echo "Performing $pkg package installation" aptitude -y install $pkg done # Set the Java to use update-java-alternatives --set java-6-sun #Fail2Ban wget http://<redacted>/fail2ban/sshd.conf -O - > /etc/fail2ban/filter.d/sshd.conf wget http://<redacted>/fail2ban/jail.conf -O - > /etc/fail2ban/jail.conf wget http://<redacted>/login-block -O - > /root/etc-pam.d-login wget http://<redacted>/ubuntu.jaunty/access.conf -O - > /root/etc-security-access.conf wget http://<redacted>/files/bash.bashrc -O - > /etc/bash.bashrc cp /etc/likewise-open5/lsassd.conf /etc/likewise-open5/lsassd.conf.orig wget http://<redacted>/files/lsassd.conf -O /etc/likewise-open5/lsassd.conf ) > /root/post-config.log I have tried to add # If the system has free space you can choose to only partition that space. d-i partman-auto/init_automatically_partition select biggest_free but it did not work with or without preseed prepended to the line. Then I tried... # The presently available methods are: "regular", "lvm" and "crypto" d-i partman-auto/method string regular but it did not work with or without preseed prepended to the line. Then I tried... # You can choose one of the three predefined partitioning recipes: # - atomic: all files in one partition # - home: separate /home partition # - multi: separate /home, /usr, /var, and /tmp partitions d-i partman-auto/choose_recipe select home but it did not work with or without preseed prepended to the line. When that didn't work I thought that this must be a bug and so here I am. I was sure to add these lines when testing any of the configurations but the menu keeps coming up. # This makes partman automatically partition without confirmation, provided # that you told it what to do using one of the methods above. d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true I also tried to disable the kickstart partitioning options to no avail. Am I doing something wrong? Is this a real bug? If I'm doing something wrong what should the kickstart/kickseed file look like? Also, if there is no partition on the disk kickstart will partition the system as a linux only host. This doesn't not happen with kickseed either. ** Affects: kickseed (Ubuntu) Importance: Undecided Status: New ** Description changed: When trying to use kickseed to partition a dual boot host the partitioning menu where you can select Guided - use free space, etc is displayed and no matter of preseed d-i partman options work. Below is the kickstart file I am using #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone America/Vancouver # Root password rootpw --iscrypted <redacted> #Initial user user nsgadmin --fullname "NSG Administrator" --iscrypted --password <redacted> #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use Web installation url --url http://us.archive.ubuntu.com/ubuntu # System bootloader bootloader --md5pass <our crypted password> --location=mbr #Clear the Master Boot Record zerombr no #Partition clearing information clearpart --linux # explicitly define partition table part swap --recommended part /boot --fstype ext3 --size 100 part / --fstype xfs --size 1 --grow # System authorization infomation. Default to /etc/passwd - # we will join AD.SFU.CA at next boot + # we will join AD at next boot auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --disabled #X Window System configuration information #xconfig --depth=32 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot #Package install information %packages --resolvedeps #@ base @ core #@ ubuntu-standard #@ ubuntu-desktop %pre preseed --owner d-i apt-setup/security_host string security.ubuntu.com preseed --owner netcfg netcfg/dhcp_timeout string 60 # perform unattended package upgrades preseed d-i pkgsel/update-policy select unattended-upgrades # attempt a retry if the apt-cacher mirror fails for some reason preseed d-i apt-setup/mirror/error select Retry %post # enable useful repositories preseed --owner d-i apt-setup/universe boolean true preseed --owner d-i apt-setup/multiverse boolean true preseed --owner d-i apt-setup/non-free boolean true # Auto-accept licenses for Java and VMware preseed --owner sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true preseed --owner sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true preseed --owner vmware-player shared/accepted-vmware-player-v1-0-2 boolean true ( lsb_release -d >> /etc/SystemInfo echo "Description : Ubuntu 9.04" >> /etc/SystemInfo echo "Hostname : `hostname`" >> /etc/SystemInfo echo "Installation Method : kickstart" >> /etc/SystemInfo echo "Kicstart File : 9.04-sfuad" >> /etc/SystemInfo echo "Install Date : `date +%b-%d-%Y-%H:%m:%S`" >> /etc/SystemInfo export DEBIAN_FRONTEND=noninteractive echo "Performing a full upgrade... This may take some time" aptitude -y update aptitude -y full-upgrade # Since some packages rely on third party repositories to install # do these package installations after repositories are there packages=" a52dec \ acct \ acroread \ acroread-fonts \ adblock-plus \ alien \ alpine \ autofs \ fail2ban flashplugin-nonfree \ #libpam-mount \ likewise-open5 \ openssh-blacklist \ openssh-blacklist-extra \ openssh-client \ openssh-server \ smbfs \ sun-java6-jre \ winbind" for pkg in $packages; do echo "" echo "Performing $pkg package installation" aptitude -y install $pkg done # Set the Java to use update-java-alternatives --set java-6-sun #Fail2Ban wget http://<redacted>/fail2ban/sshd.conf -O - > /etc/fail2ban/filter.d/sshd.conf wget http://<redacted>/fail2ban/jail.conf -O - > /etc/fail2ban/jail.conf wget http://<redacted>/login-block -O - > /root/etc-pam.d-login wget http://<redacted>/ubuntu.jaunty/access.conf -O - > /root/etc-security-access.conf wget http://<redacted>/files/bash.bashrc -O - > /etc/bash.bashrc cp /etc/likewise-open5/lsassd.conf /etc/likewise-open5/lsassd.conf.orig wget http://<redacted>/files/lsassd.conf -O /etc/likewise-open5/lsassd.conf ) > /root/post-config.log I have tried to add # If the system has free space you can choose to only partition that space. d-i partman-auto/init_automatically_partition select biggest_free but it did not work with or without preseed prepended to the line. Then I tried... # The presently available methods are: "regular", "lvm" and "crypto" d-i partman-auto/method string regular but it did not work with or without preseed prepended to the line. Then I tried... # You can choose one of the three predefined partitioning recipes: # - atomic: all files in one partition # - home: separate /home partition # - multi: separate /home, /usr, /var, and /tmp partitions d-i partman-auto/choose_recipe select home but it did not work with or without preseed prepended to the line. When that didn't work I thought that this must be a bug and so here I am. I was sure to add these lines when testing any of the configurations but the menu keeps coming up. # This makes partman automatically partition without confirmation, provided # that you told it what to do using one of the methods above. d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true I also tried to disable the kickstart partitioning options to no avail. Am I doing something wrong? Is this a real bug? If I'm doing something wrong what should the kickstart/kickseed file look like? ** Description changed: When trying to use kickseed to partition a dual boot host the partitioning menu where you can select Guided - use free space, etc is displayed and no matter of preseed d-i partman options work. Below is the kickstart file I am using #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone America/Vancouver # Root password rootpw --iscrypted <redacted> #Initial user user nsgadmin --fullname "NSG Administrator" --iscrypted --password <redacted> #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use Web installation url --url http://us.archive.ubuntu.com/ubuntu # System bootloader bootloader --md5pass <our crypted password> --location=mbr #Clear the Master Boot Record zerombr no #Partition clearing information clearpart --linux # explicitly define partition table part swap --recommended part /boot --fstype ext3 --size 100 part / --fstype xfs --size 1 --grow # System authorization infomation. Default to /etc/passwd # we will join AD at next boot auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --disabled #X Window System configuration information #xconfig --depth=32 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot #Package install information %packages --resolvedeps #@ base @ core #@ ubuntu-standard #@ ubuntu-desktop %pre preseed --owner d-i apt-setup/security_host string security.ubuntu.com preseed --owner netcfg netcfg/dhcp_timeout string 60 # perform unattended package upgrades preseed d-i pkgsel/update-policy select unattended-upgrades # attempt a retry if the apt-cacher mirror fails for some reason preseed d-i apt-setup/mirror/error select Retry %post # enable useful repositories preseed --owner d-i apt-setup/universe boolean true preseed --owner d-i apt-setup/multiverse boolean true preseed --owner d-i apt-setup/non-free boolean true # Auto-accept licenses for Java and VMware preseed --owner sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true preseed --owner sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true preseed --owner vmware-player shared/accepted-vmware-player-v1-0-2 boolean true ( lsb_release -d >> /etc/SystemInfo echo "Description : Ubuntu 9.04" >> /etc/SystemInfo echo "Hostname : `hostname`" >> /etc/SystemInfo echo "Installation Method : kickstart" >> /etc/SystemInfo echo "Kicstart File : 9.04-sfuad" >> /etc/SystemInfo echo "Install Date : `date +%b-%d-%Y-%H:%m:%S`" >> /etc/SystemInfo export DEBIAN_FRONTEND=noninteractive echo "Performing a full upgrade... This may take some time" aptitude -y update aptitude -y full-upgrade # Since some packages rely on third party repositories to install # do these package installations after repositories are there packages=" a52dec \ acct \ acroread \ acroread-fonts \ adblock-plus \ alien \ alpine \ autofs \ fail2ban flashplugin-nonfree \ #libpam-mount \ likewise-open5 \ openssh-blacklist \ openssh-blacklist-extra \ openssh-client \ openssh-server \ smbfs \ sun-java6-jre \ winbind" for pkg in $packages; do echo "" echo "Performing $pkg package installation" aptitude -y install $pkg done # Set the Java to use update-java-alternatives --set java-6-sun #Fail2Ban wget http://<redacted>/fail2ban/sshd.conf -O - > /etc/fail2ban/filter.d/sshd.conf wget http://<redacted>/fail2ban/jail.conf -O - > /etc/fail2ban/jail.conf wget http://<redacted>/login-block -O - > /root/etc-pam.d-login wget http://<redacted>/ubuntu.jaunty/access.conf -O - > /root/etc-security-access.conf wget http://<redacted>/files/bash.bashrc -O - > /etc/bash.bashrc cp /etc/likewise-open5/lsassd.conf /etc/likewise-open5/lsassd.conf.orig wget http://<redacted>/files/lsassd.conf -O /etc/likewise-open5/lsassd.conf ) > /root/post-config.log I have tried to add # If the system has free space you can choose to only partition that space. d-i partman-auto/init_automatically_partition select biggest_free but it did not work with or without preseed prepended to the line. Then I tried... # The presently available methods are: "regular", "lvm" and "crypto" d-i partman-auto/method string regular but it did not work with or without preseed prepended to the line. Then I tried... # You can choose one of the three predefined partitioning recipes: # - atomic: all files in one partition # - home: separate /home partition # - multi: separate /home, /usr, /var, and /tmp partitions d-i partman-auto/choose_recipe select home but it did not work with or without preseed prepended to the line. When that didn't work I thought that this must be a bug and so here I am. I was sure to add these lines when testing any of the configurations but the menu keeps coming up. # This makes partman automatically partition without confirmation, provided # that you told it what to do using one of the methods above. d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true I also tried to disable the kickstart partitioning options to no avail. Am I doing something wrong? Is this a real bug? If I'm doing something - wrong what should the kickstart/kickseed file look like? + wrong what should the kickstart/kickseed file look like? Also, if there + is no partition on the disk kickstart will partition the system as a + linux only host. This doesn't not happen with kickseed either. -- Ubuntu Kickstart/Kickseed does not work with dual boot hosts https://bugs.launchpad.net/bugs/420903 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
