|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] misled with Installing xen 3.3.0 onto CentOS 5.2
I put my all braveries to install Xen 3.3.0 on Centos 5.2 although I have no idea at all on how to install kernel on Linux and moreover, installing xen. In this case I am quite newbie. Be honest, I do not know whether to upgrade to Xen 3.3.0, necessary to install both linux-2.6.18-xen.3.3.0. and xen.3.3.0 or JUST xen.3.3.0, SO I decided to install both of them!
I follow the steps from the maillist before and I have no idea how will the end.
I follow the step like following: 1. I download from www.xen.org/download/linux-2.6.18-xen.3.3.0.tar.gz
2. then wget http://bits.xensource.com/oss-xen/release/3.3.0/xen-3.3.0.tar.gz
3. tar -xvf xen-3.3.0.tar.gz and tar -xvf linux-2.6.18-xen.3.3.0.tar.gz
4. cd linux-2.6.18-xen.3.3.0
make menuconfig
----> The menu shown up, and I just checked what I thought was necessary, almost all of them I check it with "M" or "*" randomly and I left it with memory support 64GB for PAE
make modules_install
make install
5. cd xen-3.3.0 make tools make xen make install-tools make install-xen ---> I found something awkward here!! ---> thus, I asked the channel xen in freenode, one operator there asked me to do :
make world ----> afterthat I did like his sayings, to do: make xen make install-xen -----> It seemed working till this step
6. When I did with ls -lu /boot, the result as followings: (the ones with bold are the results from the guidances above)
-rw-r--r-- 1 root root 66216 Oct 31 10:17 config-2.6.18.8-xen -rw-r--r-- 1 root root 65410 Jun 25 20:13 config-2.6.18-92.1.6.el5 -rw-r--r-- 1 root root 65363 Jun 25 20:45 config-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root 65291 Jun 25 21:19 config-2.6.18-92.1.6.el5xen -rw-r--r-- 1 root root 65406 Jun 11 01:14 config-2.6.18-92.el5 -rw-r--r-- 1 root root 65287 Oct 30 18:48 config-2.6.18-92.el5xen drwxr-xr-x 2 root root 4096 Oct 31 04:03 grub
-rw------- 1 root root 2304338 Oct 30 20:09 initrd-2.6.18.8.img -rw------- 1 root root 2406385 Jul 11 02:43 initrd-2.6.18-92.1.6.el5.img -rw------- 1 root root 2406722 Jul 11 02:44 initrd-2.6.18-92.1.6.el5PAE.img
-rw------- 1 root root 2407039 Jul 11 02:44 initrd-2.6.18-92.1.6.el5xen.img -rw------- 1 root root 2406374 Jul 11 02:44 initrd-2.6.18-92.el5.img -rw------- 1 root root 2406990 Oct 30 13:52 initrd-2.6.18-92.el5xen.img
-rw-r--r-- 1 root root 94600 Jan 8 2007 memtest86+-1.65 -rw-r--r-- 1 root root 80032 Nov 23 2007 message -rw-r--r-- 1 root root 91734 Jul 11 02:43 symvers-2.6.18-92.1.6.el5.gz -rw-r--r-- 1 root root 91784 Jul 11 02:42 symvers-2.6.18-92.1.6.el5PAE.gz
-rw-r--r-- 1 root root 93281 Jul 11 02:42 symvers-2.6.18-92.1.6.el5xen.gz -rw-r--r-- 1 root root 91734 Jul 11 02:42 symvers-2.6.18-92.el5.gz -rw-r--r-- 1 root root 93281 Jul 11 02:42 symvers-2.6.18-92.el5xen.gz
lrwxrwxrwx 1 root root 25 Oct 31 12:20 System.map -> /boot/System.map-2.6.18.8 -rw-r--r-- 1 root root 878130 Oct 30 23:16 System.map-2.6.18.8 -rw-r--r-- 1 root root 878130 Oct 30 20:09 System.map-2.6.18.8.old
-rw-r--r-- 1 root root 750884 Oct 31 10:17 System.map-2.6.18.8-xen -rw-r--r-- 1 root root 912900 Jul 11 02:43 System.map-2.6.18-92.1.6.el5 -rw-r--r-- 1 root root 910384 Jul 11 02:43 System.map-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root 908604 Jul 11 02:43 System.map-2.6.18-92.1.6.el5xen -rw-r--r-- 1 root root 912686 Jul 11 02:43 System.map-2.6.18-92.el5 -rw-r--r-- 1 root root 908390 Sep 2 02:05 System.map-2.6.18-92.el5xen
lrwxrwxrwx 1 root root 22 Oct 31 12:20 vmlinuz -> /boot/vmlinuz-2.6.18.8 -rw-r--r-- 1 root root 1709442 Oct 30 23:16 vmlinuz-2.6.18.8 -rw-r--r-- 1 root root 1709442 Oct 30 20:09 vmlinuz-2.6.18.8.old -rw-r--r-- 1 root root 1519078 Oct 31 10:17 vmlinuz-2.6.18.8-xen
-rw-r--r-- 1 root root 1805556 Jun 25 20:13 vmlinuz-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root 1802228 Jun 25 20:45 vmlinuz-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root 2161923 Oct 10 03:02 vmlinuz-2.6.18-92.1.6.el5xen
-rw-r--r-- 1 root root 1806388 Jun 11 01:14 vmlinuz-2.6.18-92.el5
-rw-r--r-- 1 root root 2161376 Oct 30 12:09 vmlinuz-2.6.18-92.el5xen
-rw-r--r-- 1 root root 422458 Oct 31 10:49 xen-3.3.0.gz
lrwxrwxrwx 1 root root 12 Oct 31 12:20 xen-3.3.gz -> xen-3.3.0.gz
lrwxrwxrwx 1 root root 12 Oct 31 12:20 xen-3.gz -> xen-3.3.0.gz
lrwxrwxrwx 1 root root 12 Oct 31 12:20 xen.gz -> xen-3.3.0.gz
-rw-r--r-- 1 root root 328766 Jun 25 19:42 xen.gz-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root 328755 Jun 11 00:42 xen.gz-2.6.18-92.el5
-rwxr-xr-x 1 root root 714720 Jun 25 22:03 xen-syms-2.6.18-92.1.6.el5 <----???? I do not these 3 ones were produced from the steps above or not
-rwxr-xr-x 1 root root 714716 Jun 11 03:07 xen-syms-2.6.18-92.el5 <---- ????
-rw-r--r-- 1 root root 6191224 Oct 31 10:49 xen-syms-3.3.0 <-------?????
7. the result of /etc/grub.conf as following: (the one with bold is the result from above!) -----> there is no xen kernel (2.6.18.8-el5xen) default=4 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu title CentOS (2.6.18.8) root (hd0,0) kernel /boot/vmlinuz-2.6.18.8 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18.8.img title CentOS (2.6.18-92.1.6.el5PAE)
root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.1.6.el5PAE ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-92.1.6.el5PAE.img title CentOS (2.6.18-92.1.6.el5) root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.1.6.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-92.1.6.el5.img title CentOS (2.6.18-92.1.6.el5xen) root (hd0,0) kernel /boot/xen.gz-2.6.18-92.1.6.el5 module /boot/vmlinuz-2.6.18-92.1.6.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-92.1.6.el5xen.img title CentOS (2.6.18-92.el5xen) root (hd0,0) kernel /boot/xen.gz-2.6.18-92.el5 acpi=off module /boot/vmlinuz-2.6.18-92.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-92.el5xen.img title CentOS-base (2.6.18-92.el5) root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-92.el5.img
------------------------------------------------------------------------------------------------------- Until this step, I have no idea what should I do... I have no idea how to edit the grub for the xen 3.3.0 new kernel. According to the guidance, I need to edit myself the initrd..
I've tried it but it failed cause (probably) I am on the 2.6.18-92.el5xen world, thus, it won't be able to produce new initrd for xen 3.3.0 kernel with it. Then, I reboot and went to 2.6.18.8 in case to make initrd but it was unable to continue after entering (like the installation was not completed yet, it was just stucked and asking me to restart). Now the problems are I cannot get into 2.6.18-92.el5xen anymore, it is also stucked
Obviously, just say I do not either how to do it. So what steps am I missing? Thanks before
Best Regards, -- Eric Jansen CentOS Linuxer
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] misled with Installing xen 3.3.0 onto CentOS 5.2,
Eric Jansen <=
|
|
|
|
|