touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #96837
[Bug 1002258] Re: initramfs-tools: Please support mounting of /usr in the initramfs
This was fixed in Debian in 0.117, we now have this support via
0.120ubuntu1 in Ubuntu.
** Changed in: initramfs-tools (Ubuntu)
Assignee: (unassigned) => Andy Whitcroft (apw)
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1002258
Title:
initramfs-tools: Please support mounting of /usr in the initramfs
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools package in Debian:
Fix Released
Bug description:
Imported from Debian bug http://bugs.debian.org/652459:
Package: initramfs-tools
Version: 0.99
Severity: normal
Tags: patch
Hi,
In order to make the libraries and binaries in /usr available during
early boot, it would be desirable to be able to mount /usr in addition
to the rootfs inside the initramfs.
This patch implements a generic solution into two parts
1) Generation of /etc/fstab in the initramfs, including the rootfs
and all the filesystems desired to be mounted
2) In local mountroot(), rather than just mounting the rootfs, loop
over all mountpoints in /etc/fstab and mount them.
Note that this can replace the ROOT= option with the fstab entry alone,
though if set, ROOT= supercedes the root entry. If the host /etc/fstab
does not contain a root entry, a dummy one is generated to ensure that
the rootfs is always the first entry in the initramfs fstab. This
also means that the rootfs may be mounted with the options in
/etc/fstab.
This isn't intended to apply directly--it's more of a proof of concept.
I've tested the fstab generator; I haven't yet tested local mountroot().
Not being totally familiar with the initramfs internals, it might also
need:
- inclusion of modules for the additional filesystems
- ability to NFS mount filesystems other than the rootfs, i.e.
it might need nfsmount for local (not that this is a useful use
case)
Also note that the initramfs mount option (patch sent upstream) is not
yet in mount(8), and it would need to be before the option could be
used.
Regards,
Roger
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1002258/+subscriptions