LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 09-27-2013, 05:17 PM   #1
legacyprog
Member
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: Ubuntu 11.10
Posts: 49

Rep: Reputation: 15
Question Clicking "Install to Hard Drive" does nothing (running CentOS LiveCD in VirtualBox)


OK, this is my first experience running Virtual Box, so I bet this ends up being something stupid (apologies in advance).

I am on a Windows 7 machine, 6 cores, 3.2GHz, 8GB. My Virtual Box 4.2.18 set up went very smooth. I gave it the default 512 MB, a 15+ GB dynamic vdi, gave it the Start, pointed it to my CentOS-6.4-i386-LiveDVD.iso which was mounted on Windows as K: and CentOS came up. I was able to bring up Firefox and browse the Web, the Terminal and do a top and df -h. So I then double clicked on the "Install to Hard Drive" and nothing happened (other than the Virtual Box hard drive and CD icons blinking once). I did a tail -f /var/log/messages and got setenforce notices with livedvd dbus avc and then "Reloaded configuration".

Hopefully this thread will serve as an aid to some future person who happens to make the same mistake.
 
Old 09-27-2013, 11:58 PM   #2
legacyprog
Member
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: Ubuntu 11.10
Posts: 49

Original Poster
Rep: Reputation: 15
OK, I found a work-around (though alternate and quicker solutions are still welcome).

I trashed the original Virtual Box machine, rebuilt a new one the same as described in my original post, but then when starting it I used a different CentOS, namely CentOS-6.4-i386-minimal.iso. Installing that brought me to a raw command prompt, so I logged on as root and found I couldn't get to the Web, so I followed some Google advice to change the VM Network settings to Bridged Adaptor, reboot and edit /etc/sysconfig/network-scripts/ifcfg-eth0 to set-up static IP, edit /etc/resolv.conf with DNS info, and do a service network restart. Finally I used yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" "Internet Browser" and after it installed the hundreds of packages changed /etc/inittab to come up in GUI mode. I also added a non-root user. After another reboot all was great, Firefox working.

In the end I got the same place as I was at hours ago with the Live DVD ISO, but now it's installed and not running live.
 
Old 10-06-2013, 10:09 AM   #3
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 141

Rep: Reputation: 18
Centos minimal ISOs give you exactly what the name suggests: a minimal install. You approach wasn't wrong in case you want to start off with a core system and install only the services and programs you really need.
In case you want to have all the fancy bits installed you probably want to start with the normal standard install ISO. This usually works straight away even in virtualized environments (provided you choose the right options in anaconda or the install menu).
 
Old 10-06-2013, 02:43 PM   #4
legacyprog
Member
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: Ubuntu 11.10
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks dt64 for replying.

Yes, I wasn't really surprised after installing "minimal" that I would have to work my way up to having network access and then the GUI. That was even educational/good practice. What I was surprised at was that I had gotten to the same point earlier (fully functional CentOS with Firefox access to the Web without me even having to do anything) except that it was the LiveCD. I had chosen the LiveCD install for the same reason anyone does for a new real machine, to make sure it would work to some degree (and since I was a newb to Virtualization that seemed to make sense). But then I had trouble going from Live mode to installing on the "drive" (the vdi). So I posted the question here and then later realized I should have tried a non-Live alternative, which I then did.

No big deal, I was just not sure what I was missing. If I wanted to start from scratch again I could try going with the non-Live full install (presumably CentOS-6.4-i386-bin-DVD1.iso). I don't think I will do that just for the sake of it, but if anyone replies to this thread and asks me to I will give it a shot.

Last edited by legacyprog; 10-06-2013 at 02:44 PM. Reason: clarifiication
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14 hard drive "clicking" uBoTo Slackware 7 10-24-2012 03:54 PM
CentOS 5 install issue:: install stops at "running /sbin/loader " linuxandtsm Linux - Newbie 2 07-12-2012 11:15 PM
rhel 5.5 kictart question of "Transferring install images to hard drive" and hostname linux_us Linux - General 2 06-30-2011 07:56 PM
repartitioned xp 2nd hard drive while trying to install Ubuntu-now shows up as "Bad" pulper Linux - Hardware 2 08-23-2006 01:41 PM
mandriva 10.1 install stops at "hard drive detection" Devoid_Janitor Mandriva 0 08-08-2005 11:30 AM


All times are GMT -5. The time now is 10:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration