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

Re: Suggestion for systemd and /usr on seperate partition




On 2/11/14 8:58 am, Elimar Riesebieter wrote:
> * David Baron <d_baron@012.net.il> [2014-11-01 19:13 +0200]:
> 
>> On Friday 31 October 2014 13:08:27 Elimar Riesebieter wrote:
> 
> [...]
> 
>>> It's your decision. MODULES=most should be okay. BUSYBOX=y is
>>> essential.
>>
>> This is what the install gave me.  I have not touched it.
>> Where do I tell it to mount /usr?
> 
> No need to. initramfs-tools does it by default. Check dmesg or
> journal.

Still today, it fails to mount /usr if /usr is a logical volume using lvm2


I worked around that problem with an extra "activate" line in the following file:

   /usr/share/initramfs-tools/scripts/local-top/lvm2

       activate "/dev/mapper/vg0-usr"


I placed that after the line to activate ROOT....

So, still broken after all this time :(



# dpkg-query -l |grep initramfs
ii  initramfs-tools                        0.133+deb10u1                      all          generic modular initramfs generator (automation)
ii  initramfs-tools-core                   0.133+deb10u1                      all          generic modular initramfs generator (core tools)
ii  libklibc:amd64                         2.0.6-1                            amd64        minimal libc subset for use with initramfs



# aptitude show initramfs-tools initramfs-tools-core
Wed  8 Jul 00:40:15 AEST 2020 -- show initramfs-tools initramfs-tools-core
Package: initramfs-tools
Version: 0.133+deb10u1
State: installed
Automatically installed: no
Multi-Arch: foreign
Priority: optional
Section: utils
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Architecture: all
Uncompressed Size: 114 k
Depends: initramfs-tools-core (= 0.133+deb10u1), linux-base
Suggests: bash-completion
Conflicts: linux-initramfs-tool, usplash (< 0.5.50)
Breaks: e2fsprogs (< 1.42.13), initscripts (< 2.88dsf-59.3~), upstart
Provides: linux-initramfs-tool
Description: generic modular initramfs generator (automation)

Tags: admin::boot, admin::filesystem, admin::install, admin::kernel, devel::lang:c, devel::library, implemented-in::c, implemented-in::shell, interface::commandline,
role::devel-lib, role::program, scope::application, scope::utility, works-with::archive

Package: initramfs-tools-core
Version: 0.133+deb10u1
New: yes
State: installed
Automatically installed: yes
Multi-Arch: foreign
Priority: optional
Section: utils
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Architecture: all
Uncompressed Size: 213 k
Depends: klibc-utils (>= 2.0.4-8~), cpio (>= 2.12), kmod, udev, coreutils (>= 8.24), e2fsprogs
Recommends: busybox (>= 1:1.22.0-17~) | busybox-static (>= 1:1.22.0-17~), pigz
Suggests: bash-completion
Breaks: busybox (< 1:1.22.0-17~), busybox-static (< 1:1.22.0-17~), initramfs-tools (< 0.121~)
Replaces: initramfs-tools (< 0.121~)
Description: generic modular initramfs generator (core tools)



This is a system now running Devuan Beowulf btw, but it gets most of it's packages directly from Debian repos.


A.



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: