Hi,
i''m using virt-install and it runs successfully with that command:
virt-install -n xengrid2 --vcpus=1 -r 256 -s 4 -f
/media/disk/iso/xengrid/xengrid2 -l
ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os
-p --nographics
now, i have a question. What''s the kernel image and initrd file used
for
virt-install in order to carry out the installation process? I need that
information because i want use the cobbler/koan tools in order to
provision virtual machines remotely, but when i submit the command
koan --virt --server=136.145.116.114 --profile="xentemplate-profile"
i got that:
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 184k freed
Write protecting the kernel read-only data: 387k
Red Hat nash version 5.1.19.0.2 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading ohci-hcd.ko module
Loading ehci-hcd.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ata_piix.ko module
Creating root device.
Mounting root filesystem.
mount: could not find filesystem ''/dev/root''
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
It appears the installation has crashed
i''m using the kernel used by domain0 in my machine.
thanks a lot for your comments.
regards.
(`''`''`''`''`)
| |
| |
| |
-----.. (()---- |
| || (_ |
| || | |
| || | |
| || /\ ..--
''--------'''' /\ ||-'''' \
/ \ \ \// ,, \---.
.---------. \./ |~| /__\ \ |
___|_________|__|""-.___ / || | |
| | .-----'' || | |
| |CC.-----. | |
| | ''-----'' | |-ABG
| |
Michael DeHaan
2007-Feb-12 14:58 UTC
[Fedora-xen] Re: [et-mgmt-tools] virt-install question...
John.Sanabria@ece.uprm.edu wrote:> Hi, > > i''m using virt-install and it runs successfully with that command: > > virt-install -n xengrid2 --vcpus=1 -r 256 -s 4 -f > /media/disk/iso/xengrid/xengrid2 -l > ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os > -p --nographics > > now, i have a question. What''s the kernel image and initrd file used for > virt-install in order to carry out the installation process? I need that > information because i want use the cobbler/koan tools in order to > provision virtual machines remotely, but when i submit the command > > koan --virt --server=136.145.116.114 --profile="xentemplate-profile" >The kernel and initrd can be found in ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os/images/xen/
Daniel P. Berrange
2007-Feb-12 14:59 UTC
[Fedora-xen] Re: [et-mgmt-tools] virt-install question...
On Mon, Feb 12, 2007 at 10:51:13AM -0400, John.Sanabria@ece.uprm.edu wrote:> Hi, > > i''m using virt-install and it runs successfully with that command: > > virt-install -n xengrid2 --vcpus=1 -r 256 -s 4 -f > /media/disk/iso/xengrid/xengrid2 -l > ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os > -p --nographics > > now, i have a question. What''s the kernel image and initrd file used for > virt-install in order to carry out the installation process?When you supply a NFS/HTTP/FTP url to virt-install, it will take that URL and try to fetch the 2 files $URL/images/xen/vmlinuz and $URL/images/xen/initrd.img for the remote site. It saves those two files to /var/lib/xen/images and then boots the VM - the files are removed once the VM has started.> I need that > information because i want use the cobbler/koan tools in order to > provision virtual machines remotely, but when i submit the commandYou''ll want to grab the vmlinuz & initrd.img files out of $URL/images/xen and give them to cobbler when setting up the profile. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
John.Sanabria@ece.uprm.edu
2007-Feb-12 15:46 UTC
[Fedora-xen] Re: [et-mgmt-tools] virt-install question...
Thanks a lot, now it works! regards.> On Mon, Feb 12, 2007 at 10:51:13AM -0400, John.Sanabria@ece.uprm.edu > wrote: >> Hi, >> >> i''m using virt-install and it runs successfully with that command: >> >> virt-install -n xengrid2 --vcpus=1 -r 256 -s 4 -f >> /media/disk/iso/xengrid/xengrid2 -l >> ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os >> -p --nographics >> >> now, i have a question. What''s the kernel image and initrd file used for >> virt-install in order to carry out the installation process? > > When you supply a NFS/HTTP/FTP url to virt-install, it will take that URL > and try to fetch the 2 files $URL/images/xen/vmlinuz and > $URL/images/xen/initrd.img > for the remote site. It saves those two files to /var/lib/xen/images and > then > boots the VM - the files are removed once the VM has started. > >> I need that >> information because i want use the cobbler/koan tools in order to >> provision virtual machines remotely, but when i submit the command > > You''ll want to grab the vmlinuz & initrd.img files out of $URL/images/xen > and give them to cobbler when setting up the profile. > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 > -=| > > _______________________________________________ > et-mgmt-tools mailing list > et-mgmt-tools@redhat.com > https://www.redhat.com/mailman/listinfo/et-mgmt-tools >(`''`''`''`''`) | | | | | | -----.. (()---- | | || (_ | | || | | | || | | | || /\ ..-- ''--------'''' /\ ||-'''' \ / \ \ \// ,, \---. .---------. \./ |~| /__\ \ | ___|_________|__|""-.___ / || | | | | .-----'' || | | | |CC.-----. | | | | ''-----'' | |-ABG | |