LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-13-2021, 03:25 PM   #1
TheUndertaker
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Rep: Reputation: Disabled
Installing Centos 4 on Hyper-V


I am trying to install Centos 4 on Hyper-v Windows to support some legacy software.

I see that the isos are located here

https://archive.kernel.org/centos-va...8/isos/x86_64/

But there are multiple isos. When creating a hyper-v machine, it only allows for a single iso to be selected.

What is the best way to install Centos 4 on hyper-v?
 
Old 01-13-2021, 03:45 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I think that this is not different from a physical machine that has a single CDROM drive. You start with ISO 1, then change ISOs as the installation proceeds. With a little luck, though, the first ISO is sufficient to install the OS.

You could try if the DVD torrent helps, though that's not too likely.

Last edited by berndbausch; 01-13-2021 at 03:47 PM.
 
1 members found this post helpful.
Old 01-13-2021, 05:09 PM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,597

Rep: Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545Reputation: 2545

Cross posted:
https://unix.stackexchange.com/quest...s-4-on-hyper-v
and
https://www.linux.org/threads/instal...hyper-v.32505/

 
Old 01-13-2021, 07:53 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Make one disc. https://wiki.centos.org/TipsAndTricks/CDtoDVDMedia


https://www.altaro.com/hyper-v/use-isos-hyper-v/

"Once a virtual machine has been deployed, you can change the contents of the virtual CD/DVD drive any time the VM is off or on (as opposed to saved or paused)."

Or use other means to manage Hyper-v

These windows questions usually get heckled here.

Last edited by jefro; 01-13-2021 at 07:54 PM.
 
1 members found this post helpful.
Old 01-13-2021, 11:05 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Quote:
Centos 4
Really? That's been dead and gone for years.
Current live versions are 7 or 8.
 
Old 01-14-2021, 03:17 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Good point. Guess asking why not update is next question.

I don't know why they "need" such an old version but who knows. We run some very very old stuff. We buy and seem to never change anything.


Those old linux distro's usually get heckled here

I crack myself up sometimes.

Last edited by jefro; 01-14-2021 at 03:19 PM.
 
1 members found this post helpful.
Old 01-14-2021, 09:16 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jefro View Post
Good point. Guess asking why not update is next question.
Original question: "to support some legacy software". We have to assume OP knows better what software they need to support.
 
1 members found this post helpful.
Old 01-14-2021, 10:07 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I knew that. I assume the OP is correct but it is possible that a newer distro could be used.

Last edited by jefro; 01-14-2021 at 10:20 PM.
 
1 members found this post helpful.
Old 01-22-2021, 05:23 AM   #9
TheUndertaker
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks everyone for their replies.

I managed to install the rhel4 image on hyper-v. it was a painful experience. I carried out the following steps

1. Downloaded the full dvd iso from a torrent
2. Created a vm on hyper-v and booted from the iso dvd.
3. After the vm was created, updated the /etc/sysconfig/network-scripts/ifcfg-eth0 file to contain static details of the ip address, gateway and the netmask.
4. Created a windows gateway using the New-NetIPAddress powershell command on the hyper-v
5. Created a static mapping using the Add-NetNatStaticMapping command in powershell
6. Dropped the windows firewall

This enabled me to connect to the rhel4 image!
 
Old 01-22-2021, 03:44 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Thanks for the update and solution.
 
  


Reply



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
Installing CentOS 6.5 to multiple VHDX's on Hyper-V 2012. Is it possible? asilentmurmur Linux - Newbie 5 05-10-2015 02:07 PM
Mounting CD in CentOS on Hyper-V virtual build merlin@home Linux - Newbie 1 09-12-2013 03:42 PM
Centos 6.3 on Hyper-V - Installed LIS 3.4 and lost NIC Communication gcaudle Linux - Virtualization and Cloud 1 11-30-2012 02:54 PM
V2V conversion CentOS on ESXi to Hyper-V? lukester Linux - Virtualization and Cloud 0 06-22-2012 06:20 AM
LXer: Installing Hyper-V Linux Integration Components On CentOS 5 LXer Syndicated Linux News 0 08-05-2009 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 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
Open Source Consulting | Domain Registration