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

[Xen-users] Re: Ubuntu 11.04 64-bit HVM on xen-unstable 23842



Why ubuntu as hvm domu and not pv?
I have installed Natty as pv, with official netinstall take here:
http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/current/images/netboot/xen/
Have 2 problem on install solved:
On network interfaces detection failed select "go back" select execute
shell, insert this command:
modprobe xen-netfront
exit
select "Detect network hardware"
continue with normal install and at bootloader problem select to continue
without bootloader.
At install complete mount domu disk with -o loop on dom0 and create file for
pygrub, for example:
mkdir /mnt/tmp/boot/grub
vi /mnt/tmp/boot/grub/menu.lst #check always kernel version
----------------------------------------------------------
default         0
timeout         2

title           Natty 64 bit (Ubuntu 11.04)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.38-11-generic root=/dev/xvda1 ro 
initrd          /boot/initrd.img-2.6.38-11-generic

title           Natty 64 bit (Ubuntu 11.04) (Single-User)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.38-11-generic root=/dev/xvda1 ro single
initrd          /boot/initrd.img-2.6.38-11-generic
----------------------------------------------------------
Start the first time and solve the other problem, for example:
xm create NATTY.cfg
xm console NATTY.cfg
modprobe xen-blkfront
exit
# login and add xen modules
# Add in /etc/initramfs-tools/modules and /etc/modules:
----------------------------------------------------------
xen_netfront #Xen virtual network device frontend
xen_blkfront #Xen virtual block device frontend
xen_fbfront #Xen virtual framebuffer device frontend
xen_kbdfront #Xen virtual keyboard/pointer device frontend
----------------------------------------------------------
sudo update-initramfs -u
sudo reboot

You can also install grub2 without problem on domu active now:
sudo rm /boot/grub/menu.lst
sudo aptitude install grub
sudo update-grub

I have all working except 2 problem:

- Xen vnc pointer doesn't work after restore

- Cdrom in cfg file, see example below:
disk=['tap2:aio:/mnt/vm/disks/NATTY.disk1.xm,xvda1,w',
'tap2:aio:/mnt/vm/disks/NATTY.disk2.xm,xvda2,w',
'phy:/dev/scd0,xvdb:cdrom,r']

is seen as internal disk and only administrator can mount it


--
View this message in context: 
http://xen.1045712.n5.nabble.com/Ubuntu-11-04-64-bit-HVM-on-xen-unstable-23842-tp4812413p4825514.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.