Bug 706122
| Summary: | USB overlay (persistent storage) not being mounted | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul Blankenbaker <paul.blankenbaker> | ||||
| Component: | dracut | Assignee: | Harald Hoyer <harald> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | blackcode, harald, jlaska, jonathan, satellitgo | ||||
| Target Milestone: | --- | Keywords: | CommonBugs | ||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | https://fedoraproject.org/wiki/Common_F15_bugs#live-overlay | ||||||
| Fixed In Version: | dracut-009-11.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-05-26 21:50:47 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Paul Blankenbaker
2011-05-19 14:43:04 UTC
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root
index f7498f2..4d1d902 100755
--- a/modules.d/90dmsquash-live/dmsquash-live-root
+++ b/modules.d/90dmsquash-live/dmsquash-live-root
@@ -86,9 +86,9 @@ do_live_overlay() {
setup=""
if [ -n "$devspec" -a -n "$pathspec" -a -n "$overlay" ]; then
mkdir -m 0755 /run/initramfs/overlayfs
- mount -n -t auto $devspec /overlayfs || :
- if [ -f /overlayfs$pathspec -a -w /overlayfs$pathspec ]; then
- losetup $OVERLAY_LOOPDEV /overlayfs$pathspec
+ mount -n -t auto $devspec /run/initramfs/overlayfs || :
+ if [ -f /run/initramfs/overlayfs$pathspec -a -w /run/initramfs/overlayfs$pathspec ]; then
+ losetup $OVERLAY_LOOPDEV /run/initramfs/overlayfs$pathspec
if [ -n "$reset_overlay" ]; then
dd if=/dev/zero of=$OVERLAY_LOOPDEV bs=64k count=1 2>/dev/null
fi
This dracut update would fix the issue. http://harald.fedorapeople.org/downloads/dracut/dracut-009-11.fc15/ You could replace the initramfs on the USB stick with a new generated one. Care to test it? Bottom line: Your update fixed the issue I was seeing and this ticket can be closed as far as I am concerned. Here's the details of what I did to test your update: 1. I downloaded your updated RPM: http://harald.fedorapeople.org/downloads/dracut/dracut-009-11.fc15/dracut-009-11.fc15.noarch.rpm 2. I placed your updated RPM into the yum repository directory (yum/repo/noarch) that is created when building the Network Security Toolkit ISO image (a distribution based on Fedora). 3. I built the "minimal" NST ISO image using the command: (cd livecd; make iso-minimal). This takes about 30 minutes in my environment. 4. I verified in the log file that the new dracut package was picked up and installed in the new ISO image. On a side note, I've been noticing the following message when dracut is added during livecd-creator builds (it suggests to me that someone else is producing a dracut.conf file - not that there is necessarily anything wrong with that, just something I noticed): Installing: plymouth-scripts ##################### [499/827] warning: /etc/dracut.conf created as /etc/dracut.conf.rpmnew Installing: dracut ##################### [500/827] 5. I used the LiveUSB Creator tool to install the ISO image to a USB memory stick and enabled a 256MB persistent overlay. 6. I booted a machine using the USB memory stick (did not see error message about missing /overlayfs anymore). 7. I modified the /etc/hosts file (just added a line) 8. I rebooted the system (did not see error message about missing /overlayfs anymore) 9. When I looked at the /etc/hosts file, my modifications were still there (persisted in the overlay file). So, things seem to be working again related to the live USB overlay filesystem as far as I am concerned and this ticket can be closed as far as I am concerned. dracut-009-11.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/dracut-009-11.fc15 on Live USB Boot: /run/initramfs/overlayfs: not mounted I have bugzilla and cannot find liveusb-creator in listings for f15. I just tested liveusb-creator-3.11.0-1.fc15(noarch) and it does not find the persistence file even though it writes it. written in f15 gnome3-shell to USB with post release of f15-live-Desktop.iso I cannot file in bugzilla as it is not in lists Package dracut-009-11.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dracut-009-11.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/dracut-009-11.fc15 then log in and leave karma (feedback). No package dracut-009-11.fc15 available Documented as a Fedora 15 CommonBug - https://fedoraproject.org/wiki/Common_F15_bugs#live-overlay Created attachment 500821 [details]
There was a problem executing the following command: `cp /tmp/tmpNWa5yR/LiveOS/squashfs.img '
liveusb-creator in gnome3-shell
updated 05/25/2011:
Downloaded fedora-15-i686-live-Desktop from menu
see attachment for liveusb-creator.log
There was a problem executing the following command: `cp /tmp/tmpNWa5yR/LiveOS/squashfs.img '/media/6212-7F24/LiveOS/squashfs.img'`
(In reply to comment #8) > No package dracut-009-11.fc15 available you have to wait until the mirrors sync and please file bugs against liveusb-creator in a separate bugzilla! (In reply to comment #6) > on Live USB Boot: > /run/initramfs/overlayfs: not mounted > > I have bugzilla and cannot find liveusb-creator in listings for f15. Search harder! (In reply to comment #12) > (In reply to comment #6) > > on Live USB Boot: > > /run/initramfs/overlayfs: not mounted > > > > I have bugzilla and cannot find liveusb-creator in listings for f15. > > Search harder! I cannot file the bug as liveusb-creator is not on dropdown lists to file against in Bugzilla listing from gnome3-shell install. I see it in search field but no way to file bug from search that I could find. (nubie) (In reply to comment #13) > I cannot file the bug as liveusb-creator is not on dropdown lists to file > against in Bugzilla listing from gnome3-shell install. I see it in search field > but no way to file bug from search that I could find. (nubie) I'm not sure why you wouldn't be seeing it. liveusb-creator is listed in the bugzilla component drop-down list for product=Fedora. https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=15&component=liveusb-creator *** Bug 707697 has been marked as a duplicate of this bug. *** dracut-009-11.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 707414 has been marked as a duplicate of this bug. *** |