Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
centos_xen [2016/04/25 16:34] steve |
centos_xen [2016/04/25 16:38] steve |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== CentOS Xen ====== | ====== CentOS Xen ====== | ||
+ | * [[CentOS]] | ||
* [[Xen]] | * [[Xen]] | ||
Line 46: | Line 47: | ||
</code> | </code> | ||
- | That right there is enough to add into your Xen guest config file to get you booted into your ISO. Once you're finished, remove the ''kernel'', ''ramdisk'', ''boot'' entries, and the ISO fro the ''disk'' entry. | + | That right there is enough to add into your Xen guest config file to get you booted into your ISO. Once you're finished, remove the ''kernel'', ''ramdisk'', ''boot'' entries, and the ISO from the ''disk'' entry in your Xen config file. |
Then boot as normal: | Then boot as normal: | ||
Line 55: | Line 56: | ||
That's it! | That's it! | ||
+ | |||
+ | === Using a Kickstarter File === | ||
+ | |||
+ | You can use a [[CentOS Kickstart|kickstarter file]] if you'd like. In the simplest case, you'd normally rebuild an ISO with the ''ks.cfg'' file in the ''/'' directory on the filesystem. That won't work here because we're booting from a kernel outside of that filesystem. You can still tell Xen to use the ''ks.cfg'' file though, by passing it as a string to the kernel boot parameters: | ||
+ | |||
+ | <code> | ||
+ | extra = "ks=cdrom:/ks.cfg" | ||
+ | </code> |