On Thursday 17 July 2008 08:42, Frans Pop wrote: > On Wednesday 16 July 2008, Ryan Braun [ADS] wrote: > > filesystem{ ext3 } mountpoint{ /var/opt } . > > 2000 2000 25% linux-swap method{ swap } format{ } . > > 25%? > This is the only strange thing I can see. Try 100% instead. The machines have 8G of ram, hence the 25% :) > > > And the preseed definitions > > d-i partman-auto/disk string /dev/sda > > d-i partman-auto/method string regular > > d-i partman-auto/expert_recipe_file string /cdrom/ads/partman/recipe-w2 > > d-i partman/confirm_write_new_label boolean true > > d-i partman/choose_partition \ > > select Finish partitioning and write changes to disk > > d-i partman/confirm boolean true > > For debugging this, try not setting the last two values and basically not > preseeding anything after this point. That will allow you to check what's > shown. > > Check that the recipe file is actually in the location you specified > and "looks" correct (compare with /lib/partman/recipes/). Any problems > with line endings perhaps (DOS-style versus Linux-style)? It looks ok, and the recipe was created in kate so it *should* have unix line endings. I tried retooling my recipe, and am still getting no root partition available. So I changed my recipe around a bit but still am having issues. I commented out the finish and config d-i/partman statements. And when I look at the partition table, its like the LVM was never setup. a /boot exists, and an LVM partition was created, but no lv's exist. When I goto to configure LVM (which I can since I commented out the finish step) it says I need to write existing changes to disk and configure LVM (not sure if this is due to the commenting of preseed values), asks if I want to use existing VG, I say ok, then there are no lv's created in the VG. I'm not sure how critical this is LVM wise, but the LVM partition is not in the primary table, but is a logical partition. Here is the recipe file I'm using, boot-root :: 100 200 300 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 2000 2050 2100 ext3 $primary $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 2000 2050 2100 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /opt } . 1000 1050 1100 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /tmp } . 1000 1050 1100 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } . 2000 2050 2100 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var } . 1000 1050 1100 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var/opt } . 200 250 300 linux-swap $lvmok{ } method{ swap } format{ } . 1000 1000 10000000 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var/opt/disk } . I'm prototyping the install in a VM right now, which is why the swap is set different and the disk sizes are low. The VMware image has a 30Gish hard drive. The end goal for my partitioning scheme is this. /boot - primary partition *not in lvm* / - lvm /home - lvm /tmp - lvm /var - lvm /usr - lvm /opt - lvm /var/opt - lvm swap - lvm unused space - inside lvm volume. (which is why I used /var/opt/disk in my recipe. wasn't sure how to specify the rest of the unused disk is to be in the LVM partition, but not used.) d-i debian-installer/locale string en_CA d-i console-keymaps-at/keymap select us d-i netcfg/choose_interface select auto d-i netcfg/choose_interface select eth1 d-i netcfg/dhcp_timeout string 15 d-i netcfg/disable_dhcp boolean true d-i netcfg/dhcp_failed note d-i netcfg/dhcp_options select Configure network manually d-i netcfg/get_nameservers string 192.168.1.1 d-i netcfg/get_ipaddress string 192.168.1.42 d-i netcfg/get_netmask string 255.255.255.0 d-i netcfg/get_gateway string 192.168.1.1 d-i netcfg/confirm_static boolean true d-i netcfg/get_domain string xxx.com d-i netcfg/wireless_wep string d-i mirror/country string enter information manually d-i mirror/http/hostname string yxxxx.com d-i mirror/http/directory string /pub/debian d-i mirror/http/proxy string d-i mirror/suite string stable d-i partman-auto/disk string /dev/discs/disc0/disc d-i partman-auto/method string lvm d-i partman-auto/purge_lvm_from_device boolean true d-i partman-lvm/confirm boolean true d-i partman-auto/expert_recipe_file string /cdrom/ads/partman/recipe-w2-lvm-small d-i partman/confirm_write_new_label boolean true select Finish partitioning and write changes to disk d-i clock-setup/utc boolean true d-i time/zone string Etc/UTC d-i apt-setup/use_mirror boolean false d-i apt-setup/uri_type select cdrom d-i apt-setup/security-updates boolean false d-i apt-setup/security_host string d-i apt-setup/local0/repository string \ deb file:/ads/repo/ / d-i debian-installer/allow_unauthenticated string true d-i passwd/root-login boolean true d-i passwd/root-password password xxxx d-i passwd/root-password-again password xxxx d-i passwd/user-fullname string xxxx default user d-i passwd/username string xxxx d-i passwd/user-password password xxxx d-i passwd/user-password-again password xxxx d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server build-essential msttcorefonts-ads winide linux-headers-2.6-686 linux-image-686-bigmem dialog bzip2 popularity-contest popularity-contest/participate boolean false xserver-xorg xserver-xorg/config/device/driver select vesa xserver-xorg xserver-xorg/autodetect_mouse boolean true xserver-xorg xserver-xorg/autodetect_monitor boolean true xserver-xorg xserver-xorg/config/monitor/selection-method \ select medium xserver-xorg xserver-xorg/config/monitor/mode-list \ select 1024x768 @ 60 Hz d-i debian-installer/network-console/password password r00tme postfix postfix/bad_recipient_delimiter note postfix postfix/chattr boolean false postfix postfix/db_upgrade_warning boolean true postfix postfix/dynamicmaps_upgrade_warning boolean postfix postfix/mailbox_limit string 0 postfix postfix/main_mailer_type select Satellite system postfix postfix/master_upgrade_warning boolean postfix postfix/mydomain_warning boolean postfix postfix/mynetworks string 127.0.0.0/8 postfix postfix/not_configured note postfix postfix/nqmgr_upgrade_warning boolean postfix postfix/procmail boolean true postfix postfix/protocols select ipv4 postfix postfix/recipient_delim string + postfix postfix/relayhost string mail.xxx.com postfix postfix/rfc1035_violation boolean false postfix postfix/root_address string postfix postfix/tlsmgr_upgrade_warning boolean postfix postfix/transport_map_warning note sun-java5-bin shared/accepted-sun-dlj-v1-1 boolean true sun-java5-bin shared/present-sun-dlj-v1-1 note sun-java5-jre shared/accepted-sun-dlj-v1-1 boolean true sun-java5-jre shared/present-sun-dlj-v1-1 note sun-java5-jre sun-java5-jre/jcepolicy note sun-java5-jre sun-java5-jre/stopthread boolean true locales locales/default_environment_locale select en_CA locales locales/locales_to_be_generated multiselect en_CA.UTF-8 UTF-8, en_CA ISO-8859-1, en_US.UTF-8 UTF-8, en_US ISO-8859-1, fr_CA ISO-8859-1 debconf debconf/frontend select Dialog d-i preseed/late_command string sh /cdrom/ads/sitechooser/pre_config_system.sh >/target/root/log 2>&1;in-target /bin/bash /root/config_system.sh >/root/log.1 2>&1 ||true > pastbin is fairly useless for logs because of the length limitations. > Please just attach (gzipped!) next time. I've attached the sysog and partman logs (both gzipd) to this message. Thanks Ryan
Attachment:
partman.gz
Description: GNU Zip compressed data
Attachment:
syslog.gz
Description: GNU Zip compressed data