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

Bug#398333: debian-installer: [preseed] automatic installation of debian etch does not work



Op 13-11-2006 om 09:56 schreef Dennis Hoppe:
> 
> hi there, 
> 
> i try to build a cd which installs debian etch without input from the user. but during the 
> installation process i have to interact at two points.

I hope you are prototyping with a USB-stick, floppy or the preseedfile from
a HTTP server. ( to avoid (re)burning of CD-ROMs )

> 1. debian installer asks at which harddisk he should install debian etch. but i have
>    only one harddisk at my server.
> 
> 2. debian installer reminds me that two partitions do not have a filesystem / mountpoint.
>    one of them should be later an drbd device and the other one should be reserved.
> 
> for mor information i include the preseed.cfg and syslog from the installation process.
> 
> ### Partitioning
> # If the system has free space you can choose to only partition that space.
> # Note: this must be preseeded with a localized (translated) value.
> d-i partman-auto/init_automatically_partition \
>       select Geführt - verwende vollständige Festplatte

AFAIK is the english text needed.
> 
> # Alternatively, you can specify a disk to partition. The device name can
    ^^^^^^^^^^^^^
> # be given in either devfs or traditional non-devfs format.
> # For example, to use the first disk devfs knows of:
> d-i partman-auto/disk string /dev/discs/disc0/disc

I don't known if that conflicts the previous setting, I suggest to
comment it out.

> # 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-swap-root-home-drbd-srv ::                         \
>               64 1000 64 ext2                                 \
>                       $primary{ } $bootable{ }                \
>                       method{ format } format{ }              \
>                       use_filesystem{ } filesystem{ ext2 }    \
>                       mountpoint{ /boot }                     \
>               .                                               \
    <snip/>
>               1024 5000 1024 ext3                             \
>                       method{ keep } format{ }                \
>                       use_filesystem{ } filesystem{ ext3 }    \
>               .                                               \
>               1 6000 1000000000 ext3                          \
>                       method{ keep } format{ }                \
>                       use_filesystem{ } filesystem{ ext3 }    \
>               .

Looks fine to me, but as it doesn't work, I would try:

               1024 5000 1024 ext3                             \
                       method{ keep }                 \
               .                                               \
               1 6000 1000000000 ext3                          \
                       method{ keep }                 \
               .


Cheers
Geert Stappers



Reply to: