ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Xen@AltLinux + RedHat EL 4
@ 2009-05-15 15:49 Денис Ягофаров
  2009-05-15 16:14 ` Денис Ягофаров
  0 siblings, 1 reply; 4+ messages in thread
From: Денис Ягофаров @ 2009-05-15 15:49 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 3171 bytes --]

Доброго времени суток.

У кого-то то получалось под AltLinuxом в паравиртуальном домене 
запустить RedHat EL 4.x?

Поставить мне удалось:
kernel = "/xen/RHEL47x64IQ/bootxen/vmlinuz"
ramdisk ="/xen/RHEL47x64IQ/bootxen/initrd.img"
extra="text askmethod"
vif = [ 'bridge=xenbr0' ]
disk = [ 'file:/xen/RHEL47x64IQ/20GiG.img,xvda:disk,w']
serial='pty'

Но если после этого попробовать загрузиться с:
kernel = "/xen/RHEL47x64IQ/bootxen/vmlinuz"
ramdisk ="/xen/RHEL47x64IQ/bootxen/initrd.img"
root = "/dev/xvda ro"
extra="console=xvc0 xencons=xvc0"
vif = [ 'bridge=xenbr0' ]
disk = [ 'file:/xen/RHEL47x64IQ/20GiG.img,xvda:disk,w']
serial='pty'

Всё равно запускается инсталлятор..... Если же попробовать:
vif = [ 'bridge=xenbr0' ]
disk = [ 'file:/xen/RHEL47x64IQ/20GiG.img,xvda:disk,w']
boot="c"
bootloader = "/usr/bin/pygrub"
serial='pty'

То запуск зависает на:
[2009-05-15 21:14:30 3006] DEBUG (XendDomainInfo:84) 
XendDomainInfo.create(['vm', ['name', 'RHEL47x64IQ'], ['memory', 512], 
['on_crash', 'destroy'], ['vcpus', 1], ['on_xend_start', 'ignore'], 
['on_xend_stop', 'ignore'], ['image', ['linux']], ['device', ['vbd', 
['uname', 'file:/xen/RHEL47x64IQ/20GiG.img'], ['dev', 'xvda:disk'], 
['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0']]]])
[2009-05-15 21:14:30 3006] DEBUG (XendDomainInfo:1520) 
XendDomainInfo.constructDomain
[2009-05-15 21:14:30 3006] DEBUG (balloon:116) Balloon: 1062724 KiB 
free; need 2048; done.
[2009-05-15 21:14:30 3006] DEBUG (XendDomain:434) Adding Domain: 66
[2009-05-15 21:14:30 3006] DEBUG (XendDomainInfo:1580) 
XendDomainInfo.initDomain: 66 256
[2009-05-15 21:14:30 21096] DEBUG (XendBootloader:100) Launching 
bootloader as ['/usr/bin/pygrub', 
'--output=/var/run/xend/boot/xenbl.12034', '/xen/RHEL47x64IQ/20GiG.img'].
[2009-05-15 21:17:47 3006] DEBUG (XendDomainInfo:1779) 
XendDomainInfo.destroy: domid=66
[2009-05-15 21:17:47 3006] DEBUG (XendDomainInfo:1798) 
XendDomainInfo.destroyDomain(66)
[2009-05-15 21:26:19 3006] DEBUG (XendDomainInfo:84) 
XendDomainInfo.create(['vm', ['name', 'RHEL47x64IQ'], ['memory', 512], 
['on_crash', 'destroy'], ['vcpus', 1], ['on_xend_start', 'ignore'], 
['on_xend_stop', 'ignore'], ['bootloader', '/usr/bin/pygrub'], 
['bootloader_args', ''], ['image', ['linux']], ['device', ['vbd', 
['uname', 'file:/xen/RHEL47x64IQ/20GiG.img'], ['dev', 'xvda:disk'], 
['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0']]]])
[2009-05-15 21:26:19 3006] DEBUG (XendDomainInfo:1520) 
XendDomainInfo.constructDomain
[2009-05-15 21:26:19 3006] DEBUG (balloon:116) Balloon: 1062724 KiB 
free; need 2048; done.
[2009-05-15 21:26:19 3006] DEBUG (XendDomain:434) Adding Domain: 67
[2009-05-15 21:26:19 3006] DEBUG (XendDomainInfo:1580) 
XendDomainInfo.initDomain: 67 256
[2009-05-15 21:26:19 21105] DEBUG (XendBootloader:100) Launching 
bootloader as ['/usr/bin/pygrub', 
'--output=/var/run/xend/boot/xenbl.16738', '/xen/RHEL47x64IQ/20GiG.img'].


... или Xen@AltLinux никто не использует?

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 385 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80445201209
tel;cell:80662933760
note;quoted-printable:xmmp: denyago@gmail.com=0D=0A=
	xmmp: diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] Xen@AltLinux + RedHat EL 4
  2009-05-15 15:49 [Sysadmins] Xen@AltLinux + RedHat EL 4 Денис Ягофаров
@ 2009-05-15 16:14 ` Денис Ягофаров
  2009-05-15 16:21   ` Michael Shigorin
  0 siblings, 1 reply; 4+ messages in thread
From: Денис Ягофаров @ 2009-05-15 16:14 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Денис Ягофаров пишет:
> Если же попробовать:
> vif = [ 'bridge=xenbr0' ]
> disk = [ 'file:/xen/RHEL47x64IQ/20GiG.img,xvda:disk,w']
> boot="c"
> bootloader = "/usr/bin/pygrub"
> serial='pty'
Почему xen-3.1.4-alt1.M40.1 не зависит от  python-module-grub который 
должен вместе с ним ставится?
Проблема решена, но всё же.... потрачено куча времени =(

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 385 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80445201209
tel;cell:80662933760
note;quoted-printable:xmmp: denyago@gmail.com=0D=0A=
	xmmp: diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] Xen@AltLinux + RedHat EL 4
  2009-05-15 16:14 ` Денис Ягофаров
@ 2009-05-15 16:21   ` Michael Shigorin
    0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2009-05-15 16:21 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Fri, May 15, 2009 at 07:14:46PM +0300, Денис Ягофаров wrote:
> Почему xen-3.1.4-alt1.M40.1 не зависит от  python-module-grub
> который должен вместе с ним ставится?
> Проблема решена, но всё же.... потрачено куча времени =(

И всё-таки повесь на него багу, пожалуйста.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] Xen@AltLinux + RedHat EL 4
  @ 2009-05-16 15:26       ` Денис Ягофаров
  0 siblings, 0 replies; 4+ messages in thread
From: Денис Ягофаров @ 2009-05-16 15:26 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Michail Yakushin пишет:
>> On Fri, May 15, 2009 at 07:14:46PM +0300, Денис Ягофаров wrote:
>>    
>>> Почему xen-3.1.4-alt1.M40.1 не зависит от  python-module-grub
>>> который должен вместе с ним ставится?
>>> Проблема решена, но всё же.... потрачено куча времени =(
>>>       
> не должен он ставиться, без него работает. Это отдельная фича
# apt-get remove python-module-grub
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
 python-module-grub
0 upgraded, 0 newly installed, 1 removed and 0 not upgraded.
< *** >
# pygrub /xen/RHEL47x64IQ/20GiG.img
Traceback (most recent call last):
 File "/usr/bin/pygrub", line 26, in ?
   import fsimage
ImportError: No module named fsimage

# apt-cache search fsimage
e2fsimage - e2fsimage  -  create  and populate an ext2 filesystem image 
as non-root user
libxen - Shared libraries for XEN
python-module-grub - python-module-grub

# apt-get install python-module-grub

Ну и соответственно, после установки python-module-grub появляется экран 
загрузки.

# rpm -qa | grep xen
xen-hypervisor-3.1.4-alt1.M40.1
libxen-3.1.4-alt1.M40.1
kernel-image-xen-dom0-2.6.18-alt6.M40.3
python-module-xen-3.1.4-alt1.M40.1
xen-3.1.4-alt1.M40.1

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 370 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80445201209
tel;cell:80662933760
note;quoted-printable:xmmp: denyago@gmail.com=0D=0A=
	xmmp: diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-16 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-15 15:49 [Sysadmins] Xen@AltLinux + RedHat EL 4 Денис Ягофаров
2009-05-15 16:14 ` Денис Ягофаров
2009-05-15 16:21   ` Michael Shigorin
2009-05-16 15:26       ` Денис Ягофаров

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git