You are not logged in.
I've created a PKGBUILD to compile a XenLinux 2.6.18.1.
It's almost exactly kernel26 PKGBUILD with one patch from fedora to enable Xen options and an updated config file.
You can find PKGBUILD with patch here :
http://www.ledisez.net/divers/kernel26xen-1.tar.gz (848K)
The binary package for i686 is here :
http://www.ledisez.net/divers/kernel26x … pkg.tar.gz (18M)
This kernel runs fine with Xen 3.0.3 as a dom0 kernel (host). It should run fine as a domU kernel, I have not tested it.
$ uname -a
Linux romain 2.6.18-ARCH-xen #1 SMP Wed Oct 25 20:32:07 CEST 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
I have not modified config file for x86_64 (config.x86_64) because I have not this type of processor. Feel free to give me the updated file, it will be added to the PKGBUILD archive.
I'm not sure to have time to maintain this PKGBUILD. So if somebody is motivated, post a message here. I don't know how to add a PKGBUILD to Aur ? Is this package a good candidate ?
To boot, add to your /boot/grub/menu.lst :
# (1) Xen + Arch Linux
title Xen / ArchLinux [/boot/xen-3.0.3-0.gz + /boot/vmlinuz26xen]
root (hd0,0)
kernel /xen-3.0.3-0.gz dom0_mem=524288
module /vmlinuz26xen root=/dev/sda5 ro vga=794
module /kernel26xen.img
I hope it will save time to you.
(Sorry for my bad and limited English)
Offline
Please post it to AUR!
to live is to die
Offline
Please post it to AUR!
Did you read his post?
He said he doesn't know how to post to AUR, and is not sure if he will have time to maintain it.
ondex, don' submit it to AUR if you will not maintain it, just let someone else submit it if they want to.
[img]http://www.barbarawood.com/guestbook/images/smilies/koolaid.gif[/img]
"Ooooh Yaaaa!"
Offline
Did you read his post?
Sorry, I've missed that line. :oops:
to live is to die
Offline
Nice, I'll install this on my box to get rid of the dev chroots
Offline
Nice, I'll install this on my box to get rid of the dev chroots
I ran xen on my workstation for about 6 months. I eventually decided that xen is not worth the trouble if you don't have a compelling reason to virtualize. I spent an enormous amount of time keeping things stable and working, which would have better spent by simply setting up a few chroots.
I think web hosting shops certainly have a real need for virtualization, but probably not for workstation users... that is unless you have a compelling need for additional complexity and headaches
Offline
ok, next step...how to install guest os?
Offline
Installing guest OS is simple: make a disk image or take care of a spare partition, use the quickinst tool from the setup CD on it and then configure xen to boot that disk image or partition, using the dom0 kernel as kernel.
Offline
@jgc you got it working then?
Mr Green
Offline
Installing guest OS is simple: make a disk image or take care of a spare partition, use the quickinst tool from the setup CD on it and then configure xen to boot that disk image or partition, using the dom0 kernel as kernel.
sorry, can not follow the message, can make some Exp.
Offline
once, have a look here - xen docs for all occasions.
Offline
once, have a look here - xen docs for all occasions.
not much help for wiki tech language for my poor english.
exp. 你看得懂中文字嗎?
Offline
I installed your kernel, but it crashes my Arch domU. My dom0 is openSUSE 10.1 and using SuSE's stock xen kernel boots Arch just fine, though. I can't even kill the domU! "xm destroy arch", "xm shutdown arch" and even "xm list" all fail.
Arch as domU
I used an image from Jailtime.org (CentOS 4.4, although any image will probably do). After I booted the JT domU, I mounted my Arch partition (file) and the Arch install CD in the booted image.
First I extracted the pacman package to the root of the Arch partition:
cp /mnt/loop/arch/pkg/setup/pacman.pkg.tar.gz /mnt/arch
cd /mnt/arch
tar xvzf pacman.pkg.tar.gz
Then I used these commands to extract all packages from base into /mnt/arch. I fucked up somewhere though, because my pacman database wasn't built.
grep base /mnt/loop/arch/pkg/current.db.pkg.tar.gz > /mnt/arch/basepackages
sed -i 's/base///' /mnt/arch/basepackages
for package in `cat /basepackages`; do /mnt/arch/usr/bin/pacman.static -Afd --root=/mnt/arch --config=/mnt/arch/etc/pacman.conf --dbpath=/var/lib/pacman /mnt/loop/arch/pkg/$package; done
Once that's done, edit /etc/fstab and /etc/rc.conf and finally
umount /mnt/arch and /mnt/loop.
Edit Arch's domU config file and include a working Xen-kernel. Then you can boot into Arch.
I corrected the nonexisting pacman DB by once again installing every base package using the little script, with a few modifications:
for package in `cat /basepackages`; do /usr/bin/pacman -Afd /mnt/loop/arch/pkg/$package; done
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline