Description of problem: Please extend functionality to support getting LiveOS image through nfs. Now it support http, https and ftp. Version-Release number of selected component (if applicable): dracut-013-18.el7.noarch.rpm Actual results: Dracut doesn't support getting LiveOS image using nfs Expected results: Dracut will support getting LiveOS using nfs, http, https and ftp. Additional info: Here is the commit for http, https and ftp: http://git.kernel.org/?p=boot/dracut/dracut.git;a=commit;h=6d2a79432b5573b257886c56f8c198fcb509493e
Will this also go to F17?
It's also in https://admin.fedoraproject.org/updates/dracut-016-9.git20120217.fc17
dracut-016-9.git20120217.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dracut-016-9.git20120217.fc17
Hello Harald, I was trying to get it working today. I made it work if I mounted rootfs.img (which is in squashfs.img) to LiveOS folder and exported this folder via nfs. Then I add this to cmdline: root=nfs:server:path. What we need is to give dracut path to squashfs.img file, and dracut should handle it. I was trying to do this, but dracut refused to continue. I'm thinking about something like: root=live:nfs:server:path/squasfs.img. Are you able to add this functionality? Thank you, Martin
might already work: root=live:nfs://server:path/squasfs.img
It's not working with: dracut-016-9.git20120217.el7.noarch.rpm [ 89.558344] dracut Warning: Unable to process initqueue dracut Warning: Unable to process initqueue [ 89.558731] dracut Warning: dracut: FATAL: failed to download live image: error 1 dracut Warning: dracut: FATAL: failed to download live image: error 1 [ 89.558922] dracut Warning: dracut: Refusing to continue dracut Warning: dracut: Refusing to continue [ 89.559181] dracut Warning: /dev/root does not exist dracut Warning: /dev/root does not exist [ 89.559648] dracut Warning: Signal caught! dracut Warning: Signal caught! [ 89.559986] dracut Warning: dracut: FATAL: failed to download live image: error 1 dracut Warning: dracut: FATAL: failed to download live image: error 1 [ 89.560179] dracut Warning: dracut: Refusing to continue dracut Warning: dracut: Refusing to continue [ 89.560430] dracut Warning: /dev/root does not exist dracut Warning: /dev/root does not exist
oh.. can you try with "rd.neednet=1 ip=dhcp" added?
dracut-016-9.git20120217.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
Tried with "ip=dhcp rd.neednet=1" on the command line, but no success. Kernel command line: root=live:nfs://server:/some/path/ppc64/os/LiveOS/squashfs.img ip=dhcp rd.neednet=1 lang=en_US.UTF-8 keymap=us ksdevice=ea:07:9e:21:59:04 ... [ 77.668279] dracut Warning: Unable to process initqueue dracut Warning: Unable to process initqueue [ 77.668682] dracut Warning: dracut: FATAL: failed to download live image: error 1 dracut Warning: dracut: FATAL: failed to download live image: error 1 [ 77.668889] dracut Warning: dracut: Refusing to continue dracut Warning: dracut: Refusing to continue [ 77.669154] dracut Warning: /dev/root does not exist dracut Warning: /dev/root does not exist dracut version: dracut-016-9.git20120217.el7
Created attachment 567023 [details] patch proposal Proposing a patch to fix mounting an image via nfs. Tested with dracut-016-9.git20120217.el7 + patch cmdline: root=live:nfs://10.16.105.192:/srv/all/install.img ... Ý 22.638272¨ dracut: fetching nfs://10.16.105.192:/srv/all/install.img Ý 22.654862¨ FS-Cache: Loaded Ý 22.688988¨ FS-Cache: Netfs 'nfs' registered for caching Ý 23.185513¨ squashfs: version 4.0 (2009/01/31) Phillip Lougher Ý 23.237941¨ EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null) Ý 23.247038¨ dracut: Mounted root filesystem /dev/mapper/live-rw //lib/dracut/hooks/pre-pivot/50mount-usr.sh: line 9: /sysroot/etc/fstab: No such file or directory rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w" Ý 23.614361¨ dracut: Switching root Starting the zSeries initrd to configure networking. Version is 1.2 mount: proc already mounted Starting udev... ...
dracut-017-22.git20120302.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dracut-017-22.git20120302.fc17
dracut-017-39.git20120308.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dracut-017-39.git20120308.fc17
dracut-017-40.git20120308.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dracut-017-40.git20120308.fc17
dracut-017-40.git20120308.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.