KVM Guest installation
After ran below command
virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics --cdrom=/home/ISO/ubuntu-12.04-server-i386.iso
I am facing below error
SeaBIOS (version seabios-0.6.1.2-26.el6)
gPXE (http://etherboot.org) - 00:03.0 C100 PCI2.10 PnP BBS PMM1FE0@10 C100
Booting from DVD/CD...
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
During Guest KVM installation I am facing above error
but
[root@ramlo images]# virsh -c qemu:///system list
Id Name State
----------------------------------------------------
1 vm01 running
unable to install Guest KVM
kvm
add a comment |
After ran below command
virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics --cdrom=/home/ISO/ubuntu-12.04-server-i386.iso
I am facing below error
SeaBIOS (version seabios-0.6.1.2-26.el6)
gPXE (http://etherboot.org) - 00:03.0 C100 PCI2.10 PnP BBS PMM1FE0@10 C100
Booting from DVD/CD...
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
During Guest KVM installation I am facing above error
but
[root@ramlo images]# virsh -c qemu:///system list
Id Name State
----------------------------------------------------
1 vm01 running
unable to install Guest KVM
kvm
add a comment |
After ran below command
virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics --cdrom=/home/ISO/ubuntu-12.04-server-i386.iso
I am facing below error
SeaBIOS (version seabios-0.6.1.2-26.el6)
gPXE (http://etherboot.org) - 00:03.0 C100 PCI2.10 PnP BBS PMM1FE0@10 C100
Booting from DVD/CD...
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
During Guest KVM installation I am facing above error
but
[root@ramlo images]# virsh -c qemu:///system list
Id Name State
----------------------------------------------------
1 vm01 running
unable to install Guest KVM
kvm
After ran below command
virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics --cdrom=/home/ISO/ubuntu-12.04-server-i386.iso
I am facing below error
SeaBIOS (version seabios-0.6.1.2-26.el6)
gPXE (http://etherboot.org) - 00:03.0 C100 PCI2.10 PnP BBS PMM1FE0@10 C100
Booting from DVD/CD...
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
Loading bootlogo...
Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
During Guest KVM installation I am facing above error
but
[root@ramlo images]# virsh -c qemu:///system list
Id Name State
----------------------------------------------------
1 vm01 running
unable to install Guest KVM
kvm
kvm
edited Apr 29 '14 at 6:10
Anthon
60.2k17102163
60.2k17102163
asked Apr 28 '14 at 10:56
Daya
1178
1178
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Try one of these methods instead.
Won't automatically open a install window, you can connect afterwards.
$ sudo virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc --noautoconsole -v
Will automatically pop a GUI up where you can interact with the installation.
$ virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc -v
The difference being the --noautoconsole
. You also might be running into an issue with using /home/ISO
. I'm using Fedora and on that system there's a piece of software called SELinux which blocks KVM/QEMU from using /home/ISO
, so I typically keep the .iso
files under /var/lib/libvirt/images
.
On Ubuntu App Armor is the equivalent to SELinux, and so it might be blocking you from using /home/ISO
.
When I attempt to use a directory that SELinux isn't OK with I get this type of error:
Starting install...
Allocating 'vm01.img' | 10 GB 00:00:00
ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/7 (label charserial0)
qemu-system-x86_64: -drive file=/home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso: Permission denied
References
- Ubuntu 12.04 » Ubuntu Server Guide » Virtualization » libvirt
- KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)
Is it recommended to store .iso on/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?
– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it./tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.
– slm♦
Apr 29 '14 at 6:53
Under /root,drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and-rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?
– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm:semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t:restorecon -R -v /home/foobar
. Confirm:ls -aZ /home/foobar
.
– yahol
Mar 30 '18 at 9:25
add a comment |
please use below method
virt-install -n vmname -r 2048 --os-type=linux --os-variant=ubuntulucid
--disk /kvm/images/disk/vmname_boot.img,device=disk,bus=ide,size=40,sparse=true,format=raw
-w bridge=br0,model=e1000 --vnc --noautoconsole
-c /home/ISO/ubuntu-12.04-server-i386.iso
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f126885%2fkvm-guest-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try one of these methods instead.
Won't automatically open a install window, you can connect afterwards.
$ sudo virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc --noautoconsole -v
Will automatically pop a GUI up where you can interact with the installation.
$ virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc -v
The difference being the --noautoconsole
. You also might be running into an issue with using /home/ISO
. I'm using Fedora and on that system there's a piece of software called SELinux which blocks KVM/QEMU from using /home/ISO
, so I typically keep the .iso
files under /var/lib/libvirt/images
.
On Ubuntu App Armor is the equivalent to SELinux, and so it might be blocking you from using /home/ISO
.
When I attempt to use a directory that SELinux isn't OK with I get this type of error:
Starting install...
Allocating 'vm01.img' | 10 GB 00:00:00
ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/7 (label charserial0)
qemu-system-x86_64: -drive file=/home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso: Permission denied
References
- Ubuntu 12.04 » Ubuntu Server Guide » Virtualization » libvirt
- KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)
Is it recommended to store .iso on/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?
– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it./tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.
– slm♦
Apr 29 '14 at 6:53
Under /root,drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and-rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?
– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm:semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t:restorecon -R -v /home/foobar
. Confirm:ls -aZ /home/foobar
.
– yahol
Mar 30 '18 at 9:25
add a comment |
Try one of these methods instead.
Won't automatically open a install window, you can connect afterwards.
$ sudo virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc --noautoconsole -v
Will automatically pop a GUI up where you can interact with the installation.
$ virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc -v
The difference being the --noautoconsole
. You also might be running into an issue with using /home/ISO
. I'm using Fedora and on that system there's a piece of software called SELinux which blocks KVM/QEMU from using /home/ISO
, so I typically keep the .iso
files under /var/lib/libvirt/images
.
On Ubuntu App Armor is the equivalent to SELinux, and so it might be blocking you from using /home/ISO
.
When I attempt to use a directory that SELinux isn't OK with I get this type of error:
Starting install...
Allocating 'vm01.img' | 10 GB 00:00:00
ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/7 (label charserial0)
qemu-system-x86_64: -drive file=/home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso: Permission denied
References
- Ubuntu 12.04 » Ubuntu Server Guide » Virtualization » libvirt
- KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)
Is it recommended to store .iso on/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?
– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it./tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.
– slm♦
Apr 29 '14 at 6:53
Under /root,drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and-rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?
– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm:semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t:restorecon -R -v /home/foobar
. Confirm:ls -aZ /home/foobar
.
– yahol
Mar 30 '18 at 9:25
add a comment |
Try one of these methods instead.
Won't automatically open a install window, you can connect afterwards.
$ sudo virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc --noautoconsole -v
Will automatically pop a GUI up where you can interact with the installation.
$ virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc -v
The difference being the --noautoconsole
. You also might be running into an issue with using /home/ISO
. I'm using Fedora and on that system there's a piece of software called SELinux which blocks KVM/QEMU from using /home/ISO
, so I typically keep the .iso
files under /var/lib/libvirt/images
.
On Ubuntu App Armor is the equivalent to SELinux, and so it might be blocking you from using /home/ISO
.
When I attempt to use a directory that SELinux isn't OK with I get this type of error:
Starting install...
Allocating 'vm01.img' | 10 GB 00:00:00
ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/7 (label charserial0)
qemu-system-x86_64: -drive file=/home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso: Permission denied
References
- Ubuntu 12.04 » Ubuntu Server Guide » Virtualization » libvirt
- KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)
Try one of these methods instead.
Won't automatically open a install window, you can connect afterwards.
$ sudo virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc --noautoconsole -v
Will automatically pop a GUI up where you can interact with the installation.
$ virt-install -n vm01 -r 256
--disk path=/var/lib/libvirt/images/vm01.img,bus=virtio,size=10 -c
/home/ISO/ubuntu-12.04-server-i386.iso --accelerate --network
network=bridge:br0 --connect=qemu:///system --vnc -v
The difference being the --noautoconsole
. You also might be running into an issue with using /home/ISO
. I'm using Fedora and on that system there's a piece of software called SELinux which blocks KVM/QEMU from using /home/ISO
, so I typically keep the .iso
files under /var/lib/libvirt/images
.
On Ubuntu App Armor is the equivalent to SELinux, and so it might be blocking you from using /home/ISO
.
When I attempt to use a directory that SELinux isn't OK with I get this type of error:
Starting install...
Allocating 'vm01.img' | 10 GB 00:00:00
ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/7 (label charserial0)
qemu-system-x86_64: -drive file=/home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/saml/projects/machines/ISOs/debian-live-7.4-amd64-lxde-desktop.iso: Permission denied
References
- Ubuntu 12.04 » Ubuntu Server Guide » Virtualization » libvirt
- KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)
answered Apr 28 '14 at 12:28
slm♦
247k66511677
247k66511677
Is it recommended to store .iso on/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?
– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it./tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.
– slm♦
Apr 29 '14 at 6:53
Under /root,drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and-rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?
– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm:semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t:restorecon -R -v /home/foobar
. Confirm:ls -aZ /home/foobar
.
– yahol
Mar 30 '18 at 9:25
add a comment |
Is it recommended to store .iso on/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?
– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it./tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.
– slm♦
Apr 29 '14 at 6:53
Under /root,drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and-rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?
– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm:semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t:restorecon -R -v /home/foobar
. Confirm:ls -aZ /home/foobar
.
– yahol
Mar 30 '18 at 9:25
Is it recommended to store .iso on
/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?– Ivan Chau
Apr 29 '14 at 6:47
Is it recommended to store .iso on
/var/lib/libvirt/images
? Previously I encountered the same permission denied problem on RHEL (SELinux Enable) and mitigate it by storing iso file in /tmp for testing purpose. On libvirt fedora example, the iso can be put in /home/user/. But I cannot make it work on my setup. Any advices?– Ivan Chau
Apr 29 '14 at 6:47
@IvanChau - no I don't think so, but that directory is open to KVM accessing it.
/tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.– slm♦
Apr 29 '14 at 6:53
@IvanChau - no I don't think so, but that directory is open to KVM accessing it.
/tmp
would probably fine as well. If you're looking for a more permanent location then I'd spend the time setting up App Armor/SELinux to allow KVM access to some other location.– slm♦
Apr 29 '14 at 6:53
Under /root,
drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and -rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?– Ivan Chau
Apr 29 '14 at 7:30
Under /root,
drwxr-xr-x. qemu qemu system_u:object_r:virt_image_t:s0 vmiso
for ISO directory and -rw-r--r--. qemu qemu system_u:object_r:virt_content_t:s0 dvd.iso
for ISO file still leads to permission denied issue. Could the .img and .iso stored in different directory?– Ivan Chau
Apr 29 '14 at 7:30
SELinux: change security context for non-default image directories:
semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm: semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t: restorecon -R -v /home/foobar
. Confirm: ls -aZ /home/foobar
.– yahol
Mar 30 '18 at 9:25
SELinux: change security context for non-default image directories:
semanage fcontext --add -t virt_image_t '/home/foobar(/.*)?'
. Check and confirm: semanage fcontext -l | grep virt_image_t
. Restore (change effectively) context to virt_image_t: restorecon -R -v /home/foobar
. Confirm: ls -aZ /home/foobar
.– yahol
Mar 30 '18 at 9:25
add a comment |
please use below method
virt-install -n vmname -r 2048 --os-type=linux --os-variant=ubuntulucid
--disk /kvm/images/disk/vmname_boot.img,device=disk,bus=ide,size=40,sparse=true,format=raw
-w bridge=br0,model=e1000 --vnc --noautoconsole
-c /home/ISO/ubuntu-12.04-server-i386.iso
add a comment |
please use below method
virt-install -n vmname -r 2048 --os-type=linux --os-variant=ubuntulucid
--disk /kvm/images/disk/vmname_boot.img,device=disk,bus=ide,size=40,sparse=true,format=raw
-w bridge=br0,model=e1000 --vnc --noautoconsole
-c /home/ISO/ubuntu-12.04-server-i386.iso
add a comment |
please use below method
virt-install -n vmname -r 2048 --os-type=linux --os-variant=ubuntulucid
--disk /kvm/images/disk/vmname_boot.img,device=disk,bus=ide,size=40,sparse=true,format=raw
-w bridge=br0,model=e1000 --vnc --noautoconsole
-c /home/ISO/ubuntu-12.04-server-i386.iso
please use below method
virt-install -n vmname -r 2048 --os-type=linux --os-variant=ubuntulucid
--disk /kvm/images/disk/vmname_boot.img,device=disk,bus=ide,size=40,sparse=true,format=raw
-w bridge=br0,model=e1000 --vnc --noautoconsole
-c /home/ISO/ubuntu-12.04-server-i386.iso
edited Nov 10 '17 at 10:49
roaima
42.8k551116
42.8k551116
answered Dec 1 '15 at 7:52
Ramesh Chand Kalirawana
483
483
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f126885%2fkvm-guest-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown