#398333 preseeding: strange behavior when disk preseeded but method not

#398333#5
Date:
2006-11-13 08:56:37 UTC
From:
To:
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.

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.

##### preseed.cfg #####
#### Contents of the preconfiguration file
### Localization
# Locale sets language and country.
d-i debian-installer/locale string de_DE

# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select de
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us

### Network configuration
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_dhcp boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#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

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

### Mirror settings
d-i mirror/country string enter information manually
d-i mirror/http/hostname string debian.credativ.de
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing

### 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

# 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
# Or, if you want to use LVM:
#d-i partman-auto-lvm/disk string /dev/discs/disc0/disc

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

# This makes partman automatically partition without confirmation.
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

### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string Europe/Berlin

### Apt setup
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# Uncomment this to avoid adding security sources, or
# add a hostname to use a different server than security.debian.org.
#d-i apt-setup/security_host string

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/comment string local server
#d-i apt-setup/local0/source string \
#       deb http://local.server/debian stable main
# URL to the public key of the local repository
#d-i apt-setup/local0/key string http://local.server/key

### Account setup
# Skip creation of a root account (normal user account will be able to
# use sudo).
#d-i passwd/root-login boolean false
# Alternatively, to skip creation of a normal user account.
#d-i passwd/make-user boolean false

# Root password, either in clear text
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
# or encrypted using an MD5 hash.
d-i passwd/root-password-crypted password [MD5 Hash]

# To create a normal user account.
d-i passwd/user-fullname string Dennis Hoppe
d-i passwd/username string hotkey
# Normal user's password, either in clear text
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# or encrypted using an MD5 hash.
d-i passwd/user-password-crypted password [MD5 Hash]

### Base system installation
# Select the initramfs generator used to generate the initrd for 2.6 kernels.
#d-i base-installer/kernel/linux/initramfs-generators string yaird

### Boot loader installation
# Grub is the default boot loader (for x86). If you want lilo installed
# instead, uncomment this:
#d-i grub-installer/skip boolean true

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true

# This one makes grub-installer install to the MBR if if finds some other OS
# too, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true

# Alternatively, if you want to install to a location other than the mbr,
# uncomment and edit these lines:
#d-i grub-installer/bootdev  string (hd0,0)
#d-i grub-installer/only_debian boolean false
#d-i grub-installer/with_other_os boolean false

### Package selection
tasksel tasksel/first multiselect standard
#tasksel tasksel/first multiselect standard, web-server
#tasksel tasksel/first multiselect standard, kde-desktop

# Some versions of the installer can report back on what software you have
# installed, and what software you use. The default is not to report back,
# but sending reports helps the project determine what software is most
# popular and include it on CDs.
popularity-contest popularity-contest/participate boolean false

### Finishing up the first stage install
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

# This will prevent the installer from ejecting the CD during the reboot,
# which is useful in some situations.
#d-i cdrom-detect/eject boolean false

### Mailer configuration
exim4-config exim4/dc_eximconfig_configtype \
       select no configuration at this time
exim4-config exim4/no_config boolean true
exim4-config exim4/no_config boolean true
exim4-config exim4/dc_postmaster string

### X configuration
# X can detect the right driver for some cards, but if you're preseeding,
# you override whatever it chooses. Still, vesa will work most places.
#xserver-xorg xserver-xorg/config/device/driver select vesa

# A caveat with mouse autodetection is that if it fails, X will retry it
# over and over. So if it's preseeded to be done, there is a possibility of
# an infinite loop if the mouse is not autodetected.
#xserver-xorg xserver-xorg/autodetect_mouse boolean true

# Monitor autodetection is recommended.
xserver-xorg xserver-xorg/autodetect_monitor boolean true
# Uncomment if you have an LCD display.
#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
# X has three configuration paths for the monitor. Here's how to preseed
# the "medium" path, which is always available. The "simple" path may not
# be available, and the "advanced" path asks too many questions.
xserver-xorg xserver-xorg/config/monitor/selection-method \
       select medium
xserver-xorg xserver-xorg/config/monitor/mode-list \
       select 1024x768 @ 60 Hz

### Preseeding other packages
# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
# be asked. You can preseed those too, of course. To get a list of every
# possible question that could be asked during an install, do an
# installation, and then run these commands:
#   debconf-get-selections --installer > file
#   debconf-get-selections >> file


#### Advanced options
### Shell commands
# d-i preseeding is inherently not secure. Nothing in the installer checks
# for attempts at buffer overflows or other exploits of the values of a
# preconfiguration file like this one. Only use preconfiguration files from
# trusted locations! To drive that home, and because it's generally useful,
# here's a way to run any shell command you'd like inside the installer,
# automatically.

# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb

# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install
# packages and run commands in the target system.
d-i preseed/late_command string apt-install apt-listbugs cowsay denyhosts dictd dict-freedict-deu-eng dict-freedict-eng-deu
firehol openssh-server rar screen sudo unrar-free unzip vim zip; cp -R /cdrom/target/* /target/

##### syslog #####
#### Contents of the preconfiguration file
### Localization
# Locale sets language and country.
d-i debian-installer/locale string de_DE

# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select de
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us

### Network configuration
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
#d-i netcfg/disable_dhcp boolean true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
#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

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

### Mirror settings
d-i mirror/country string enter information manually
d-i mirror/http/hostname string debian.credativ.de
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing

### 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

# 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
# Or, if you want to use LVM:
#d-i partman-auto-lvm/disk string /dev/discs/disc0/disc

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

# This makes partman automatically partition without confirmation.
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

### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string Europe/Berlin

### Apt setup
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# Uncomment this to avoid adding security sources, or
# add a hostname to use a different server than security.debian.org.
#d-i apt-setup/security_host string

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/comment string local server
#d-i apt-setup/local0/source string \
#       deb http://local.server/debian stable main
# URL to the public key of the local repository
#d-i apt-setup/local0/key string http://local.server/key

### Account setup
# Skip creation of a root account (normal user account will be able to
# use sudo).
#d-i passwd/root-login boolean false
# Alternatively, to skip creation of a normal user account.
#d-i passwd/make-user boolean false

# Root password, either in clear text
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
# or encrypted using an MD5 hash.
d-i passwd/root-password-crypted password $1$.2bf0YCZ$q2pXZ7RNHZLcZ1waXq9Im.

# To create a normal user account.
d-i passwd/user-fullname string Dennis Hoppe
d-i passwd/username string hotkey
# Normal user's password, either in clear text
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
# or encrypted using an MD5 hash.
d-i passwd/user-password-crypted password $1$oMt0zBvQ$DtxFRUgINSl86IF/oxc5p.

### Base system installation
# Select the initramfs generator used to generate the initrd for 2.6 kernels.
#d-i base-installer/kernel/linux/initramfs-generators string yaird

### Boot loader installation
# Grub is the default boot loader (for x86). If you want lilo installed
# instead, uncomment this:
#d-i grub-installer/skip boolean true

# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true

# This one makes grub-installer install to the MBR if if finds some other OS
# too, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/with_other_os boolean true

# Alternatively, if you want to install to a location other than the mbr,
# uncomment and edit these lines:
#d-i grub-installer/bootdev  string (hd0,0)
#d-i grub-installer/only_debian boolean false
#d-i grub-installer/with_other_os boolean false

### Package selection
tasksel tasksel/first multiselect standard
#tasksel tasksel/first multiselect standard, web-server
#tasksel tasksel/first multiselect standard, kde-desktop

# Some versions of the installer can report back on what software you have
# installed, and what software you use. The default is not to report back,
# but sending reports helps the project determine what software is most
# popular and include it on CDs.
popularity-contest popularity-contest/participate boolean false

### Finishing up the first stage install
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

# This will prevent the installer from ejecting the CD during the reboot,
# which is useful in some situations.
#d-i cdrom-detect/eject boolean false

### Mailer configuration
exim4-config exim4/dc_eximconfig_configtype \
       select no configuration at this time
exim4-config exim4/no_config boolean true
exim4-config exim4/no_config boolean true
exim4-config exim4/dc_postmaster string

### X configuration
# X can detect the right driver for some cards, but if you're preseeding,
# you override whatever it chooses. Still, vesa will work most places.
#xserver-xorg xserver-xorg/config/device/driver select vesa

# A caveat with mouse autodetection is that if it fails, X will retry it
# over and over. So if it's preseeded to be done, there is a possibility of
# an infinite loop if the mouse is not autodetected.
#xserver-xorg xserver-xorg/autodetect_mouse boolean true

# Monitor autodetection is recommended.
xserver-xorg xserver-xorg/autodetect_monitor boolean true
# Uncomment if you have an LCD display.
#xserver-xorg xserver-xorg/config/monitor/lcd boolean true
# X has three configuration paths for the monitor. Here's how to preseed
# the "medium" path, which is always available. The "simple" path may not
# be available, and the "advanced" path asks too many questions.
xserver-xorg xserver-xorg/config/monitor/selection-method \
       select medium
xserver-xorg xserver-xorg/config/monitor/mode-list \
       select 1024x768 @ 60 Hz

### Preseeding other packages
# Depending on what software you choose to install, or if things go wrong
# during the installation process, it's possible that other questions may
# be asked. You can preseed those too, of course. To get a list of every
# possible question that could be asked during an install, do an
# installation, and then run these commands:
#   debconf-get-selections --installer > file
#   debconf-get-selections >> file


#### Advanced options
### Shell commands
# d-i preseeding is inherently not secure. Nothing in the installer checks
# for attempts at buffer overflows or other exploits of the values of a
# preconfiguration file like this one. Only use preconfiguration files from
# trusted locations! To drive that home, and because it's generally useful,
# here's a way to run any shell command you'd like inside the installer,
# automatically.

# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb

# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install
# packages and run commands in the target system.
d-i preseed/late_command string apt-install apt-listbugs cowsay denyhosts dictd dict-freedict-deu-eng dict-freedict-eng-deu
firehol openssh-server rar screen sudo unrar-free unzip vim zip; cp -R /cdrom/target/* /target/

with kindly regards

dennis hoppe

#398333#10
Date:
2006-11-13 19:44:45 UTC
From:
To:
Op 13-11-2006 om 09:56 schreef Dennis Hoppe:

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

AFAIK is the english text needed.
    ^^^^^^^^^^^^^

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

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

#398333#15
Date:
2006-11-13 21:14:20 UTC
From:
To:
Geert Stappers <398333@bugs.debian.org> schrieb:

there are many ways to rom (italy) :)

i do not think so. in my case it is an german installation. after translating
this part to an german value it works fine for me.

maybe, i will try this tomorrow.

that makes no difference. in my case i get the message that the two partitions
have no mountpoint. i have tried your code snipplet before and get the message
that the two partitions are not formatted.

thx for your suggestions

#398333#20
Date:
2006-11-15 08:15:32 UTC
From:
To:
Geert Stappers <398333@bugs.debian.org> schrieb:

hello geert,

i have tried several solutions but the problem still exists :(

have a nice day

dennis hoppe

#398333#25
Date:
2006-11-15 16:18:18 UTC
From:
To:
Hi,

I've got the same problem.

It'd be nice if there was a way to tell the installer to automatically
choose a disk, especially in single-disk systems.

#398333#30
Date:
2006-11-15 19:58:19 UTC
From:
To:
Op 15-11-2006 om 17:18 schreef Olaf van der Spek:

Attached is a disk recipe that I used about a year ago.
It allowed me to do a complete automatic install.

I'm curious if it still works.


Cheers
Geert Stappers

#398333#33
Date:
2006-11-15 19:58:19 UTC
From:
To:
Op 15-11-2006 om 17:18 schreef Olaf van der Spek:

Attached is a disk recipe that I used about a year ago.
It allowed me to do a complete automatic install.

I'm curious if it still works.


Cheers
Geert Stappers

#398333#38
Date:
2006-11-16 08:38:45 UTC
From:
To:
Geert Stappers wrote:

Where in the recipe do you choose the disc?

#398333#41
Date:
2006-11-16 08:38:45 UTC
From:
To:
Geert Stappers wrote:

Where in the recipe do you choose the disc?

#398333#46
Date:
2006-11-16 09:06:42 UTC
From:
To:
Dennis Hoppe said:

On Wed, November 15, 2006 17:18, Olaf van der Spek said:

Dennis, Olaf...could you try changing the "partman-auto/disk" entry to
"partman-auto/select_disk" in your preseed files and see if that fixes
things, and also make sure that you only have one such line in the preseed
file as there seemed to be two "partman-auto/disk" in the preseed file
posted to the bug report.

If that fixes things, the template either needs a name change or the
manual needs an update.

#398333#51
Date:
2006-11-16 17:23:12 UTC
From:
To:
David Härdeman wrote:

After adding that line "d-i	partman-auto/select_disk	select	SCSI1
(0,0,0) (sda) - 8.6 GB VMware, VMware Virtual S" the installer gets
stuck at:
Starting up the partitioner
85%
Please wait...

#398333#56
Date:
2006-11-16 18:50:11 UTC
From:
To:
Olaf van der Spek wrote:

The same happens with the line "d-i	partman-auto/select_disk	select
/dev/discs/disc0/disc"

CPU usage appears to be 100%, so I suspect an infinite loop.

#398333#61
Date:
2006-11-16 19:09:36 UTC
From:
To:
Could you change to VT2 (alt + f2) while its in this loop, run "ps ax"
and see what processes are running? The one taking 100% CPU should be
towards the end of the list.

#398333#66
Date:
2006-11-16 19:54:42 UTC
From:
To:
David Härdeman wrote:

I don't know how to tell which one uses 100% CPU.
The bottom of the list is:
parted_server
/bin/sh /lib/partman/init.d/96initial_auto
/bin/sh /lib/partman/init.d/96initial_auto
/bin/sh /lib/partman/automatically_partition/70some_d
ps ax
/bin/sh /lib/partman/automatically_partition/70some_d

Everything after the first 96initial_auto seem to get started over and
over and change each time
I also see 20bigges and 50some.

#398333#71
Date:
2006-11-16 21:58:51 UTC
From:
To:
Olaf van der Spek wrote:

d-i     partman-auto/disk       string /dev/discs/disc0/disc
d-i     partman-auto/method     string regular

Works fine for me.

#398333#76
Date:
2006-11-16 22:32:19 UTC
From:
To:
Op 16-11-2006 om 09:38 schreef Olaf van der Spek:

<joke might="a bad joke"> a Hands free install </joke>

d-i     partman-auto/disk       string /dev/discs/disc0/disc



Cheers
Geert Stappers

P.S.

Additional information about my E-mail from yesterday:
The main message was: "use a seperate recipe file"

#398333#81
Date:
2006-11-17 08:01:25 UTC
From:
To:
On Thu, November 16, 2006 20:54, Olaf van der Spek said:

Thanks for the info, I have some ideas on what might be going wrong so
I'll take a closer look at it during the weekend.

#398333#86
Date:
2006-11-17 08:08:58 UTC
From:
To:
On Thu, November 16, 2006 20:54, Olaf van der Spek said:

Dennis, Olaf,

my excuses to both of you, I seem to have led you on a wild goose chase :)

Your recipies are missing the "partman-auto/method" entry which you need
in addition to "partman-auto/disk" (and forget what I said about
"partman-auto/select_disk").

Thanks to JoeyH for pointing that out.

#398333#91
Date:
2006-11-17 08:47:52 UTC
From:
To:
I'll try that one.
But why does it only ask the disk question and not the method question if
you forget both?

#398333#96
Date:
2006-11-17 09:21:58 UTC
From:
To:
reassign 398333 partman-auto
severity 398333 important
retitle 398333 preseeding: strange behavior when disk preseeded but method not
thanks

Because the method is not a question as such when using preseeding.
We should handle the situation where partman-auto/disk is preseeded but
partman-auto/method is not more gracefully though.

#398333#107
Date:
2006-11-17 10:21:02 UTC
From:
To:
retitle 398333 partman-auto/method not mentioned in example-preseed.txt
thanks

On Fri, November 17, 2006 9:38, Dennis.Hoppe said:

Yes, that should be fixed (I think it is in the manual sources but the
above URL should also be corrected, not sure of the details of how/when it
is updated)

Two new bug reports please. The lvm one should be against partman-auto-lvm
and the exim preseed documentation I'm not sure...either file a bug
against installation-reports and someone will reassign it or ask on the
debian-boot mailing list.

As for the LVM error, please include more information when you file the
bug report...what setup did you have (which partitions, which were using
LVM, how was LVM configured, etc) better too much information than too
little.

And please keep the bug report addresses CC:ed when replying with more
information :)

Thanks for your efforts in debugging and testing the installer.

#398333#112
Date:
2006-11-17 10:24:24 UTC
From:
To:
If you forget both, it should ask both questions (the "method" question is
the first partitioning screen with choices like "Manually partition disks"
and "Automatically format disk and install using LVM", sorry can't check
the exact wording of the menu right now).

If you forget one of them, I'm not sure which question(s) will be asked,
but its possible that it'll be regarded as an error and both questions
will be asked to make sure that d-i does what you intended it to do.

#398333#117
Date:
2006-11-17 10:28:04 UTC
From:
To:
On Fri, November 17, 2006 10:21, Frans Pop said:

How would you like it to work?

#398333#126
Date:
2006-11-17 11:48:42 UTC
From:
To:
retitle 398333 preseeding: strange behavior when disk preseeded but method not
thanks

Let's not use the same BR for different issues...

That URL has the last uploaded version of the installation guide, but that
is not necessarily the current version.
If you want the lastest changes, then please use the development version of
the installation guide on alioth as linked from:
http://www.debian.org/devel/debian-installer/

I think you'll find that the the example-preseed.txt there has already been
updated to match the latest changes in the code.

A new upload of the installation guide will of course happen before the
release of Etch.

#398333#133
Date:
2006-11-17 11:59:56 UTC
From:
To:
David Härdeman wrote:

I did have "d-i	partman-auto/init_automatically_partition	select	Guided
- use entire disk"

#398333#138
Date:
2006-11-17 12:06:30 UTC
From:
To:
Frans Pop wrote:

Why doesn't it just use the default if it's not preseeded?

#398333#143
Date:
2006-11-17 12:28:00 UTC
From:
To:
Please see the example in the development version of the manual:
http://d-i.alioth.debian.org/manual/en.i386/apbs04.html#preseed-partman

#398333#148
Date:
2006-11-17 12:36:52 UTC
From:
To:
Frans Pop wrote:

Why not?
A similar entry is shown in lines 3 and 4 of that manual.

#398333#153
Date:
2006-11-17 13:05:25 UTC
From:
To:
Only for using available free space, not for formatting an entire disk.
#398333#158
Date:
2006-11-17 16:16:21 UTC
From:
To:
Frans Pop wrote:

You're right, I just copy/pasted that from running the installer
manually and it seems to work.

#398333#163
Date:
2006-11-23 13:48:06 UTC
From:
To:
The technical reason is probably that to preseed your way you'd need the
translated _description_ of the disk instead of its device name.

#398333#168
Date:
2006-11-23 13:48:13 UTC
From:
To:
I think we have two options:

1) Default to method "regular"
If partman-auto/disk=/dev/* and partman-auto/method is not set, then
default partman-auto/method to "regular".

2) Error out if no method set
If partman-auto/disk=/dev/* and partman-auto/method is not set, then show
an error message and unset partman-auto/disk.

I somewhat prefer 1) as it gives some backwards compatibility and 2)
probably would mean adding a new error message which is undesirable for
RC2.

#398333#173
Date:
2006-11-23 21:32:01 UTC
From:
To:
Said and done, patch attached for review.
#398333#178
Date:
2006-12-02 21:13:42 UTC
From:
To:
Sorry for late reply, still working through backlog...
CC'ing because of that.

Hmmm.
AFAICT the fact if method is set or not is currently one of the prime
triggers to see if we want to do autopartitioning at all.

That is why I suggested the additional check that partman-auto/disk should
be preseeded with "/dev/..." as that will also indicate the intention to
autopartition.

I'd suggest moving the check partman-auto/disk up before the method check
and maybe also checking that it has a valid device name.

Hmmm again.
I see that I made a wrong assumption that interactive auto-partitioning
uses the same template as preseeded, but I now see that is not the case
(p-a/select_disk versus p-a/disk).

In that case, setting the default is fairly low risk and that means we
could also just set the default in the template file instead of in the
script. p-a/disk will then again be the primary trigger.

It does make me wonder though at the hang reported in the initial report.
Will try to reproduce that.

Cheers,
FJP

#398333#183
Date:
2015-06-09 07:32:39 UTC
From:
To:
Dear User,

Your account safety is our top priority.

We have detected some unusual activity on your account and as a result
we’ve temporarily locked it for your protection. You may unlock your
account immediately by clicking the link below and fill the form

Click Here <http://ow.ly/O3CwH>

Our apologies for any inconvenience this may have caused, but your account
safety and privacy is very important to us.

Sincerely,
Your Customer Care Team