← Back to team overview

openjdk team mailing list archive

[Bug 1370315] Re: ubuntu 14.04 automatic installation with preseed is blocked by some confirmation dialogs

 

hi,
I tried this but still no help:
...
d-i mirror/country string manual
d-i mirror/protocol string http
d-i mirror/http/hostname string  10.1.5.185
d-i mirror/http/directory string /install/ubuntu14.04/x86_64
d-i mirror/http/proxy string
...

** Also affects: debian-installer
   Importance: Undecided
       Status: New

** No longer affects: openjdk-7 (Ubuntu)

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1370315

Title:
  ubuntu 14.04 automatic installation with preseed is blocked by some
  confirmation dialogs

Status in debian-installer:
  New

Bug description:
  The automatic installation process is interrupted by the following confirmation dialogs:
     +------------+ [!!] Choose a mirror of the Ubuntu archive +-------------+
     |                                                                       |
     | Please enter the directory in which the mirror of the Ubuntu archive  |
     | is located.                                                           |
     |                                                                       |
     | Ubuntu archive mirror directory:                                      |
     |                                                                       |
     | /install/ubuntu14.04/x86_64__________________________________________ |
     |                                                                       |
     |     <Go Back>                                          <Continue>     |
     |                                                                       |
     +-----------------------------------------------------------------------+



  <Tab> moves; <Space> selects; <Enter> activates buttons


    +------------------------+ [!!] Partition disks +-------------------------+
    |                                                                         |
    | This is an overview of your currently configured partitions and mount   |
    | points. Select a partition to modify its settings (file system, mount   |
    | point, etc.), a free space to create partitions, or a device to         |
    | initialize its partition table.                                         |
    |                                                                         |
    |    SCSI1 (0,3,0) (sdd) - 64.0 GB ATA MTFDDAK064MAR-1J                   |
    |    >             1.0 MB        FREE SPACE                         a     |
    |    >     #1     52.4 MB  B     fat16       EFI System P           a     |
    |    >     #2    268.4 MB        xfs                                a     |
    |    >     #3     16.9 GB        swap                               a     |
    |    >     #4     46.8 GB     K  lvm                                a     |
    |    >           335.4 kB        FREE SPACE                         a     |
    |                                                                   a     |
    |    Undo changes to partitions                                           |
    |    Finish partitioning and write changes to disk                        |
    |                                                                         |
    |     <Go Back>                                                           |
    |                                                                         |
    +-------------------------------------------------------------------------+

  <F1> for help; <Tab> moves; <Space> selects; <Enter> activates buttons


      +-----------------------+ [!!] Partition disks +-----------------------+
      |                                                                      |
      | If you continue, the changes listed below will be written to the     |
      | disks. Otherwise, you will be able to make further changes manually. |
      |                                                                      |
      | WARNING: This will destroy all data on any partitions you have       |
      | removed as well as on the partitions that are going to be formatted. |
      |                                                                      |
      | The following partitions are going to be formatted:                  |
      |    partition #1 of SCSI1 (0,0,0) (sda) as EFIboot                    |
      |    partition #2 of SCSI1 (0,0,0) (sda) as ext3                       |
      |    partition #3 of SCSI1 (0,0,0) (sda) as swap                       |
      |                                                                      |
      | Write the changes to disks?                                          |
      |                                                                      |
      |     <Yes>                                                   <No>     |
      |                                                                      |
      +----------------------------------------------------------------------+

  
  <Tab> moves; <Space> selects; <Enter> activates buttons


  
     +-------------------+ [!!] Finish the installation +--------------------+
     |                                                                       |
    +|                         Installation complete                         |
    || Installation is complete, so it is time to boot into your new system. |
    || Make sure to remove the installation media (CD-ROM, floppies), so     |
    || that you boot into the new system rather than restarting the          |
    || installation.                                                         |
    ||                                                                       |
    +|     <Go Back>                                          <Continue>     |
     |                                                                       |
     +-----------------------------------------------------------------------+


  ---uname output---
  Linux x3550m4n07 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
   
  Machine Type = x3550m4 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   The preseed configure file is:
  ### Localization
  d-i debian-installer/locale string en_US
  d-i localechooser/supported-locales multiselect en_US.UTF-8

  # Keyboard Selection
  d-i console-setup/ask_detect boolean false
  d-i keyboard-configuration/layoutcode string en

  ### Network Configuration

  d-i netcfg/get_hostname string unassigned-hostname
  d-i netcfg/get_domain string unassigned-domain
  d-i netcfg/wireless_wep string
  d-i netcfg/dhcp_timeout string 120
  ### Mirror settings
  # If you select ftp, the mirror/country string does not need to be set.

  d-i mirror/country string manual
  d-i mirror/protocol string http
  d-i mirror/http/directory string /install/ubuntu14.04/x86_64
  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
  # This creates a small /boot partition, suitable
  # swap, and uses the rest of the space for the root partition:

  d-i partman-auto/method string regular
  d-i partman-lvm/device_remove_lvm boolean true
  d-i partman-md/device_remove_md boolean true

  #create the /tmp/partitioning based on the uefi or legacy bios 
  d-i partman/early_command string \
      debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
  d-i partman-auto/expert_recipe_file string /tmp/partitioning

  # This makes partman automatically partition without confirmation, provided
  # that you told it what to do using one of the methods above.

  d-i partman/confirm_write_new_label boolean true
  d-i partman/choose_partition select finish
  d-i partman/confirm boolean true
  d-i partman/confirm_nooverwrite boolean true
  d-i partman-md/confirm boolean true

  ### Account setup

  d-i passwd/root-login boolean true
  d-i passwd/make-user boolean false

  d-i passwd/root-password-crypted password
  $1$O1J0hUkC$XXFLmFTUVmdFB7qpsznlZ.

  ### Clock and time zone setup

  d-i clock-setup/ntp boolean true
  d-i clock-setup/ntp-server string 10.1.5.185
  d-i clock-setup/utc boolean true
  d-i time/zone string America/New_York

  ### Apt setup

  d-i apt-setup/multiverse boolean false
  d-i apt-setup/universe boolean false
  d-i apt-setup/backports boolean false
  d-i apt-setup/updates boolean false

  
  ### Boot loader installation

  d-i grub-installer/only_debian boolean true

  ### Package selection

  tasksel tasksel/first multiselect standard

  # gawk required for the xCAT scripts to work
  # Otherwise it installs mawk, which doesn't work

  d-i pkgsel/include string  openssh-server ntp gawk nfs-common snmpd

  d-i debian-installer/allow_unauthenticated string true
  d-i pkgsel/update-policy select none
  d-i pkgsel/updatedb boolean false

  ### Finishing up the installation
  d-i finish-install/reboot_in_progress note

  ### X configuration
  xserver-xorg xserver-xorg/autodetect_monitor boolean true

  xserver-xorg xserver-xorg/config/monitor/selection-method \
    select medium

  xserver-xorg xserver-xorg/config/monitor/mode-list \
    select 1024x768 @ 60 Hz

  
  d-i preseed/early_command string wget http://`cat /tmp/xcatserver`/install/autoinst/x3550m4n07.pre; \
       chmod u+x x3550m4n07.pre; \
       ./x3550m4n07.pre 

  d-i preseed/late_command string wget http://`cat /tmp/xcatserver`/install/autoinst/x3550m4n07.post; \
       chmod u+x x3550m4n07.post; \
       cp ./x3550m4n07.post /target/root/post.script; \
       mount -o bind /proc /target/proc -t proc; \
       mount -o bind /dev /target/dev; \
       mount -o bind /dev/pts /target/dev/pts -t devpts; \
       mount -o bind /sys /target/sys; \
       chroot /target /root/post.script


   
  Install method: Network
   
  Install disk info: 
  root@x3550m4n07:~# fdisk -l

  WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  
  Disk /dev/sdc: 64.0 GB, 64023257088 bytes
  255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdc1               1   125045423    62522711+  ee  GPT

  WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  
  Disk /dev/sdd: 64.0 GB, 64023257088 bytes
  255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdd1               1   125045423    62522711+  ee  GPT

  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  
  Disk /dev/sda: 64.0 GB, 64023257088 bytes
  255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

     Device Boot      Start         End      Blocks   Id  System
  /dev/sda1               1   125045423    62522711+  ee  GPT

  WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util
  fdisk doesn't support GPT. Use GNU Parted.

  
  Disk /dev/sdb: 64.0 GB, 64023257088 bytes
  255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdb1               1   125045423    62522711+  ee  GPT

  Disk /dev/mapper/system-root: 46.8 GB, 46774878208 bytes
  255 heads, 63 sectors/track, 5686 cylinders, total 91357184 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000

  Disk /dev/mapper/system-root doesn't contain a valid partition table
   
  Install ISO Information: # cat /install/ubuntu14.04/x86_64/.disk/info Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)root@ubumn14

To manage notifications about this bug go to:
https://bugs.launchpad.net/debian-installer/+bug/1370315/+subscriptions


References