Re: [Xen-users] Trying to install ubuntu 10.04 on centos 5.5 w/ xen4.0
On Sun, Jun 27, 2010 at 2:23 AM, Fajar A. Nugraha <fajar@xxxxxxxxx>
On Sat, Jun 26, 2010 at 2:46 AM, Donny Brooks <dbrooks@xxxxxxxxxxxxxxxx> wrote:
>>> vif = [ 'bridge=br2' ]
Do you have a "br2" on your domU? Is it the correct bridge?
> I added the extra line with the UUID and such and was able to boot the domu.
> However it had no networking other than just localhost. So I also couldn't
> install any other software.
Usually it's easier to just start with using virb0, whicih provides
NAT Network with DHCP. It should just work.
Another alternative is to run "ifconfig -a" on domU and see if there's
an ethernet device showing. If not, try "lsmod" and "modprobe
xen_netfront". If you already have an ethernet device on domU, it's
simply a matter of configuring it as usual.
If you use dedicated /boot as ext3, AND use grub don domU, AND use
>>> Is there an easier way to do this than with the "kernel" and
>>> "ramdisk" options? I don't want to deal with the pygrub issue with grub2
>>> unless I just absolutely have to.
>> - install grub on domU. makes your life easier. The "extra" line above
>> should be whatever that comes after "vmlinuz-2.6.32-22-server" on
>> menu.lst, with the most important ones being "root" and "console"
>> - use pygrub/pv-grub
> If I use pygrub and a dedicated /boot as ext3 should I be ok?
pygrub/pv-grub, it should be OK.
There was a post Xen 4.0 patch that fixes bug related to grub2-Lucid
> Or is the
> grub2 being installed on the domu going to rear it's ugly head again?
As for ext3 vs ext4, AFAIK whether pygrub/pv-grub supports ext4
depends on whether the compiling environment's e2fslib supports ext4
or not. RHEL/Centos by default does not. Since I like to have "/" on
ext4, I compromise by having "/boot" separated as ext3.
for PV domU, you don't REALLY need grub installed. You could just
> how can I install grub on the domu if it won't boot?
start with empty /boot (on ext3), and create a file
OR, since you can already get domU running using kernel on dom0, you
could just get networking up and install grub the normal way.
Yeah. And the silly thing is that Ubuntu's installation does not allow
> When doing the install this way (http) it takes HOURS to complete due to
> some slow internet lines somewhere.
you to specify your own mirror (at least I don't know how) :P
Look at debian/ubuntu preseeding. You can specify it on the boot command line, or specify a preseed file.
These are the settings they expose:
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
#d-i mirror/country string manual
#d-i mirror/http/directory string /ubuntu
#d-i mirror/http/proxy string
I get around that by:
- locating the closest mirror from me
- add an entry to dom0's /etc/hosts. Something like
- do a "pkill -HUP dnsmasq" on dom0, so the running dnsmasq will pick
up the entry
- set up domU to use virbr0 bridge (whose DNS provided by dnsmasq)
- during domU installation, select "us.archive.ubuntu.com"
Xen-users mailing list