LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-08-2010, 08:24 PM   #1
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Rep: Reputation: 40
simple KVM script


Hi group,

I'm attempting to run a simple KVM script to boot a Debian partition.
The script looks like this:
Code:
#!/bin/bash

CMD='virt-install \
              --connect qemu:///system   \
              --name demo                \
              --ram 500                  \
              --disk path=/dev/sda5      \
              --network network=default  \
              --virt-type qemu           \
              --os-variant debianlenny   \
              --import'
echo $CMD

$CMD
When I start the VM I get messages that the machine is booting but never get the Grub menu.

Any ideas??

Thanks for your time.
 
Old 07-09-2010, 07:00 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
enable vnc and try to run virt-viewer on the VM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM-85 and using SlackBuilds kvm (83) script Chuck56 Slackware 2 04-22-2009 02:24 PM
Need help getting started simple simple shell script dhonnoll78 Programming 6 12-17-2007 06:34 PM
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 05:19 AM
script controlled KVM switch? monkeybus Linux - General 3 09-14-2006 04:49 AM
Simple C Shell script is not so simple elconde Programming 2 09-17-2001 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration