<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><p id="bloop_customfont" style="font-family:Verdana,Arial;font-size:13px; margin: 0px; line-height: auto;">Great work Steve! Thank you! This was always a PITA when it came to upgrading. Will try and give it a test soon.&nbsp;</p> <br><div class="" id="bloop_sign_1371836622792608000"><span style="font-family:helvetica,arial;font-size:13px"></span>--<br><font color="#909090" face="Verdana">Joe Fialkowski</font><div><font color="#909090" face="Verdana">ZoomCloud.net</font></div><div><font color="#909090" face="Verdana">Dedicated • VPS • Hosting</font></div></div><p style="color:#A0A0A8;">On June 21, 2013 at 1:00:57 PM, Steven Haigh (netwiz@crc.id.au) wrote:</p> <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div>Hi all,
<br>
<br>kernel-xen-3.9.7-1 marks the first package with scripting to  
<br>automatically configure Xen in /etc/grub.conf.
<br>
<br>We look through /etc/grub.conf to see if there is an existing xen.gz  
<br>line - if so, we use the same line for the new kernel. If not, I use a  
<br>semi-sane set of defaults.
<br>
<br>We look for the specific vmlinuz and initramfs lines, then substitute  
<br>the text for kernel -&gt; module and initrd -&gt; module. This means the  
<br>generated grub.conf stanza looks something like this:
<br>
<br>title Scientific Linux (3.9.7-1.el6xen.x86_64)
<br>         root (hd0,0)
<br>         kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1  
<br>dom0_vcpus_pin
<br>         module /vmlinuz-3.9.7-1.el6xen.x86_64 ro  
<br>root=/dev/vg_raid1/xenhost rd_LVM_LV=vg_raid1/xenhost  
<br>rd_MD_UUID=afb92c19:b9b1e3ae:07af315d:738e38be rd_NO_LUKS rd_NO_DM  
<br>LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us  
<br>crashmodule=auto quiet panic=5
<br>         module /initramfs-3.9.7-1.el6xen.x86_64.img
<br>
<br>Testing is appreciated. You should check your grub.conf for correctness  
<br>before rebooting.
<br>
<br>Packages available from:
<br>http://au1.mirror.crc.id.au/repo/el6/testing/
<br>
<br>--  
<br>Steven Haigh
<br>
<br>Email: netwiz@crc.id.au
<br>Web: https://www.crc.id.au
<br>Phone: (03) 9001 6090 - 0412 935 897
<br>Fax: (03) 8338 0299
<br>_______________________________________________
<br>kernel-xen mailing list
<br>kernel-xen@lists.wireless.org.au
<br>https://lists.wireless.org.au/mailman/listinfo/kernel-xen
<br></div></span></blockquote></body></html>