Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
system_rescue_cd_xen [2016/07/14 17:46]
steve
system_rescue_cd_xen [2016/07/14 17:49]
steve
Line 95: Line 95:
 <​code>​ <​code>​
 disk = ['​file:/​etc/​xen/​isos/​sysresccd-20160714-2242.iso,​xvdc:​cdrom,​r'​] disk = ['​file:/​etc/​xen/​isos/​sysresccd-20160714-2242.iso,​xvdc:​cdrom,​r'​]
 +</​code>​
 +
 +If you're adding other drives to access from the CD (which you most likely are), then you'll need to tell the config to boot from the CD drive first:
 +
 +<​code>​
 +boot = '​c'​
 </​code>​ </​code>​
  
Line 106: Line 112:
  
 Boot into the ISO, and you'll now be good to go! Boot into the ISO, and you'll now be good to go!
 +
 +<​code>​
 +xl create /​etc/​xen/​configs/​sysresccd -c
 +</​code>​
  
 From the kernel parameters earlier, one way you can make your life simpler is by having the OS send a DHCP request to get on the network. Just add ''​dohcp''​ to the extra parameters as well as setting the root password, then you could SSH into the new guest. From the kernel parameters earlier, one way you can make your life simpler is by having the OS send a DHCP request to get on the network. Just add ''​dohcp''​ to the extra parameters as well as setting the root password, then you could SSH into the new guest.
Line 116: Line 126:
 ramdisk = '/​etc/​xen/​kernels/​sysresccd/​initram.igz'​ ramdisk = '/​etc/​xen/​kernels/​sysresccd/​initram.igz'​
 extra   = '​dodhcp setkmap=us scandelay=5 rootpass=rescue'​ extra   = '​dodhcp setkmap=us scandelay=5 rootpass=rescue'​
-disk    = ['​file:/​tmp/​sysresccd-20160714-2331.iso,​xvdd:cdrom,r','​phy:/​dev/​vg0/​lvol0,​xvda,​rw']+disk    = ['​phy:/​dev/​vg0/​lvol0,​xvda,​rw',​'​file:/​tmp/​sysresccd-20160714-2331.iso,​xvdc:​cdrom,​r'​]
 boot    = '​c'​ boot    = '​c'​
 memory ​ = 1024 memory ​ = 1024