RE: debconf-get-selections and Manual Partitioning
For instance, how do I tell partman to put a certain partition at the end of the disk?
Youssef Eldakar
Bibliotheca Alexandrina
________________________________
From: Youssef Eldakar
Sent: Thu 5/25/2006 3:34 PM
To: Geert Stappers; debian-boot@lists.debian.org
Subject: RE: debconf-get-selections and Manual Partitioning
Where can I find a complete specification for partman of partman recipes?
Youssef Eldakar
Bibliotheca Alexandrina
________________________________
From: Geert Stappers [mailto:stappers@debian.org]
Sent: Wed 5/24/2006 6:05 PM
To: debian-boot@lists.debian.org
Subject: Re: debconf-get-selections and Manual Partitioning
On Wed, May 24, 2006 at 05:39:24PM +0300, Youssef Eldakar wrote:
> I am trying to use preseeding in the Debian Installer in a fashion
> similar to Kickstart in Anaconda. I installed a system and tried basing
> the preseeding file on the output of debconf-get-selections. The problem
> I am running into is that I do not see the manual partitioning I did
> during installation reflected in the output of debconf-get-selections.
AFAIK doesn't use partman, the partition program in d-i, debconf.
> In short, what I am hoping to accomplish is to install a system and then
> tell the Debian Installer to install other systems exactly the same way
> I installed this system.
The documentation of d-i, debian-installer, has in it's manual
( url = http://d-i.alioth.debian.org/manual/ ) examples like this
# You can choose from any of the predefined partitioning recipes.
# Note: this must be preseeded with a localized (translated) value.
d-i partman-auto/choose_recipe \
select All files in one partition (recommended for new users)
#d-i partman-auto/choose_recipe \
# select Separate /home partition
#d-i partman-auto/choose_recipe \
# select Separate /home, /usr, /var, and /tmp partitions
# Or provide a recipe of your own...
# The recipe format is documented in the file
# devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you
# can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe
# If not, you can put an entire recipe the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
#d-i partman-auto/expert_recipe string \
# boot-root :: \
# 40 50 100 ext3 \
# $primary{ } $bootable{ } \
# method{ format } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ /boot } \
# . \
# 500 10000 1000000000 ext3 \
# method{ format } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ / } \
# . \
# 64 512 300% linux-swap \
# method{ swap } format{ } \
# .
Let us known which part of the Fantasic manuals needs updating.
> Youssef Eldakar
> Bibliotheca Alexandrina
Cheers
Geert Stappers
--
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: