Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I need to preseed a dual boot installation of Ubuntu 10.04. I want partman to use all already existing Linux partitions and all free space (like the option when installing Fedora) what would that recipe look like?

share|improve this question
use gparted if available, it don't need no stinkin' recipies (and is very robust and intuituve) –  msw Oct 15 '10 at 13:54
You could leave the answer empty, which would allow you to select it during install. –  Gert Oct 19 '10 at 8:30
No the whole idea is to make the install unattended. –  ulve Oct 20 '10 at 6:54

1 Answer 1

I can't remember if I fixed that, but you can take a look at my answer file:

It's based off of a more sophisticated example at:

EDIT: In case the link above goes stale, here is the complete contents of the file:

# Locale sets language and country.
d-i debian-installer/locale string en_US

# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
#d-i console-setup/modelcode string pc105
d-i console-setup/layoutcode string us
# To select a variant of the selected layout (if you leave this out, the
# basic form of the layout will be used):
#d-i console-setup/variantcode string dvorak

# Install the Ubuntu desktop.
tasksel tasksel/first   multiselect ubuntu-desktop
# On live DVDs, don't spend huge amounts of time removing substantial
# application packages pulled in by language packs. Given that we clearly
# have the space to include them on the DVD, they're useful and we might as
# well keep them installed.
ubiquity    ubiquity/keep-installed string icedtea6-plugin
ubiquity    ubiquity/summary    string
ubiquity    ubiquity/reboot boolean true

ubiquity    languagechooser/language-name   string English
ubiquity    countrychooser/shortlist    string US
ubiquity    localechooser/supported-locales string en_US.UTF-8

ubiquity    time/zone   string America/Los_Angeles

# Not needed if only one disk
#ubiquity   partman-auto/disk string /dev/sda
ubiquity    partman-auto/method string regular
ubiquity    partman-lvm/device_remove_lvm string boolean true
ubiquity    partman-md/device_remove_md string boolean true
ubiquity    partman-lvm/confirm string boolean true
ubiquity    partman-auto/choose_recipe select atomic

ubiquity    partman/confirm_write_new_label string boolean true
ubiquity    partman/choose_partition select finish
ubiquity    partman/confirm string boolean true
ubiquity    partman/confirm_nooverwrite string boolean true

ubiquity    passwd/user-fullname string John Doe III
ubiquity    passwd/username string user
ubiquity    passwd/user-password string alamepassword
ubiquity    passwd/user-password-again string alamepassword
ubiquity    user-setup/encrypt-home boolean false
share|improve this answer
@Anthon: and indeed this link has gone stale by now. –  0xC0000022L May 25 at 21:59
@Anthon Point taken. That was a link to a file on my own website, but I moved it's location slightly. I've updated the link and added the complete contents of the file as well. –  penguin359 May 25 at 22:05
@0xC0000022L Link fixed. –  penguin359 May 25 at 22:08
@penguin359: outstanding response. Let me glance over your questions and answers and spend a few more upvotes. –  0xC0000022L May 25 at 22:09
@Braiam Possibly, but this answer is 4 years old now. It's been quite a while since I've had to work with preseeded installs. All I know is that if a question is asked, and not preseeded, then the user will have to manually answer it during the install. The OP said he wanted the entire install unattended and language is a question that is asked during install. –  penguin359 May 26 at 5:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.