Tuesday, 15 May, 2012 | 11 Comments Centos-6.2-x86_64-minimal available! New Centos-6.2-x86_64-minimal Hyper-V VHD available. Proceed to the (new!) download section to grab your copy. Release Notes: This marks the release of the first publicly available CentOS 6.2 X64 minimal Hyper-V VHD. Simply download and deploy the VHD to your own virtualized environments. I wish to also particularly thank all the Linux SA meeting participants for attending this meeting and the organizer for making it possible: you know who you are ๐ What did you do! The release consists of a vanilla Centos-6.2-x86_64-minimal.iso installed into a Dynamic VHD created with Microsoft Windows 2008 R2 SP1 Server with the Hyper-V role enabled. During the setup process: I created a custom partitioning scheme (refer to the image below for further details). I assigned the password "p@ssw0rd" (without double quotes) to the root user. I installed the Linux Integration Services for Hyper-V 3.2. All the rest is totally vanilla and all the setup options were left at default (Timezone, Computer name, etc.). The Scheme. The Story so far... The following is the "history" of the commands executed after the Centos-6.2-x86_64-minimal.iso setup process. 1st login session as root user: echo -e "- Login with root/p@ssw0rd" >> etc/issue echo -e "Mounting Linux Integration Services for Hyper-V 3.2." mount -o ro /dev/sr0 /media echo -e "Installing Linux Integration Services for Hyper-V 3.2." cd /media ./install.sh echo -e "Linux Integration Services for Hyper-V 3.2 installed successfully. Rebooting." reboot 2nd login session as root user: echo -e "Manually removing /etc/ssh/ssh_host*key* - automatically recreated at 1st boot." rm -f /etc/ssh/ssh_host*key*; echo -e "Shutting down. Parent VM ready for deployment." halt You may also wish to. 1) Setup networking: read my previous article about CentOS Networking. 2) Setup your timezone. At a root prompt, type: mv /etc/localtime /etc/localtime.ori ln -s /usr/share/zoneinfo/Pacific/Adelaide /etc/localtime 3) Change your root password and remove the welcome message from /etc/issue. At a root prompt, type: passwd root nano /etc/issue 4) Setup your locale (lang, keyboard, etc.). At a root prompt, type: yum install system-config-language system-config-keyboard 5) Install a complete Desktop System (prepare for a deluge of traffic!). At a root prompt, type: yum groupinstall basic-desktop general-desktop internet-browser office-suite Security: Centos-6.2-x86_64-minimal-dist.vhd MD5SUM = c0144cc8b399cc90ade6ebdbe78b0c50 Verify with http://www.nullriver.com/downloads/Install-winMd5Sum.exe Rate this post Andrea MatesiSenior Professional Network and Computer Systems Engineer during work hours and father when home. Andrea strives to deliver outstanding customer service and heaps of love towards his family. In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format. Share this:LinkedIn Related
Hello Shawn and thanks for trying CentOS 6.2 vhd. Did you add a "Synthetic Network Device" or a Legacy-one to your VM? Loading...
I've tried both, using the official iso I am able to get only DHCP working with the minimal build after the first reboot. Its strange since you can ping it just fine from an external server while its installing but once it does that first restart nothing seems to be able to fix the network. I can however install the full desktop version, Linux IC + and utilize the built in network tools in the desktop version which does bring the network online. Static IP's just do not seem work with Hyper-V and the CentOS 6.2 minimal build. Loading...
Hello Shawn, I've just created a new vm by plugging this VHD and by plugging an External "Synthetic Network Interface" and it worked out-of-the-box. I used Win2k8 R2 SP1 w/the Hyper-V role enabled. Please note this VHD already has the IC v.3.2 installed, just remember to remove the RO-attribute from the VHD file ๐ To configure your network interface from the CLI, refer to this article: http://www.pwrusr.com/system-administration/solved-centos-6-networking-and-hyper-v Cheers. Loading...
Same problem here. Running on the same platform as you Shawn but when I log into the CentOS VM there is no eth0 interface shown when looking at ifconfig. I've tried both the virtual and synthetic interfaces. Loading...
Hi Amatesi, Just a note to say I got this working. What I had to do was create a legacy network adaptor for the VM, assign a static MAC and then reference that MAC address in my ifcfg-eth0 config file. After a reboot it worked perfectly. Many thanks, Josh Loading...
Hi all, I had the same problem with the network interface not being found. Grepping /var/log/messages shows that eth0 has been renamed to eth1. Tryed #ifconfig eth1 up and all went ok ๐ Enjoy! Loading...