Solved

reinstalling linux RH

Posted on 2000-02-26
8
244 Views
Last Modified: 2010-04-20
Is it possible to reinstall linux without losing all information, like it is possible to reinstall windows, without losing files and programs.
if so how does one go about.

/k
0
Comment
Question by:k061198
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2562185
That depends on how you set the system up originally. If you took the default and created just one filesystem ("/"), then no. If you created separate partitions for some of the data like "/home" then the contents of /home can be preserved. The install process is going to completely wipe out any of the partitions it will be installing on, so everything on those filesystems will be lost.
0
 
LVL 12

Expert Comment

by:j2
ID: 2562617
uh? restart the install and chose "upgrade" that preserves the user data.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2562649
Well yes, upgrade preserves the data, but to the best of my knowledge it doesn't "re-install" the OS if it's the same version as what's on the CD.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:k061198
ID: 2562691
jlevie, I have seperated partitions, with /home
and /usr and /.
If I reinstall the RH, when I come to Disk Druid
all partiton names are gone. Will It work if I only rename
the / partition with /, and don't give the other partitions any new name and don't include them in  the check. Or what?

/k
0
 

Author Comment

by:k061198
ID: 2562725
jlevie, I have seperated partitions, with /home
and /usr and /.
If I reinstall the RH, when I come to Disk Druid
all partiton names are gone. Will It work if I only rename
the / partition with /, and don't give the other partitions any new name and don't include them in  the check. Or what?

/k
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2562780
Just before you got to the disk druid screen there's an option to either "Remove data" or "Manually partiton". I suspect that you chose "Remove data". The other option would have shown the existing partitions. Disk druid won't assume it knows the mount point for each of the existing partitions, so you set those by selecting each partition and "Edit" the entry.

Once all of the partitions have been edited to set the mount point, the next screen shows which partitions to format. You want to be sure that you uncheck the ones that have data you want to preserve, like /home. The system needs to overwrite / and /usr, so you want to be sure that you've saved any data that's there before re-installing.

A good way of managing a system is to have at least two non-system partitions. I like to use /home and /opt. User dirs, etc go in /home and utilities and applications that don't have to be re-installed just because the the OS was re-installed/upgraded go in /opt. For instance, I need the 128bit version of Netscape rather than the 40bit version furnished w/RH. So I install it in /opt and set my path to find it there before it would find the system copy. Likewise Acrobat, StarOffice, etc all get loaded to /opt. I also create /opt/local and link /usr/local to it so that PD tools don't have to be reinstalled all the time.
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2564014
Greetings.

Assuming 6.1, there's another snag,
in that if you choose a pre-canned configuration (KDE wks, Gnome wks...),
the installation will insist on wiping the partition table. So you have to choose a 'custom' install. One of the first screens also has a lesser known button that allows  fdisk instead of disk druid, which is also a good idea in this predicament.

Cheers,
   alf
0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 2564714
Wrong, the installation will only wipe the partition table if you take the default "Remove data" on the screen before disk druid's screen. If you select "Manually partition" on the screen it leaves the partition table intact.
0

Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question