[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Trying to set-up DomU CentOS 7, but get Warning: /dev/root does not exist
----- Original Message ----- > From: Chris <chris@xxxxxxxxx> > To: Ian Murray <murrayie@xxxxxxxxxxx> > Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx> > Sent: Friday, 11 July 2014, 19:49 > Subject: Re: [Xen-users] Trying to set-up DomU CentOS 7, but get Warning: > /dev/root does not exist > > Le 11/07/2014 16:16, Ian Murray a écrit : > >> I'm trying to set-up a ContOS 7 DomU server. I have used the PXE set-up > images like I normally would for earlier versions of CentOS. >> >> Here is my config file:- >> >> name = "centos7" >> memory = 2048 >> disk = ['phy:/dev/xen6/centos7,xvda,w' ] >> vif = [ 'mac=xx:xx:xx:xx:xx:xx' ] >> kernel = "/root/xen/centos7-64/vmlinuz" >> ramdisk = "/root/xen/centos7-64/initrd.img" >> vcpus = 2 >> on_reboot = 'destroy' >> on_crash = 'preserve' >> >> Starting the DomU would normally take me to the non-graphical install. >> >> However, with CentOS 7, boot crashes out with.... >> >> [ OK ] Reached target Basic System. >> dracut-initqueue[555]: Warning: Could not boot. >> dracut-initqueue[555]: Warning: /dev/root does not exist >> Starting Dracut Emergency Shell... >> Warning: /dev/root does not exist >> >> Generating "/run/initramfs/rdsosreport.txt" >> >> >> Entering emergency mode. Exit the shell to continue. >> Type "journalctl" to view system logs. >> You might want to save "/run/initramfs/rdsosreport.txt" to a USB > stick or /boot >> after mounting them and attach it to a bug report. >> >> >> dracut:/# >> >> >> Some googling suggests this is also a problem with USB install and is to do > with device labels, but I don't know what that means in my context. >> >> Any suggestions on how to fix this or (at least work around it), would be > much appreciated. >> >> Thanks, >> <Snip> > > Hello, > > I encountered the same error. > According to > https://alteeve.ca/w/Setting_Up_a_PXE_Server_on_an_RPM-based_OS#Labels_For_Fedora_17.2B > > > , you have to add an initrd argument "inst.repo". > For example on my pxe/tftp server (pxelinux.cfg/default) : > > kernel centos7/vmlinuz > append initrd=centos7/initrd.img > inst.repo=http://ftp.ciril.fr/pub/linux/centos/7/os/x86_64 > > Regards, > > Chris > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxx > http://lists.xen.org/xen-users > Hi, Thanks for the help. This seems to have done the trick. I added... extra = "inst.repo=http://ftp.ciril.fr/pub/linux/centos/7/os/x86_64" to my Xen config file and the installation started up as expected. Thanks again, Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |