Back to Home / #xen / 2010 / 11 / Prev Day | Next Day
#xen IRC Logs for 2010-11-05

---Logopened Fri Nov 05 00:00:21 2010
01:07-!-mogaal [] has left #xen []
03:52-!-Piet_ [] has quit [Remote host closed the connection]
03:52-!-Piet_ [] has joined #xen
06:39-!-Charly [] has joined #xen
07:24-!-Stellar|2 [~Stellar@] has joined #xen
07:24-!-Stellar [~Stellar@] has quit [Read error: Connection reset by peer]
07:34-!-Stellar|2 [~Stellar@] has quit [Quit: Intuition FTW!!]
08:16-!-Nati46 [] has joined #xen
08:16-!-Nati46 [] has left #xen [Leaving]
08:17<shoonya>hello. how to boot a virtual machine from a cd image ?
08:18<shoonya>i have this entry 'file:/disk-images/knoppix-6.2.1.iso,sdc:cdrom,r' in the disk field in the config file but while booting up, it shows this message: sdc: unknown partition table
08:18<shoonya>and then stops at: Begin: Waiting for root file system ...
08:20<shoonya>deshantm, if you're there ^^
08:51<deshantm>shoonya: I'm not so sure you can do that, unless it is an HVM guest
08:52<shoonya>deshantm, ie i cant boot a virtual machine from a cd-rom ?
08:53<deshantm>you can if you use have hardware support for virtualization Intel VT or AMD-V
08:55<shoonya>deshantm, how do i find out what kind of virtualization i have used
08:56<shoonya>cat /proc/cpuinfo | grep -i vmx doesnt return anything
08:56<shoonya> xm dmesg | grep -i hvm returns: (XEN) HVM: VMX enabled
08:57<deshantm>shoonya: xm_info | grep xen_caps
08:58<shoonya>deshantm, xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
08:58<shoonya>with xm info, xm_info was not found
08:59<deshantm>oops xm info | grep xen_caps
08:59<deshantm>ok, yeah looks good
08:59<deshantm>you need to use the hvmloader
08:59<deshantm>i can try to find an example
09:01<shoonya>i want to boot a vm from a cd image. it looks like it is a hvm. any hints/pointers? deshantm
09:02<shoonya>is paravirtualization same as hvm? deshantm
09:03<shoonya>this guide is for paravirtualization. OTOH, i have used the two additions that it says, ie boot='d', and ?file:/usr/local/src/systemrescue-x86.iso,hdc:cdrom,r?
09:04<deshantm>the guide wanted to do pv, but couldn't so they decided to do HVM
09:05<deshantm>the next box had builder, device_model, and kernel added
09:05<deshantm>with the old bootloader, bootargs, and extra commented out, which you should remove or comment with #
09:06<shoonya>deshantm, i have kernel as this: /boot/vmlinuz-2.6.18-6-xen-amd64 do i need to change it ?
09:07<deshantm>comment it with a # or just remove it
09:08<shoonya>deshantm, and device-model is mandatory?
09:09<shoonya>deshantm, i get this error: Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
09:09<shoonya>ok, the path was wrong i guess
09:10<deshantm>yeah, what distribution of Linux are you using?
09:12<shoonya>i get this error now Error: Bootloader isn't executable deshantm
09:12<deshantm>ls /usr/lib/xen*
09:12<deshantm>ls -d /usr/lib/xen*
09:14<shoonya>/usr/lib/xen-3.2-1 /usr/lib/xen-common /usr/lib/xen-default /usr/lib/xen-tools
09:15<deshantm>so change it to /usr/lib/xen-3.2-1/boot/hvmloader
09:17<shoonya>deshantm, that is what i have done
09:18<shoonya>the error is there despite that
09:18<deshantm>pastebin your config file
09:21<deshantm>shoonya: also comment the ramdisk line
09:22<shoonya>deshantm, same error
09:23<deshantm>ls -l /usr/lib/xen-3.2-1/boot/hvmloader
09:24<shoonya>deshantm, non executable.
09:24<shoonya>deshantm, should i set it to executable by owner ?
09:25<deshantm>i can check a system that I have access to
09:25<deshantm>just a sec
09:26-!-screenn [] has joined #xen
09:26<deshantm>shoonya: i don't think that is the problem
09:27<deshantm>shoonya: ls -l /usr/lib/xen-3.2-1/bin/qemu-dm
09:49-!-icarus901 [~steve@] has joined #xen
09:55-!-smaresca [~steve@] has quit [Ping timeout: 480 seconds]
09:57-!-Charly [] has quit [Read error: Connection reset by peer]
10:45<shoonya>-rwxr-xr-x 1 root root deshantm
11:32<jcordeiro>hi shoonya
11:32-!-ShaunR [] has quit [Ping timeout: 480 seconds]
11:40-!-eldragon [~eldragon@] has quit [Read error: Connection reset by peer]
12:01-!-screenn [] has quit [Quit: Leaving]
12:05-!-Stellar [~Stellar@] has joined #xen
12:13<jcordeiro>shoonya: as long as you have "losetup kpartx parted resize2fs "
12:13<jcordeiro>you do not need a live cd
12:13<jcordeiro>to resize the partition
12:13<jcordeiro>you just need those commands on your host
12:15<jcordeiro>that way you can emulate a disk from the img in the server host (with losetup)
12:15<jcordeiro>create partition devices with kpartx
12:16<jcordeiro>expand partitions with parted
12:16<jcordeiro>and expand ext3 filesystem with resize2fs
12:26-!-andrea [] has joined #xen
13:49-!-andrea [] has quit [Quit: I'm gonna save Rose Tyler from the middle of the Dalek fleet, and then I'm gonna save the Earth]
13:53-!-_avi_ [~avi@] has joined #xen
13:57-!-Lessy [] has joined #xen
13:57-!-Bekar [] has quit [Read error: Connection reset by peer]
13:57-!-Lessy is now known as Bekar
14:01-!-Piet_ [] has quit [Ping timeout: 480 seconds]
14:11-!-Piet_ [] has joined #xen
14:27-!-_avi_ [~avi@] has quit [Ping timeout: 480 seconds]
15:04-!-mercury [] has joined #xen
15:04<mercury>hi all
15:04<mercury>anybody had any experience troubleshooting errors while installing xen 4.0.1?
15:05<mercury>i'm using xen-4.0.1-testing.hg
15:05<mercury>running make word ends up failing without a clear error message
15:06<mercury>on a fresh debian lenny install
15:23-!-ShaunR [] has joined #xen
16:19-!-_avi_ [~avi@] has joined #xen
16:49<jcordeiro>shoonya: please understand that i wont help you again... you let me here hanging
16:51-!-mercury [] has quit [Quit: ajax IRC Client]
16:53-!-icarus901 [~steve@] has quit [Ping timeout: 480 seconds]
16:56-!-_avi_ [~avi@] has quit [Ping timeout: 480 seconds]
17:13-!-MarkW [] has joined #xen
17:33-!-Piet_ [] has quit [Remote host closed the connection]
17:48-!-Piet_ [] has joined #xen
18:32-!-Bekar [] has quit [Quit: I Quit! Did you guess?]
18:39-!-ShaunR [] has quit [Ping timeout: 480 seconds]
18:44-!-ShaunR [] has joined #xen
19:33-!-Stellar [~Stellar@] has quit [Quit: Intuition FTW!!]
19:36-!-Stellar [kvirc@] has joined #xen
21:51-!-ljcai [~lenovo@] has joined #xen
21:54-!-ljcai [~lenovo@] has left #xen []
22:08-!-MarkW [] has quit [Remote host closed the connection]
23:08-!-Piet_ [] has quit [Ping timeout: 480 seconds]
23:19-!-Piet_ [] has joined #xen
23:24-!-icarus901 [] has joined #xen
23:40-!-Piet_ [] has quit [Remote host closed the connection]
23:56-!-Piet_ [] has joined #xen
23:59-!-VS_ChanLog [] has left #xen [Rotating Logs]
23:59-!-VS_ChanLog [] has joined #xen
---Logclosed Sat Nov 06 00:00:22 2010