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
Centos 7 and RHEL 7 PXE Installing fail #1477
Comments
Taken from: https://blog.vladionescu.com/pxe-installing-rhel-7-from-cobbler-2-6/ Adding the following to my RHEL 7 Distro's Kernel Options (kopts) allowed RHEL 7 to successfully PXE! The blank ksdevice= overrides Cobbler's blunder, and inst.repo makes the rest of dracut happy.
Replace 11.11.11.11 with you Cobbler server's IP address, and the rest of the path should point to where you imported your Distro. and taken from my cobbler server:
|
Did you check the link put in "Kernel Options", this exists?, what is your error? My provisioner server is Centos 7, if you read https://blog.vladionescu.com/pxe-installing-rhel-7-from-cobbler-2-6/, it'll do the job |
Did you do?
check the file in
and its content will be something like
The new kernel params will be there! |
yes,I have do "cobbler sync" , but no file named by my mac address .just a file named "default".In this file, I find the content
Is there something wrong? |
check the network if there has other dhcp server |
not possible.Because i use the VirtualBox to test cobbler.And the network Adapter is Host-Only Adapter. |
seem you use centos7.0 , have you try centos7.1 ? |
I am sorry.Is the iso need be this "CentOS-7-x86_64-NetInstall-1503.iso" ,or "CentOS-7-x86_64-DVD-1503.iso" is also okay? |
CentOS-7-x86_64-NetInstall-1503.iso seems can't use , |
OS : CentOS release 6.6 (Final) |
I thought your problem is not the cobbler's problem but the the kickstart's problem , you can just use pxe with ks file install to test if this error appear again , you can try this guide |
That could be. Thank you ,i will try. |
pxe need a kickstart file , you can use " system-config-kickstart " to create . |
and have you try other vm software ? like vmware kvm . or Physical machine? |
Firxiao: a kickstart file is not required to boot a system via network using Cobbler (aka "pxe") robert-xiong: the issue tracker is not a forum, use the Cobbler mailing list (cobbler@lists.fedorahosted.org) to post questions to Cobbler users and developers |
alanoe: I just try leave kickstart file blank and add kernel options , It worked. but no kernel option and no kickstart file, it not worked. |
robert-xiong: in your last image , I have seen " rtnetlink answer file exits " , might there has duplicate route. could you issue " less /run/initramfs/rdsosreport.txt " , go to last page check what happen |
I don't know the reason in particular, but if you have multiple NICs on the server you are trying to kick-start you might need to put ksdevice=link in the kernel options, its what I had to do. |
The problem is fixed.It should be the VirtualBox doesn't support the CentOS 7.0 boot from network.When I used the Physical machine,the problem is gone.Thank all you guys. |
In my case, using |
I am using centos 7 in physical machine. Unfortunately I partition the /dev/sda2 disk which contains /root/swap/home system directories so it showing this errors, Dracut Error: [ OK ] Reached target Paths. Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. dracut# Anybody know how to fix the problem,please help me. |
It seems correlated to the default kickstart file (
|
Thank you for all the people here, your discussion helped me solve the problem that has plagued me for a long time. Above from google translation, Thank you from IT Engineer in China. |
This can be caused by lack of RAM on your VM, 1024 is not enough. Had the same error and increasing RAM helped me. My ksdevice is bootip and ks file is original, I haven't modified it, boot imge done from CentOS 7 64bit netinstall. |
Yes,the 'hellth' 👍 ,it is rigtht! I suffer the same problem for a half year ! I got the same error like rebert-xiong everytime I tried until read this answer searched by Google. |
So, not a bug. |
@hellth thanks u so much!!! I cannot believe !! I had tried many times before read your cmt.. thanks u so so so muchh... |
i got this error, when i used maas to deploy centos7. but target machine is just Physical machine, DELL server. i feel so sad, and i have no idea how to solve this problem . |
THK, it works |
I have same problem, did you sovle it? |
When PXEing RHEL 7 from Cobbler 2.6.7 my host would load all the way to dracut, at which point I got the dreaded /dev/root error.
Cobbler Tested:
I have the problem described here and used his solution and this do the work!
Here is describe the problem and solution: https://blog.vladionescu.com/pxe-installing-rhel-7-from-cobbler-2-6/
Thanks to Vlad Ionescu for his job and his blog!.
The text was updated successfully, but these errors were encountered: