LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-14-2009, 02:39 PM   #1
toga
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Question Virtual Howto Examples.


Would it be possible to set up a thread of virtualization examples for installation of the different Linux distros?

It would be very helpful if the examples followed a standard format so comparisons could be easily made. Also specific window managers don't help if the example is for a Gnome WM and and the user is using KDE. What program is actually being used to perform a step or function would help for understanding the whole process.

The 2 most popular Linux distros today are Ubuntu and Fedora. Maybe the first 2 examples could be setting up (1)Ubuntu to run a virtual Fedora and setting up (2)Fedora to run a virtual Ubuntu.

Thanks

Last edited by toga; 10-14-2009 at 02:40 PM. Reason: spelling error
 
Old 10-14-2009, 04:10 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Installing a "virtual" distro is the same as installing a "real" one, once you've set up the virtual hard drive to install it to.
 
Old 10-14-2009, 11:34 PM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Quote:
The 2 most popular Linux distros today are Ubuntu and Fedora.
I hope this based on your assumption however i think in desktop (personal pc) side, may be these two are popular but in Server side i don't think so these are more popular.

Quote:
installation of the different Linux distros
Yes you can install different operating system within virtual environment, there are some opensource softwares available (try the virtualbox)
 
Old 10-15-2009, 06:44 AM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
you mean someting like http://www.howtoforge.com/howtos/virtualization ?
 
Old 10-15-2009, 08:05 AM   #5
steve02169
Member
 
Registered: Feb 2007
Location: Quincy, MA USA
Distribution: Fedora Core 6
Posts: 96

Rep: Reputation: 15
I've run into issues installing guests on VBox and certainly there will always be issues and limitations configuring networking and probably usb as well. I think this is a good idea and would volunteer to contribute of others are interested.
 
Old 10-15-2009, 06:56 PM   #6
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
I just loaded VirtualBox on Ubuntu 9.04 to try it out. Pretty good stuff.

I've been trying to learn more about partitioning disks with RAID, LVM and Encryption, and getting no help in these forums.

I think that the virtualization programs like Virtualbox could really help all of us out in creating better Wiki documentation of the various installation procedures. We don't often get to see a lot of graphical representations of the Text-based debian installer, used on the Ubuntu Alternate disk, and having some snapshots of the installation steps in help.ubuntu.com and ubuntuforums.org would be really CLEAR and helpful.

If Virtualbox would allow me to define disks beyond what I found was IDE Primary Master, IDE Primary Slave, IDE Secondary Slave, then some examples of the complex RAID, LVM and Encryption configs could be documented and run in VirtualBox. We could easily develop complex kickstart and preseed installation scripts without being tied directly to the keyboard and monitor of the target machine.

Last edited by ermeyers; 10-15-2009 at 07:13 PM. Reason: small add
 
Old 10-16-2009, 01:16 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by ermeyers View Post
If Virtualbox would allow me to define disks beyond what I found was IDE Primary Master, IDE Primary Slave, IDE Secondary Slave ...
Don't you have the option in the Hard Disks section to enable an additional virtual controller which may be SATA or SCSI? I have, after installing from VirtualBox-3.0.6-52128-Linux_x86.run.
 
Old 10-16-2009, 06:39 AM   #8
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by catkin View Post
Don't you have the option in the Hard Disks section to enable an additional virtual controller which may be SATA or SCSI? I have, after installing from VirtualBox-3.0.6-52128-Linux_x86.run.
No. I have three slots Pri-M/S and Sec-S. I have Virtualbox Open Source Edition (OSE) version is 2.1.4_OSE. http://www.virtualbox.org/wiki/Editions

From the User guide PDF: "In VirtualBox, each virtual machine has one IDE controller enabled by default. You can therefore connect up to four virtual storage devices to a virtual machine. Since one of these (the secondary master) is always configured to be a CD-ROM/DVD drive, this leaves you with up to three virtual hard disks that you can attach to a virtual machine’s IDE controller."

Looks like a configuration change. I'll look. Thanks.
 
Old 10-16-2009, 06:48 AM   #9
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
ermeyers:
Quote:
I think that the virtualization programs like Virtualbox could really help all of us out in creating better Wiki documentation of the various installation procedures. We don't often get to see a lot of graphical representations of the Text-based debian installer, used on the Ubuntu Alternate disk, and having some snapshots of the installation steps in help.ubuntu.com and ubuntuforums.org would be really CLEAR and helpful.
http://wiki.debian.org/LennyIllustratedInstall
go, tell it on the mountain
kidding aside: its for the debian-graphical installer, but besides the ugly background image which will be missing its the same if you go for the text-install.
greetings

Last edited by j1alu; 10-16-2009 at 06:50 AM.
 
Old 10-16-2009, 07:09 AM   #10
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by ermeyers View Post
Looks like a configuration change. I'll look. Thanks.
I looked, and I don't see SCSI or SATA options in this OSE version.
 
Old 09-24-2010, 07:57 AM   #11
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
Thumbs up

del

Last edited by ermeyers; 09-24-2010 at 08:11 AM.
 
Old 09-24-2010, 08:02 AM   #12
ermeyers
LQ Newbie
 
Registered: Oct 2009
Location: Spring City, PA
Distribution: Xubuntu
Posts: 12

Rep: Reputation: 0
Thumbs up [SOLVED] QEMU Virtual Ubuntu-LTSP install with SCSI disks

I've found how to use QEMU (apt-get install qemu) with virtual SCSI disks.

Create 4 disk images of type qcow2:
Code:
qemu-img create -f qcow2 sda_9r1GB.qcow2 9.1G
qemu-img create -f qcow2 sdb_9r1GB.qcow2 9.1G
qemu-img create -f qcow2 sdc_18r2GB.qcow2 18.2G
qemu-img create -f qcow2 sdd_9r1GB.qcow2 9.1G
Using ~/Downloads/xubuntu-10.04-alternate-i386.iso as cdrom image:
Code:
qemu -m 256 -drive file=sda_9r1GB.qcow2,if=scsi,bus=0,unit=0 -drive file=sdb_9r1GB.qcow2,if=scsi,bus=0,unit=3 -drive file=sdc_18r2GB.qcow2,if=scsi,bus=0,unit=4 -drive file=sdd_9r1GB.qcow2,if=scsi,bus=0,unit=5 -boot d -cdrom ~/Downloads/xubuntu-10.04-alternate-i386.iso -soundhw ac97 -net nic -net user
Select F4 Modes: "Install an LTSP Server"

Learn about The Keystrokes and Monitor for QEMU:
* Keys: http://wiki.qemu.org/download/qemu-d...pcsys_005fkeys
* Monitor: http://wiki.qemu.org/download/qemu-d...ys_005fmonitor

The QEMU Monitor screendump command:
Code:
Ctrl-Alt-2 ## switch to Monitor
monitor console
QEMU 0.12.3 monitor - type 'help' for more information
(qemu) screendump current_image.ppm
Ctrl-Alt-1 ## switch to emulation

Last edited by ermeyers; 09-24-2010 at 08:11 AM. Reason: typo
 
  


Reply

Tags
example, howto, virtual



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
LXer: HowTo List Virtual Machines using Python and CIM Part 1 LXer Syndicated Linux News 0 03-24-2009 09:00 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
LXer: Virtual Hosting Howto With Virtualmin On CentOS 5.1 LXer Syndicated Linux News 0 03-04-2008 10:00 PM
howto change virtual Desktop size pingvina Linux - Software 10 02-05-2006 12:52 PM
Soulride Virtual Resort Howto!!! LavaDevil94 Linux - Games 0 10-13-2003 02:59 PM

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

All times are GMT -5. The time now is 04:21 AM.

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
Open Source Consulting | Domain Registration