Re: new-kernel-pkg needs to be made Xen-aware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I ran "yum update" the other day on my dom0 and let it pull a new
>> kernel. The RPM install scriptlet runs /sbin/new-kernel-pkg (part
>> of the grubby package) to update grub.conf. It writes a new record
>> to boot the Linux kernel instead of Xen. It would be nice if it
>> noticed that it was running inside Xen and wrote a suitable record
>> for that.

> Same thing happens if you install both java-1.6.0-openjdk and 
> jdk-1.7.0 packages at the same time, the system guesses that 
> whichever one you installed last should be default.
> 
> Delete the non "kernel-xen" kernels, and you should be good to go. 
> for future updates.

Or perhaps change /etc/sysconfig/kernel:
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-xen


/jens

-- 
Jens Larsson, NSC, Linköpings universitet, SE-58183 LINKÖPING, SWEDEN
Phone: +46-13-281432, Mobile: +46-707-980530, E-mail: jens@xxxxxxxxxx
GPG/PGP Key: 1024D/C21BB2C7 2001-02-27 Jens Larsson <jens@xxxxxxxxxx>
Key Fingerprint: BAEF 85CF BF1D  7A69 C965 2EE6  C541 D57F C21B  B2C7
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt





[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux