[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian-installer preseed of wheezy



Dear all,

I'm trying to use a preseed.cfg with the current wheezy debian-installer
to partition my 8GiB virtio disk of a KVM virtual machine:

d-i partman-auto/expert_recipe string \
	sysdisk :: \
		1024 2048 1024 ext4 \
			$primary{ } $bootable{ } \
			method{ format } format{ } \
			use_filesystem{ } filesystem{ ext4 } \
			mountpoint{ / } \
			. \
		512 2048 512 linux-swap \
		        $primary{ } \
			method{ swap } format{ } \
			. \
		2048 2048 2048 ext4 \
			method{ format } format{ } \
			use_filesystem{ } filesystem{ ext4 } \
                        mountpoint{ /usr } \
			. \
		2048 2048 2048 ext4 \
			method{ format } format{ } \
			use_filesystem{ } filesystem{ ext4 } \
                        mountpoint{ /var } \
			. \
		2048 2048 -1 ext4 \
			method{ format } format{ } \
			use_filesystem{ } filesystem{ ext4 } \
                        mountpoint{ /tmp } \
			.

But this gives me the following layout:

/dev/vda1   *        2048     2000895      999424   83  Linux
/dev/vda2         2002942    16775167     7386113    5  Extended
/dev/vda5         2002944     3000319      498688   82  Linux swap / Solaris
/dev/vda6         3002368    16775167     6886400   83  Linux

/var and /tmp are missing and /usr (vda6) takes the rest of the
harddisk. Do I have a mistake in my config or is there a bug in the
installer? Strangely the same configuration seems to work as intended
with recent Ubuntu installer.

Best,
Gregor

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: