LinuxQuestions.org
Review your favorite Linux distribution.
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 10-20-2015, 04:52 AM   #1
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
Virtual Machine install Linux on old machine


I am doing some testing with Linux installation, so chose VMware as virtual machine.

Suppose I installed a Linux distro on my VM with 3 partitions i.e. /, /home, swap

Now I want to test different distro on it with just formatting & installing the / partition while keeping other partitions as it is.

Now I would like to know if it is possible in any virtual machine like VMware so that I can install my new distro on already installed distro ?
 
Old 10-20-2015, 05:20 AM   #2
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by Harshit_24 View Post
I am doing some testing with Linux installation, so chose VMware as virtual machine.

Suppose I installed a Linux distro on my VM with 3 partitions i.e. /, /home, swap

Now I want to test different distro on it with just formatting & installing the / partition while keeping other partitions as it is.

Now I would like to know if it is possible in any virtual machine like VMware so that I can install my new distro on already installed distro ?
If I understood your question, then yes. A VM behaves like any other physical machine in this regard. If the installer of the distro supports it, then you just tell it to "use partition /dev/sdX as home and don't format". The only thing you need to be aware of is that RH based distros start with uid 500 IIRC and Debeian based ones with 1000 for normal users. So you might need to change the owner of /home/user afterwards if you want to reuse it.
 
1 members found this post helpful.
Old 10-20-2015, 05:49 AM   #3
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
@hortageno, I don't know how to install another distro on that particular already installed VM distro. Ex: Currently I have CentOS installed on VM, now on the installation, I want to change it to Debian with only / partition while keeping /home & swap safe.

I don't know how to provide the path of Debian to the installed CentOS distro.
 
Old 10-20-2015, 06:27 AM   #4
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by Harshit_24 View Post
@hortageno, I don't know how to install another distro on that particular already installed VM distro. Ex: Currently I have CentOS installed on VM, now on the installation, I want to change it to Debian with only / partition while keeping /home & swap safe.

I don't know how to provide the path of Debian to the installed CentOS distro.
I'm not familiar with VMWare, but in VirtualBox you assign an ISO or the physical CD drive to the VM's CD drive and boot from that. This link might help you.

http://www.isunshare.com/blog/how-to...so-image-file/
 
1 members found this post helpful.
Old 10-20-2015, 06:48 AM   #5
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Thanks @hortageno, that's what I wanted!!
 
  


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
how to know the remote machine is Virtual machine or physical machine pantdk Linux - Server 19 10-16-2014 01:48 PM
Not able to run virtual machine manager on linux machine. kavyashree A P Linux - Kernel 1 05-11-2014 04:56 AM
how to install virtual machine in linux gagandch99 Linux - Software 3 06-08-2012 10:13 AM
I am not able to ping windows machine through my virtual redhat linux machine which vasant1984 Linux - Newbie 2 04-25-2012 10:46 AM
Interconnect a Virtual machine in linux to Real machine in windows xp lola1987 Linux - Networking 2 06-05-2011 03:31 PM

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

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