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

Bug#608906: debian-installer: preseed recipe (partitioning) does not provide the same layout as lenny



Package: debian-installer
Version: debian-squeeze-di-beta2-amd64-netinst.iso
Severity: important
Tags: d-i


I am using the debian installer with a preseed:

d-i partman-auto/expert_recipe \
  string boot-root :: 4000 10000 40000 ext3 \
    $primary{ } \
    $bootable{ } \
    method{ format } \
    format{ } \
    use_filesystem{ } \
    filesystem{ ext3 } \
    mountpoint{ / } \
    label{ root } \
  . \
  64 512 300% linux-swap \
    method{ swap } \
    format{ } \
  . \
  100 4000 1000000000 ext3 \
    method{ keep } \
  .

The intend is to re-install the system when the CD is inserted; and keep
the last partition between installs.

When switching to squeeze (from a lenny partitioned HDD with the same
recipe), the layout is slightly different:

Lenny HDD:
Command (m for help): p

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfb77a217

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4863    39062016   83  Linux
/dev/sda2            4864       38913   273506625    5  Extended
/dev/sda5            4864        5521     5285353+  82  Linux swap / Solaris
/dev/sda6            5522       38913   268221208+  83  Linux


Squeeze HDD:
Command (m for help): p

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b33ec

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4864    39061504   83  Linux
/dev/sda2            4864       38914   273507329    5  Extended
/dev/sda5            4864        5520     5272576   82  Linux swap / Solaris
/dev/sda6            5520       38914   268233728   83  Linux

As a result, the method {keep} is not valid her when switching from Lenny to Squeeze.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



Reply to: