HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Xen on Ubuntu (http://www.howtoforge.com/forums/showthread.php?t=25807)

kmand 6th August 2008 19:47

Xen on Ubuntu
 
I'm trying to setup Xen on a Ubuntu 8.04 laptop. I followed the instructions in

Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server

http://www.howtoforge.com/ubuntu-8.0...u-repositories

I haven't gotten as far as adding a guest, I'm stuck on the reboot with the Xen kernel.

When I boot, Xen seems to be going OK, and tells me its giving up the VGA. A little time goes on and then the VGA screen clears, after which there is no response to the keyboard or anything more on the screen.

The laptop does in fact answer pings, and in fact accepts ssh connections. However, the ssh connections just hang with no response.

I get the same behavior if I substitute "console=vga" for "console=ttyx" on the grub kernel params. The laptop has no serial port.

I'm running Ubuntu 8.04 currently patched to kernel 2.6.24-20. I did not take the suggestion of using the 2.6.24-16 workaround xen kernel. I thought the network problem it adressed may have been fixed by -20, and at any rate it would not effect the console problem.

Any suggestions?

falko 7th August 2008 20:14

I haven't used Xen on an Ubuntu desktop yet, only on a server. Maybe the Ubuntu Xen kernel is a server kernel and does not support many graphics cards.

praatiy 24th December 2008 12:38

Xen on Ubuntu
 
I am also facing the same problem but I using ubuntu 8.10 with the latest kernel 2.6.27-*.
I just wanted to know that was anybody able to solve this problem?If yes, please let me know the solution.Any useful link will also be useful.

Any help will be appreciated.

Regards
Prateek

falko 24th December 2008 16:44

http://www.howtoforge.com/forums/sho...73&postcount=2

matey 26th February 2009 15:21

That happenes some times? All you have to do use the Alt F2 or Fx key(s) to use ttyx. TTY1 gets busy with some thing and I have Not figured it out yet?
(none of control C, Z, D work either.


Now can some body please tell me how I go about using XEN in 8.10?

I setup a xen guest on my server64 but I cannot access it via xm command because I get a lot of errors.
I manually downloaded xen.3.3.gz and ran install.sh , it too gave me errors saying I have to run make inst 1st.
So I did but then again I got an error line 51 of script was referring to a place or file which do not exist??1


Any way I tried to load xen manually in my menu.lst but the server freezes and will Not boot!?

Can some body let the rest of us with this problem know what to do?

Thanks.
PS I know there is no support for xen in 8.10 but people found work-arounds.

matey 26th February 2009 16:30

Quote:

Originally Posted by falko (Post 161301)

hey falko;
God bless you for this:

http://www.howtoforge.com/installing...tu-8.10-x86_64

I am installing the updates etc, right now but from the looks of it , seems like you left no stones unturned.
I mean the menu.lst and the /boot or grub/ directories and files are enough to eat your lunch!
very good instructions indeed!
Thanks!

PS, One thing is not worth for me to waste time on is the kind of half-hearted (or any other body parts of your choice ;)) instructions.
I am new to this so when I got my first error about /etc/xen-config file item "dist = Hardy", it took me a while to figure out how to make a link to gutsy.d (under /usr/lib/xen-tools/ ) and call it intrepid to make it work (I was thinking to change my lsb_release value but not a good idea) .... heh well It made the domU but xm returns a lot of errors and that is what I am working on now.
Thanks again!

falko 27th February 2009 14:08

What half-hearted instructions? :confused:

matey 27th February 2009 16:11

Quote:

Originally Posted by falko (Post 172295)
What half-hearted instructions? :confused:

I mean the other instructions I found before yours. the web is full of them.

they dont give much details and details are very important.
I am new to this and I still have a hard time with simple man files, too many [[[]]] square brackets, :confused: let alone setting up xen.

Loro 28th February 2009 17:47

hey falko,
i try to setup an Ubuntu 8.10 AMD64 Server and XEN. So I used this howto http://www.howtoforge.com/installing...tu-8.10-x86_64. But I can't set up any Guest Systems.

The commad
Quote:

xen-create-image --hostname=vitrualServer --size=20Gb --swap=256Mb --ide
--ip=192.168.0.200 --netmask=255.255.255.0 --gateway=192.168.0.1 --force
--dir=/etc/xen/vm --memory=64Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.19-4-xen
--initrd=/boot/initrd.img-2.6.19-4-xen --debootstrap --dist=dapper
--mirror=http://de.archive.ubuntu.com/ubuntu/ --passwd
ends with System installation failed. Aborting

Logfile produced at:

And this ist the log file.

Quote:

General Information
--------------------
Hostname : webserver
Distribution : dapper
Partitions : swap 256Mb (swap)
/ 80Gb (ext3)
Image type : sparse
Memory size : 128Mb
Kernel path : /boot/vmlinuz-2.6.27-11-server
Initrd path : /boot/initrd.img-2.6.27-11-server

Networking Information
----------------------
IP Address 1 : 192.168.0.250 [MAC: 00:16:3E:A0:84:E5]
Netmask : 255.255.255.0
Broadcast : 192.168.0.255
Gateway : 192.168.0.1

Creating partition image: /xenimages/domains/webserver/swap.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3.1819e-05 s, 0.0 kB/s
Done

Creating swap on /xenimages/domains/webserver/swap.img
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=bd258012-1e7a-4c2e-89a3-71238a287756
Done

Creating partition image: /xenimages/domains/webserver/disk.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5.0861e-05 s, 0.0 kB/s
Done

Creating ext3 filesystem on /xenimages/domains/webserver/disk.img
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5242880 inodes, 20971520 blocks
1048576 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
640 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000

Writing inode tables: 0/640 1/640 2/640 3/640 4/640 5/640 6/640 7/640 8/640 9/640 10/640 11/640 12/640 13/640 14/640 15/640 16/640 17/640 18/640 19/640 20/640 21/640 22/640 23/640 24/640 25/640 26/640 27/640 28/640 29/640 30/640 31/640 32/640 33/640 34/640 35/640 36/640 37/640 38/640 39/640 40/640 41/640 42/640 43/640 44/640 45/640 46/640 47/640 48/640 49/640 50/640 51/640 52/640 53/640 54/640 55/640 56/640 57/640 58/640 59/640 60/640 61/640 62/640 63/640 64/640 65/640 66/640 67/640 68/640 69/640 70/640 71/640 72/640 73/640 74/640 75/640 76/640 77/640 78/640 79/640 80/640 81/640 82/640 83/640 84/640 85/640 86/640 87/640 88/640 89/640 90/640 91/640 92/640 93/640 94/640 95/640 96/640 97/640 98/640 99/640100/640101/640102/640103/640104/640105/640106/640107/640108/640109/640110/640111/640112/640113/640114/640115/640116/640117/640118/640119/640120/640121/640122/640123/640124/640125/640126/640127/640128/640129/640130/640131/640132/640133/640134/640135/640136/640137/640138/640139/640140/640141/640142/640143/640144/640145/640146/640147/640148/640149/640150/640151/640152/640153/640154/640155/640156/640157/640158/640159/640160/640161/640162/640163/640164/640165/640166/640167/640168/640169/640170/640171/640172/640173/640174/640175/640176/640177/640178/640179/640180/640181/640182/640183/640184/640185/640186/640187/640188/640189/640190/640191/640192/640193/640194/640195/640196/640197/640198/640199/640200/640201/640202/640203/640204/640205/640206/640207/640208/640209/640210/640211/640212/640213/640214/640215/640216/640217/640218/640219/640220/640221/640222/640223/640224/640225/640226/640227/640228/640229/640230/640231/640232/640233/640234/640235/640236/640237/640238/640239/640240/640241/640242/640243/640244/640245/640246/640247/640248/640249/640250/640251/640252/640253/640254/640255/640256/640257/640258/640259/640260/640261/640262/640263/640264/640265/640266/640267/640268/640269/640270/640271/640272/640273/640274/640275/640276/640277/640278/640279/640280/640281/640282/640283/640284/640285/640286/640287/640288/640289/640290/640291/640292/640293/640294/640295/640296/640297/640298/640299/640300/640301/640302/640303/640304/640305/640306/640307/640308/640309/640310/640311/640312/640313/640314/640315/640316/640317/640318/640319/640320/640321/640322/640323/640324/640325/640326/640327/640328/640329/640330/640331/640332/640333/640334/640335/640336/640337/640338/640339/640340/640341/640342/640343/640344/640345/640346/640347/640348/640349/640350/640351/640352/640353/640354/640355/640356/640357/640358/640359/640360/640361/640362/640363/640364/640365/640366/640367/640368/640369/640370/640371/640372/640373/640374/640375/640376/640377/640378/640379/640380/640381/640382/640383/640384/640385/640386/640387/640388/640389/640390/640391/640392/640393/640394/640395/640396/640397/640398/640399/640400/640401/640402/640403/640404/640405/640406/640407/640408/640409/640410/640411/640412/640413/640414/640415/640416/640417/640418/640419/640420/640421/640422/640423/640424/640425/640426/640427/640428/640429/640430/640431/640432/640433/640434/640435/640436/640437/640438/640439/640440/640441/640442/640443/640444/640445/640446/640447/640448/640449/640450/640451/640452/640453/640454/640455/640456/640457/640458/640459/640460/640461/640462/640463/640464/640465/640466/640467/640468/640469/640470/640471/640472/640473/640474/640475/640476/640477/640478/640479/640480/640481/640482/640483/640484/640485/640486/640487/640488/640489/640490/640491/640492/640493/640494/640495/640496/640497/640498/640499/640500/640501/640502/640503/640504/640505/640506/640507/640508/640509/640510/640511/640512/640513/640514/640515/640516/640517/640518/640519/640520/640521/640522/640523/640524/640525/640526/640527/640528/640529/640530/640531/640532/640533/640534/640535/640536/640537/640538/640539/640540/640541/640542/640543/640544/640545/640546/640547/640548/640549/640550/640551/640552/640553/640554/640555/640556/640557/640558/640559/640560/640561/640562/640563/640564/640565/640566/640567/640568/640569/640570/640571/640572/640573/640574/640575/640576/640577/640578/640579/640580/640581/640582/640583/640584/640585/640586/640587/640588/640589/640590/640591/640592/640593/640594/640595/640596/640597/640598/640599/640600/640601/640602/640603/640604/640605/640606/640607/640608/640609/640610/640611/640612/640613/640614/640615/640616/640617/640618/640619/640620/640621/640622/640623/640624/640625/640626/640627/640628/640629/640630/640631/640632/640633/640634/640635/640636/640637/640638/640639/640done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Done
Installation method: debootstrap
Falling back to default debootstrap command

Copying files from host to image.
Copying files from /var/cache/apt/archives -> /tmp/SOoiHhoyJi/var/cache/apt/archives
Done
Done
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/dapper/main/binary-amd64/Packages

Copying files from new installation to host.
Copying files from /tmp/SOoiHhoyJi/var/cache/apt/archives -> /var/cache/apt/archives
Done
Done
The installation of the new system has failed.

The system is missing the common file: /bin/ls
Done
System installation failed. Aborting

And this happens always. How can i solve this Probelm?

falko 1st March 2009 14:34

Quote:

E: Couldn't download dists/dapper/main/binary-amd64/Packages
Try to use a more recent Ubuntu version or Debian Lenny.


All times are GMT +2. The time now is 10:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.