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

Re: [Xen-users] attach an iso file to a PV guest



i'm trying to make templates for usage with paravirtualisation...

what is the best way to create those?

i tried installing from iso in PV, but that doesn't work.

i tried installing in HVM from iso, but that didn't work either, you can't 
specify partitions, you need to specify full disks... and the hardware differs 
too much for hvm to be used as template for PV.

would network install work under pv?

mvg,

Maarten

Op dinsdag 6 augustus 2013 10:30:42 schreef Maarten Vanraes:
> Op donderdag 1 augustus 2013 17:00:37 schreef Maarten Vanraes:
> [...]
> 
> > > > any thoughts on how to proceed?
> 
> i saw a number of mistakes i made...
> 
> 1. you cannot specify "root = '' " (not even to make it empty) ==> you get
> the pvgrub shell
> 2. the config uses ramdisk = "" (not initrd)
> 
> after all this, with pvgrub it just doesn't want to recognize the iso as a
> CD...
> 
> 
> i changed back to original setup, where i use the kernel/initrd from on the
> CD directly in the xl conf.
> 
> i noticed there that the SL6 CD doesn't recognize it as a CDROM and tried
> until it does.
> 
> now, it's recognized as CD, but doesn't find any files on it.
> 
> it keeps giving: "drive status is Invalid argument"
> 
> this is my current disk config:
> 
> disk = [
> 'format=raw,vdev=xvda,access=ro,devtype=cdrom,backendtype=phy,target=/dev/lo
> op0', 'tap2:aio:/etc/xen/templates/sl6.img,xvdb1,w', ]
> 
> 
> (the order seems to be important, the CD must be the first one). no matter
> what vdev you specify, it will always try xvda or xvda1 (depending if you
> specify disk or partition)
> 
> both give the same response:
> 
> trying to mount CD device /dev/xvda on /mnt/stage2
> drive status is Invalid argument
> 
> 
> does anyone have another idea?
-- 
BA NV
IT & Security

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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