-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rdcore bind-boot
fails with "Error: Expected one vendor dir"
#1116
Comments
This can help figuring out what went wrong. Related: coreos/fedora-coreos-tracker#1116
Can you provide the full logs of the failing boot?
The double reboot here is expected. During the first reboot, no logs are available because the console kargs haven't been added yet. Very early, Ignition applies them and immediately reboots again. You can avoid the double reboot by having coreos-installer itself perform the karg modifications (using
This error comes from the first boot trying to "bind" the bootloader with the bootfs. The error message here is not super helpful (improvement in coreos/coreos-installer#796), but it's saying that there are multiple directories in the EFI partition. This is not the case in the FCOS EFI partition. Are there any other disks connected to the systems with a |
rdcore bind-boot
fails with "Error: Expected one vendor dir"
Yea I figured the double boot was not the issue. There are 3 disks I have attached to the system, but I have also tried completely disconnecting the other 2 before boot, same result. I will try to get the logs, I am on a iDRAC with serial redirection and they look pretty rough. From the emergency shell in the initrd, I see only the labels made by the installer:
We have 3 partitions there related to booting, and the error is referring only to /dev/sda2. I have tried booting the system both with EFI and with BIOS booting, same outcome. |
Interesting, thanks for testing that.
From the emergency shell, can you mount |
Here you go:
Sorry I've had a silly time getting the boot log off the box, I just need to find a USB stick or something. EDIT:
So - what adds that? |
I have tried to just delete that |
Ahh nice. Yup, this is the issue. We currently don't expect that.
Information on this is really scarce, so I can't say for sure, but yes it does smell a lot like a magic Dell thing. Anyway, we should be more lax on our side here given this information, so I'll look at tweaking our heuristics. |
On some Dell machines at least, something (UEFI firmware?) creates a `Dell` directory in the `EFI` dir. This throws off our logic here which expects only a single vendor dir. Let's tweak the logic so that we only consider a "vendor dir" a directory which has a `grub.cfg`. Closes: coreos/fedora-coreos-tracker#1116
|
This issue is also happening on Dell PowerEdge R630 and R640. |
hey @jlebon any word on when coreos/coreos-installer#802 is getting in? I had to fall back to a different OS for this class of host and I would like to get them all homogenous. |
Hi @iluminae, apologies for the delay. We had some CI issues but they should be fixed now. |
The fix for this went into |
Issue occurring on FC640 and MX740c as well but tested with testing release mentioned on FC640 and seems to be fixed. |
Thanks for reporting the info and success @log1cb0mb! |
The fix for this went into |
Describe the bug
After install via PXE on some host models, encountering:
Error: Expected one vendor dir on /dev/sda2, got 2
after reboot. I have 4 hosts, 2 poweredge r415 and 2 poweredge r210 II. This issue is happening on both r210s, but the same process works on the r415s.Reproduction steps
Steps to reproduce the behavior:
console=ttyS1,115200n8 coreos.live.rootfs_url=%s coreos.inst.install_dev=%s coreos.inst.ignition_url=%s
Expected behavior
After reboot, I expect it to boot.
Actual behavior
Install appears fine, triggers reboot, boots with no output and reboots again, then boots into an error:
coreos-boot-edit[900]: Error: Expected one vendor dir on /dev/sda2, got 2
.System details
Ignition config
The text was updated successfully, but these errors were encountered: