Description of problem:
In RHEL 7.3 and Fedora 25, install livecd-tools-20.4-1.6.el7_2.x86_64,
using command livecd-iso-to-disk to write RHVH 4.1 iso to USB failed, error message are as following:
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
device node not found
Cleaning up to exit...
In Fedora 25, if install livecd-tools-23.4.1.fc25.x86_64,
it can write RHVH 4.1 iso to USB successfully using livecd-iso-to-disk, but boot from USB failed with error message:
Failed to load ldlinux.c32
Boot failed: please change disks and press a key to continue.
Version-Release number of selected component (if applicable):
livecd-tools-20.4-1.6.el7_2.x86_64 (RHEL 7.3, Fedora 25)
livecd-tools-23.4.1.fc25.x86_64 (Fedora 25)
Steps to Reproduce:
1. Install livecd-tools-20.4-1.6.el7_2.x86_64 on RHEL 7.3
2. Insert USB, and run command:
livecd-iso-to-disk --format --reset-mbr RHVH-4.1-20170109.0-RHVH-x86_64-dvd1.iso /dev/sdb
1. After step2, write USB failed with message "device node not found"
1. After step2, the USB is set up with a live image, and this USB can be used to install RHVH 4.1 on a server successfully.
We had similar issue in bug #1370076. Please try to reproduce.
I managed to reproduce the second bug (Failed to load ldlinux.c32), but not the first one (device node not found).
It happens for both RHVH iso and other isos as well (Fedora). The problem is that livecd-iso-to-disk uses mke2fs to create a fs on the target device with an attribute of 64bit, which syslinux does not support:
To solve this, you'd need to run the following after livecd-iso-to-disk:
e2fsck -f /dev/sdb1
resize2fs -b /dev/sdb1
(In reply to Yuval Turgeman from comment #2)
> I managed to reproduce the second bug (Failed to load ldlinux.c32), but not
> the first one (device node not found).
> It happens for both RHVH iso and other isos as well (Fedora). The problem
> is that livecd-iso-to-disk uses mke2fs to create a fs on the target device
> with an attribute of 64bit, which syslinux does not support:
> To solve this, you'd need to run the following after livecd-iso-to-disk:
> e2fsck -f /dev/sdb1
> resize2fs -b /dev/sdb1
resize2fs -s /dev/sdb1 rather...
*** This bug has been marked as a duplicate of bug 1417664 ***
cmd "livecd-iso-to-disk --format --reset-mbr RHVH.iso /dev/sdx" still returns "device node not found" in RHEL 7.3 with livecd-tools-20.4-1.6.el7_2.x86_64.
"livecd-iso-to-disk" without parameters "--format --reset-mbr" could succeed, but there is another bug 1440075.
QE will mainly focus on "livecd-iso-to-disk" in RHEL, not in Fedora. So reopen this bug to track "livecd-iso-to-disk" with "--format --reset-mbr" in RHEL.
Qin, if we still see this issue with RHEL's livecd-tools-20.4-1.6.el7_2.x86_64 please clone bug #1417664 to RHEL.
There's nothing we can do on Node side for this.
As cmd "dd" is the recommended way to write RHVH iso to USB stick, we won't cover "livecd-iso-to-disk" any more.