[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


  • To: Chris <chris@xxxxxxxxx>
  • From: Ian Murray <murrayie@xxxxxxxxxxx>
  • Date: Mon, 14 Jul 2014 11:49:02 +0100
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 14 Jul 2014 10:50:11 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; b=khhYhQXMtrXUw7yc2rfyj3dfrELcTE86M24xyQGiTreQ5OYlpNHGp7klnGpwuyBo+WbgQaORLCDCRNogmYn1+0/1q49GcrjxDx4nXZJZxPVhZ7H0En+ykTpKw0oYwXT8k0A+hmY54XW0edqPwdUIZxrEuAMSLvm8kA9dDqBg6oA=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>




----- 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.