-
Notifications
You must be signed in to change notification settings - Fork 139
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
Some images fail to find a rootfs #45
Comments
Okay, thanks to the rubber duck debugging I just did, I realized I haven't tried other The config.vm.provider "libvirt" do |libvirt|
libvirt.disk_bus="sata"
end Similarly, the config.vm.provider "libvirt" do |libvirt|
libvirt.disk_bus="ide"
end I'm not sure what's different on my system that the default disk bus doesn't work, but at least there's some easy solution. |
Thanks @mrc0mmand , I just ran into this (or something very similar) issue with generic/centos7 and generic/oraclelinux7. Setting it to use sata made it work. Interestingly, generic/ubuntu1604 and generic/debian9 worked just fine without me having to make any changes. I'm on Ubuntu 18.04, a 2016 Dell XPS 13 laptop. Just in case it helps someone down the road, here's my Vagrantfile.
|
Got the same issue, solved. Thank you! |
I've run into this issue before, I tried to add mitigations when I hit it, but sadly, I don't have the resources to test every image on every possible host. It seems the images failing to find the If we want to add support for alt controllers to the RHEL/CentOS 7 images, we'd need to update the dracut config, and rebuild the kernel image. I'd accept a patch, if someone wanted to put the time into making that happen. With Arch, it would involve updating the /etc/mkinitcpio.conf config file, and rebuilding the kernel image. That being said, I've added default directives to the Vagrantfile bundled with the some of the boxes, to help mitigate this issue. For example CentOS 7 has On my CentOS 7 host I see:
|
Just FYI, with version 1.9.16 of the CentOS7 box, I had to change 'sata' to 'ide' for it to work. I also tried just commenting the entire |
Hello!
I have a strange issue with the some boxes under libvirt provider. For some reason the box can't find the rootfs after booting up. After spending countless hours rummaging through config files and ending up with reinstalling vagrant, libvirt, and qemu, I still haven't managed to find the root cause.
Current behavior:
This phase never finishes. However, on the serial console initramfs complains about missing rootfs:
![image](https://user-images.githubusercontent.com/679338/54368067-c2821880-4673-11e9-8f07-c665a0d603d2.png)
dmesg tail:
![image](https://user-images.githubusercontent.com/679338/54368639-cc584b80-4674-11e9-8524-b690dea3b02c.png)
I have this issue only on Fedora, the
generic/arch
box works fine on CentOS 7.I'm under impression I keep missing something pretty obvious here, as some boxes work (like
generic/debian9
) and some don't (likegeneric/arch
orgeneric/centos7
).The text was updated successfully, but these errors were encountered: