Hi there, I''m trying to set up a Centos DomU over my Debian with Xen and I''ve been searching all around google without good results. I think I''m not searching properly. Can anybody give me a tip, o maybe a how-to about it? Right now I''ve a little problem with this and it''s giving me this error message: xenconsole: Could not read tty from store: No such file or directory Any ideas? Thanks :-) -- http://g00fy.homelinux.org http://cerealbars.wordpress.com <- blog 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2008/2/19, Boris <borisq22@gmail.com>:> Hi there, > > I''m trying to set up a Centos DomU over my Debian with Xen and I''ve > been searching all around google without good results. I think I''m not > searching properly. > Can anybody give me a tip, o maybe a how-to about it? > > Right now I''ve a little problem with this and it''s giving me this error message: > > xenconsole: Could not read tty from store: No such file or directory > > Any ideas? > Thanks :-) > -- > http://g00fy.homelinux.org > http://cerealbars.wordpress.com <- blog > 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5 >Maybe I didn''t explain myself well enough... I just wanna know how to install any linux distro from a cd or a iso image. As I said in my previous mail, maybe I''m not searching well... That''s it. Thanks again... -- http://g00fy.homelinux.org http://cerealbars.wordpress.com <- blog 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 19 Feb 2008 12:44:47 -0300, Boris wrote:> I''m trying to set up a Centos DomU over my Debian with Xen and I''ve been > searching all around google without good results. I think I''m not > searching properly. > > Can anybody give me a tip, o maybe a how-to about it?Works fine here with rinse: http://xen-tools.org/software/rinse/ Norbert _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris disclaimer - I don''t use centos, so I have very little clue... here are some ideas tho... is there a debootstrap equivalent for CentOS? Have a search for ''Centos network install'' or ''centos kickstart''.and perhaps ''centos xen guest'' and see what you come up with. Hope ths helps On 20/02/2008, Boris <borisq22@gmail.com> wrote:> 2008/2/19, Boris <borisq22@gmail.com>: > > Hi there, > > > > I''m trying to set up a Centos DomU over my Debian with Xen and I''ve > > been searching all around google without good results. I think I''m not > > searching properly. > > Can anybody give me a tip, o maybe a how-to about it? > > > > Right now I''ve a little problem with this and it''s giving me this error message: > > > > xenconsole: Could not read tty from store: No such file or directory > > > > Any ideas? > > Thanks :-) > > -- > > http://g00fy.homelinux.org > > http://cerealbars.wordpress.com <- blog > > 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5 > > > > Maybe I didn''t explain myself well enough... I just wanna know how to > install any linux distro from a cd or a iso image. > As I said in my previous mail, maybe I''m not searching well... > > That''s it. > Thanks again... > -- > http://g00fy.homelinux.org > http://cerealbars.wordpress.com <- blog > 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- GPG key fingerprint: 3883 B308 8256 2246 D3ED A1FF 3A1D 0EAD 41C4 C2F0 GPG public key availabe on pgp.mit .edu keyserver _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 20 Feb 2008 06:41:28 +1100, TMC wrote:> is there a debootstrap equivalent for CentOS?You can use yum to bootstrap a CentOS system. Norbert _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I do this sort of thing pretty regularly with the files in the
images/xen directory on the CentOS cd. I use a config file like the
following, and just do a "xm create -c norman" or "xm create -c
norman
mode=install".
John
# Xen config file for norman, the mail guy
#
# use "xm create [-c] <hostname>" to start; add
"mode=install" to reinstall!
#
# modify the next block at a minimum
name = "norman"
memory = "128" # memory for normal operation
ip = "192.168.7.8"
disk = [''phy:domU/norman,xvda,w'',
''phy:domU/mail,xvdb1,w'', ]
# change this if you want to add extra interfaces
vif = [ ''mac=00:16:ee:'' +
":".join(ip.split(''.'')[1:4]) + '',
bridge=intbr'', ]
#
# probably, for paravirt, we don''t have to change anything below here
#
vcpus=1
nographic=1
ksfile = "http://summerlite.foobar.com/distro/bigu/kickstart/ks-" +
name
+ ".cfg"
uuid = "99806a2d-827e-da4d-4131-fc32" +
''''.join(map(lambda
x:"%02X"%int(x),ip.split(''.'')))
# test if mode variable is defined
try:
mode
except NameError:
mode = ''normal''
if mode == ''normal'':
# this is for after install
bootloader="/usr/bin/pygrub"
on_reboot = ''restart''
on_crash = ''restart''
else:
# these are for install
#
memory = "512"
kernel = "/v/xen/images/vmlinuz-centos-5.1-x86_64"
ramdisk = "/v/xen/images/initrd-centos-5.1-x86_64.img"
extra = "text console=xvc0 ks=" + ksfile
extra = extra + " dns=192.168.7.5"
extra = extra + " gateway=192.168.7.1"
extra = extra + " ip=" + ip
extra = extra + " netmask=255.255.255.0"
on_reboot = ''destroy''
on_crash = ''destroy''
TMC wrote:> Boris
>
> disclaimer - I don''t use centos, so I have very little clue...
here
> are some ideas tho...
>
> is there a debootstrap equivalent for CentOS?
>
> Have a search for ''Centos network install'' or
''centos kickstart''.and
> perhaps ''centos xen guest'' and see what you come up with.
>
> Hope ths helps
>
> On 20/02/2008, Boris <borisq22@gmail.com> wrote:
>
>> 2008/2/19, Boris <borisq22@gmail.com>:
>>
>>> Hi there,
>>>
>>> I''m trying to set up a Centos DomU over my Debian with Xen
and I''ve
>>> been searching all around google without good results. I think
I''m not
>>> searching properly.
>>> Can anybody give me a tip, o maybe a how-to about it?
>>>
>>> Right now I''ve a little problem with this and
it''s giving me this error message:
>>>
>>> xenconsole: Could not read tty from store: No such file or
directory
>>>
>>> Any ideas?
>>> Thanks :-)
>>> --
>>> http://g00fy.homelinux.org
>>> http://cerealbars.wordpress.com <- blog
>>> 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5
>>>
>>>
>> Maybe I didn''t explain myself well enough... I just wanna know
how to
>> install any linux distro from a cd or a iso image.
>> As I said in my previous mail, maybe I''m not searching well...
>>
>> That''s it.
>> Thanks again...
>> --
>> http://g00fy.homelinux.org
>> http://cerealbars.wordpress.com <- blog
>> 4057 6FF9 8B1A 85B9 A467 D512 F9A5 CF17 B61C BAA5
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>>
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
John Morris wrote:> I do this sort of thing pretty regularly with the files in the > images/xen directory on the CentOS cd. I use a config file like the > following, and just do a "xm create -c norman" or "xm create -c norman > mode=install". > > John > > # Xen config file for norman, the mail guy > # > # use "xm create [-c] <hostname>" to start; add "mode=install" to > reinstall! > # > # modify the next block at a minimum > name = "norman" > memory = "128" # memory for normal operation > ip = "192.168.7.8" > disk = [''phy:domU/norman,xvda,w'', > ''phy:domU/mail,xvdb1,w'', ] > > # change this if you want to add extra interfaces > vif = [ ''mac=00:16:ee:'' + ":".join(ip.split(''.'')[1:4]) + '', > bridge=intbr'', ]I''m very weak WRT python, but I note that ip is in decimal and the partial mac is in hex. That would yield mac=''00:16:ee:168:7:8''. Probably not what you intended. :m) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Wright wrote:> John Morris wrote: >> I do this sort of thing pretty regularly with the files in the >> images/xen directory on the CentOS cd. I use a config file like the >> following, and just do a "xm create -c norman" or "xm create -c >> norman mode=install". >> >> John >> >> # Xen config file for norman, the mail guy >> # >> # use "xm create [-c] <hostname>" to start; add "mode=install" to >> reinstall! >> # >> # modify the next block at a minimum >> name = "norman" >> memory = "128" # memory for normal operation >> ip = "192.168.7.8" >> disk = [''phy:domU/norman,xvda,w'', >> ''phy:domU/mail,xvdb1,w'', ] >> >> # change this if you want to add extra interfaces >> vif = [ ''mac=00:16:ee:'' + ":".join(ip.split(''.'')[1:4]) + '', >> bridge=intbr'', ] > > I''m very weak WRT python, but I note that ip is in decimal and the > partial mac is in hex. That would yield mac=''00:16:ee:168:7:8''. > Probably not what you intended. > > :m)You caught me! :) This is actually my first python code ever, but that''s not an excuse to have missed this. That last line should be this: [ "mac=00:16:ee:%02x:%02x:%02x, bridge=intbr" % tuple([int(i) for i in ip.split(''.'')[1:4]]), ] That''s the prettiest I can do for now. Thanks for picking this out! John _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users