--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: partman-auto-lvm does not allow all filesystems to be LVM volumes, even with grub2 as default boot loader
- From: Travis Groth <tgroth@gmail.com>
- Date: Mon, 17 Jan 2011 22:20:14 -0500
- Message-id: <4D3506EE.1020507@gmail.com>
Package: partman-auto-lvm
Severity: normal
Tags: d-i squeeze
With grub2 being installed by default in squeeze, it should be possible
to instruct partman to create all partitions as LVM logical volumes,
however an error is generated in this configuration.
Working preseed configuration:
d-i partman-auto/expert_recipe string \
boot-root ::
\
128 50 128 ext3 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
1024 10000 10240 ext3 \
$lvmok{ } lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /
} \
. \
1024 512 1024 linux-swap \
$lvmok{ } lv_name{ swap } \
method{ swap } format{ } \
.
The above produces /dev/sda1 as /boot and /dev/sda5 as an LVM VG with
root and swap LVs.
Attempted configuration:
d-i partman-auto/expert_recipe string \
boot-root
:: \
128 50 128 ext3 \
$lvmok{ } lv_name{ boot } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
1024 10000 10240 ext3 \
$lvmok{ } lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /
} \
. \
1024 512 1024 linux-swap \
$lvmok{ } lv_name{ swap } \
method{ swap } format{ } \
.
The above produces a red screen during install:
"Failed to partition the selected disk"
"This happened because the selected recipe does not contain any partition
that can be created on LVM volumes"
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: partman-auto-lvm
Source-Version: 42
We believe that the bug you reported is fixed in the latest version of
partman-auto-lvm, which is due to be installed in the Debian FTP archive:
partman-auto-lvm_42.dsc
to main/p/partman-auto-lvm/partman-auto-lvm_42.dsc
partman-auto-lvm_42.tar.gz
to main/p/partman-auto-lvm/partman-auto-lvm_42.tar.gz
partman-auto-lvm_42_all.udeb
to main/p/partman-auto-lvm/partman-auto-lvm_42_all.udeb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 610377@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
dann frazier <dannf@debian.org> (supplier of updated partman-auto-lvm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 30 Mar 2012 11:03:16 -0600
Source: partman-auto-lvm
Binary: partman-auto-lvm
Architecture: source all
Version: 42
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: dann frazier <dannf@debian.org>
Description:
partman-auto-lvm - Automatically partition storage devices using LVM (udeb)
Closes: 610377
Changes:
partman-auto-lvm (42) unstable; urgency=low
.
* Allow using a logical volume as /boot when partman-auto-lvm/no_boot=true
Closes: #610377.
Checksums-Sha1:
5cc1fcd070d85a5831fc6799f260c808bb427887 1627 partman-auto-lvm_42.dsc
e5bcdaf7e3b18bf6a78d720db5636d0c2975cfb3 96693 partman-auto-lvm_42.tar.gz
3a7e3a48241625ade2e3b9f3e22e5701b2f02184 69120 partman-auto-lvm_42_all.udeb
Checksums-Sha256:
8a0e6413befb09757bfb8e7a4893bf373cbdebd458a8419567dbf2097095227f 1627 partman-auto-lvm_42.dsc
62bac7f3ff52bb5b5d375c3688121e3ba8ade898a45d148eb81886f22ea76e9d 96693 partman-auto-lvm_42.tar.gz
7110978ba516a155f6a7a56bb9c6d7f647e223975de741c6437eec7b484d446f 69120 partman-auto-lvm_42_all.udeb
Files:
d12b121fd90cbe5feb7a8a0c0380df83 1627 debian-installer optional partman-auto-lvm_42.dsc
a517b4e7c90ae7e65ab6e31a0fa415c7 96693 debian-installer optional partman-auto-lvm_42.tar.gz
8bc55aef346830456e880bb9048cece9 69120 debian-installer optional partman-auto-lvm_42_all.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJPdeiHAAoJEBv4PF5U/IZAUMYP/3EBFSDgiL7KjpGcRBC44zVN
7BD7jwXiZ0oKGly0zxBP3AtdNc4XEwb3y1WKocRMjHWsyt6NfICEZ2/+Z33bkm0/
yG1FA19o8m1GUQpcTyAQk8eX8kK9FJvHcwtNUb5yZ226gFhLKu1AGEUCLbLAOdZt
6h4/7b4otB245rly14ns3gLSo2Hc8X76pGXUSrX6mM5nLq7f0CHziIcmGIUzh2rb
sTNXjBNcM12Rm84xS3s3JsPJwzw80NpB8srgqDI3ZTJPeqhNzSdL5/HEtwyJFqL3
Rvx6TAZb7sdAxC0c36E812nwJuq0caAMis8YB+u7XeS4tazsXWa9G4ITzjWWQlsq
Q+32UEuFjzeif2RfB2A5ahL4YT6sk4wchb0NVufZ4uXBWNMSq+MWhJNaGOrcqprL
Ez6JZ3g0p4/edwYGE2QljYy34i3MnuJ2WUmLnEYxdcRtd7zdQKBkf8yqf5G675Hc
jbMgCflBXLsYGTaoZaNxOt5B5C2ycUKPXIOddpi7Me2hR4gmiXpLeQFdAR4cep0I
WM7h6fBR0npVrmDYHBo3VIT5NtoI9171a/pMhX5NpLjnBaQ5SphacXoPxOIaHiaH
YPpldnIKKp2y8LDemkr6/FmhiANLEwlAdZv0JDnwXicEYMsflh2huoZEEIdPr1C+
JWEvXkB3Q3/V2Rw5Gbq5
=iMJH
-----END PGP SIGNATURE-----
--- End Message ---