RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1449410 - Add NTFS support to 90dmsquash-live module
Summary: Add NTFS support to 90dmsquash-live module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1420851 1466365
TreeView+ depends on / blocked
 
Reported: 2017-05-09 21:54 UTC by Robert Scheck
Modified: 2021-06-10 12:18 UTC (History)
6 users (show)

Fixed In Version: dracut-033-534.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 18:07:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0964 0 None None None 2018-04-10 18:10:22 UTC

Description Robert Scheck 2017-05-09 21:54:57 UTC
Description of problem:
Currently, dracut does unfortunately not support booting from USB media with 
NTFS filesystem, only FAT32. This however gets relevant if e.g. the RHEL 7
installation image is written using a USB creator to a USB flash drive (the
repodata files are getting invalid due to filename length restrictions).

I already wrote a hackish patch to support booting from USB media with NTFS 
filesystem (optionally), which also removes the FAT32 related 4 GB file size 
limit for LiveOS/squashfs.img (and any other file on the same USB media).

Version-Release number of selected component (if applicable):
dracut-033-463.el7.x86_64

Actual results:
No support for booting from NTFS in dracut.

Expected results:
At least optional support for booting from NTFS in dracut. This allows to
regenerate the initramfs myself when having ntfsprogs (from EPEL) installed.

Additional info:
My hackish patch: https://github.com/dracutdevs/dracut/pull/191 - but no
feedback from upstream for 4+ months now.

Comment 2 Robert Scheck 2017-05-09 22:11:12 UTC
Cross-filed case 01846412 on the Red Hat customer portal.

From my point of view, that feature would be also helpful for Fedora ;-)

Comment 3 Harald Hoyer 2017-06-29 09:17:39 UTC
(In reply to Robert Scheck from comment #2)
> Cross-filed case 01846412 on the Red Hat customer portal.
> 
> From my point of view, that feature would be also helpful for Fedora ;-)

sorry.. looking into it

Comment 7 Robert Scheck 2017-08-22 21:50:11 UTC
My pull request was merged into dracut 046 meanwhile, thus there is now a pull
request for RHEL-7 branch: https://github.com/dracutdevs/dracut/pull/271

Comment 8 Robert Scheck 2017-08-22 21:52:41 UTC
My expectation is that my pull request from comment #7 gets part of the
next dracut update in RHEL 7.x, ideally 7.5.

Comment 12 Jiri Kortus 2018-01-11 10:41:51 UTC
I was not able to successfully verify this BZ on dracut-033-523.el7.x86_64. I tried to build a live medium using livemedia-creator, with additional dracut parameter to include the dmsquash-live-ntfs module, but initramfs could not be built, because dracut couldn't find the 90dmsquash-live module. This is caused by depends() function in module-setup.sh returning "90dmsquash-live", however supposedly it should return "dmsquash-live". With such a modification the initramfs (and the live ISO) could be built successfully.

Then I just copied content of the live ISO to an NTFS partition and tried to boot from it using grub from installed system together with the live initramfs, however this time booting failed due to missing find_binary function (missing dracut-functions script) that is required by dmsquash-live module (in dmsquash-live-root.sh). So I guess this needs to be fixed, unless I made some mistake in the process.

Comment 14 Robert Scheck 2018-01-11 11:27:37 UTC
Seeing "ON_QA → ASSIGNED" rather "ON_QA → VERIFIED" - is there an issue?

Comment 15 Lukáš Nykrýn 2018-01-11 11:46:10 UTC
I don't think there is anything secret in comment 12, so removing the private flag.

Comment 16 Lukáš Nykrýn 2018-01-11 12:20:39 UTC
https://github.com/dracutdevs/dracut/pull/352

Comment 17 Robert Scheck 2018-01-11 12:33:19 UTC
Lukáš, thank you very much for taking care. Looks like this was overlooked
when my initial PR/master got accepted.

Comment 18 Lukáš Nykrýn 2018-01-11 12:34:29 UTC
No problem :-)
And also we need 
https://github.com/dracutdevs/dracut/pull/353

Comment 23 errata-xmlrpc 2018-04-10 18:07:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0964


Note You need to log in before you can comment on or make changes to this bug.