LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2015, 09:20 AM   #1
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Rep: Reputation: Disabled
CentOS VM install: Need OVA file, can find only .torrent files


(The OVA should read OVF in the subject).
I'm trying to install CentOS as a VM. Have VirtualBox installed and it wants .ovf file but I can find only .torrent files. Can the .torrent file be used or do I need a .ovf file?

Last edited by gtaylor828; 01-07-2015 at 09:39 AM.
 
Old 01-07-2015, 10:38 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
Why not install from the ISO?

If you must use an OVA or OVF, understand that an OVA is a tar compressed file that contains typically .ovf .vmdk and .mf files.

You can untar an .ova with this command:
Code:
tar xvf ./*.ova
A .torrent is a method to download files with a p2p program. "Transmission" is a popular torrent program.

In my experience, using OVA / OVF files in virtualbox is hit and miss depending on the vendor that created the OVA/OVF. OVA's/OVF's on the internet are typically packaged for VMWare.
 
Old 01-07-2015, 10:58 AM   #3
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
VM CentOS install recommendation?

What would you recommend?
Here's how I came to ask the initial question:
I want VM CentOS on a Win7 machine.
Someone recommended installing VirtualBox and then CentOS.
VirtualBox wants a .ovf file (Import Appliance ...)
Is there a way to install VM CentOS from an ISO file?
 
Old 01-07-2015, 11:13 AM   #4
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
Quote:
Originally Posted by gtaylor828 View Post
[...]
Is there a way to install VM CentOS from an ISO file?
Absolutely, that would be the preferred method. Download a CentOS ISO file. Since you are just playing, go ahead and do the 32bit version -- it will reduce any possible issues since you are beginning. If you have problems with CentOS 7, try CentOS 6 -- sometimes virtualization does not handle the latest as well as it does the previous (seldomly).

Create a New VM and choose Linux then "RedHat" since you are using CentOS. All the defaults should be fine except maybe more memory if you can spare it.

After the new VM exists, go into the "Storage" tab and set the CD: Highlight the "Empty", then click the little icon-picture of the CD and select the ISO you downloaded.

Now you should be able to start the new VM you created and it should boot from the virtual CD allowing you to install.
 
1 members found this post helpful.
Old 01-07-2015, 12:48 PM   #5
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
Does the ISO install create the VM?

I started the CentOS 7 install (from reboot) and aborted when it asked which hard drive to use. Didn't want to risk overwriting existing stuff. It would be reassuring for it to ask about the VM setup earlier in the process.
Does an install like this support using a VM?
 
Old 01-07-2015, 01:24 PM   #6
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
noooo don't install on your physical machine, install in a Virtualbox VM. you'll need to follow the VirtualBox documentation if you really don't "get" this scenario. Think of virtualbox just as that, a virtual-computer... virtualbox is a program emulating a computer inside a window.
 
1 members found this post helpful.
Old 01-07-2015, 01:57 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,019

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
well if you INSTALL centos7 to the HARDDRIVE and wipe out Windows 7
then YES CentOS can use KVM ( built into cent) to run windows7 AS A VIRTUAL INSTALL!!!
 
1 members found this post helpful.
Old 01-07-2015, 02:12 PM   #8
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
Quote:
Originally Posted by John VV View Post
well if you INSTALL centos7 to the HARDDRIVE and wipe out Windows 7
then YES CentOS can use KVM ( built into cent) to run windows7 AS A VIRTUAL INSTALL!!!
lmao, yes, BUT don't confuse this poor guy -- he WANTS a virtual centos on a physical win7
 
1 members found this post helpful.
Old 01-07-2015, 02:20 PM   #9
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
What about GNOME?

I think I got through the install under the VM without doing any damage but there doesn't seem to be an X window manager. The ISO was a "minimal" set, so maybe that wasn't included. I'm going to get the 3.7G version and try that.
 
Old 01-07-2015, 02:46 PM   #10
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
You probably had to checkmark to install a Desktop Environment when you installed. Since you did not, you can probably install it at the commandline:
Code:
sudo yum install gnome-desktop
But you can of course try the larger iso if you've already deleted/re-started.

Since you sound like a true ground-zero beginner, i will share this: I have find that beginner's often need to start with distros that are almost fully pre-configured. Xubuntu, LinuxMint XFCE, or Fedora or my recommendations for beginners.

RedHat, CentOS, Fedora are of one Family. If you want this family, I recommend Fedora for a Desktop.

Ubuntu, Mint, Debian are of another Family. If you want this family I recommend LinuxMint XFCE.

Your freind has recommended CentOS. CentOS is a great stable distro, binary compatible with RedHat Enterprise Linux. However, i find it is best suited to server, because there is much less desktop pre-configuration. Things often don't "just work". For that reason you should consider my above recommendations.

Also you should note that graphics especially 3D graphics & compositing will not work so well or or maybe not at all in a Virtual Machine.

Using a linux in a virtual machine is a great start, but when you are ready for fancy graphics or games, you'll need to graduate to a physical machine.

Last edited by sudowtf; 01-07-2015 at 02:47 PM.
 
1 members found this post helpful.
Old 01-07-2015, 03:31 PM   #11
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
CentOS is the target because RHEL experience is listed for a position I'm considering.
I tried the big-file install and it doesn't recognize startx.
The command string you gave me doesn't work; it can't resolve the link to mirrorlist.centos.org.
Is there a way to fix that or get it to look at the DVD?
 
Old 01-07-2015, 04:02 PM   #12
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
Most probably, your virtual network (vNIC) needs to be set to NAT with an Intel Pro/1000. That should give your VM internet access. (Configure your VM via the Virtualbox Networking tab)
 
1 members found this post helpful.
Old 01-07-2015, 05:17 PM   #13
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
The networking setup is
Attached to: NAT
Adapter type: Intel PRO/1000 MT Desktop (82540EM)
 
Old 01-08-2015, 07:39 AM   #14
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
Quote:
Originally Posted by gtaylor828 View Post
The networking setup is
Attached to: NAT
Adapter type: Intel PRO/1000 MT Desktop (82540EM)
That's how mine is and it works. (of course my hosts are linux and osx, not windows)

Is it working yet? If not, is "enabled" and "connected" both checkmarked on (vbox network tab)?

What is your guest IP and contents of /etc/resolv.conf ?

This is starting to feel like a crash course in virtualization AND linux! You're doing good, jumping head first learning as you go. Hope you learn enough for the gob, but there is a whole universe yet to learn.

Last edited by sudowtf; 01-08-2015 at 07:44 AM.
 
1 members found this post helpful.
Old 01-08-2015, 08:43 AM   #15
gtaylor828
LQ Newbie
 
Registered: Jan 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sudowtf View Post
is "enabled" and "connected" both checkmarked on (vbox network tab)?

What is your guest IP and contents of /etc/resolv.conf ?
It's not working.
The checkboxes for Enable Network Adapter and Cable Connected are checked.
The /etc/resolv.conf file exists but has no content.

Question: It would be nice to get the network to work but there are a lot of gnome-<name>.rpm files in the /packages directory of the install disk. Is it possible to get what's needed from that?

Thanks for the continued help and encouragement.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to archive torrent file + the iso files , like the ova archive of virtual box jheengut Linux - Software 2 12-22-2013 05:04 PM
Install Centos issue: in httpd and ftpd can't find install.img manuce Linux - Newbie 5 05-25-2013 06:34 PM
How to install Fedora Core 6 Zod torrent file Peter_APIIT Linux - Software 3 02-03-2007 08:37 PM
cannot find dependent files for Mplayer for CentOS-3(redhat el-3?) rolandkirk55 Linux - Software 1 08-15-2004 08:41 AM


All times are GMT -5. The time now is 07:05 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