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

Bug#855242: marked as done (Stretch RC 2 - LVM not booting)



Your message dated Sat, 18 Feb 2017 14:30:14 +0000
with message-id <1487428214.22520.63.camel@decadent.org.uk>
and subject line Re: Bug#855242: Info received (Bug#855242: Acknowledgement (Stretch RC 2 - LVM not booting))
has caused the Debian Bug report #855242,
regarding Stretch RC 2 - LVM not booting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
855242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855242
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports

Boot method: network
Image version: *Debian Installer Stretch RC 2 release
<https://www.debian.org/devel/debian-installer/News/2017/20170202>*
Date: 2017-02-15

Machine: XEN hvm
Processor: i5-4460
Memory: 512 MB
Partitions: see preseed.cfg

Output of lspci -knn (or lspci -nn): n/a

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ ]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [-]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [E]
Overall install:        [E]

Comments/Problems:

System is installing perfectly. But after the installation, when rebooting file systems on the LVM are not found.
I assume that the required module for lvm is not inside the initrd/ramfs created during the installation.

--- preseed.cfg ---

d-i time/zone string Europe/Berlin

d-i mirror/country string Germany
d-i mirror/http/hostname string ftp.de.debian.org
d-i mirror/http/directory string /debian/
d-i mirror/http/proxy string

# Root-Account
d-i passwd/make-user boolean false
d-i passwd/root-password password root
d-i passwd/root-password-again password password

# Partitioning
#my#d-i partman-auto/disk string /dev/xvda  # /dev/xvda vs. /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-md/device_remove_md boolean true

d-i partman-auto/expert_recipe string                         \
      physical-volumes ::                                     \
              100 100 -1 xfs                                  \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /boot }                     \
              .                                               \
              100 1000000000 1000000000 xfs                   \
                      $defaultignore{ }                       \
                      $primary{ }                             \
                      method{ lvm }                           \
                      vg_name{ vg00 }                         \
              .                                               \
      logical-volumes ::                                      \
              512 512 -1 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvroot } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ / } . \

              1024 1024 -1 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvusr } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ /usr } . \

              512 512 -1 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvusrlib } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ /usr/lib } . \

              512 512 -1 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvvar } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ /var } . \

              512 512 -1 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvtmp } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ /tmp } . \

              512 512 -1 linux-swap \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvswap } \
              method{ swap } format{ } . \

              1 1 100000 xfs \
              $lvmok{_} in_vg{ vg00 } lv_name{ lvspare } \
              method{ format } format{ } \
              use_filesystem{ } filesystem{ xfs } \
              mountpoint{ /spare } . 

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true

tasksel tasksel/first multiselect
d-i pkgsel/include string ssh tcpdump iptraf whois sysstat iotop lsof vim less zip unzip mc sudo screen telnet ntpdate dnsutils iperf
d-i base-installer/install-recommends boolean false
d-i popularity-contest/participate boolean false

d-i grub-installer/only_debian boolean true
#my#d-i grub-installer/bootdev  string /dev/xvda  # /dev/xvda vs. /dev/sda
d-i grub-installer/bootdev  string default

d-i finish-install/reboot_in_progress note

--- End Message ---
--- Begin Message ---
On Sat, 18 Feb 2017 14:26:40 +0100 zak-123@plugenjoy.de wrote:
> late-mounting /usr is not the problem, but having /usr/lib in a separate
> volume (see preseed) is no longer working (like in jessie), or not
> pre-mounted from inside the initramfs

I'm somewhat surprised this worked in jessie.  So far as I know it has
never been a supported configuration, and we won't add support for it
now.  (I use a separate /usr/local on some systems, which works for me.
 But /usr/lib, /usr/share, etc... no.)

Ben.

-- 
Ben Hutchings
Knowledge is power.  France is bacon.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: