Solved

reinstalling linux RH

Posted on 2000-02-26
8
240 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
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
 

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SIP Trunk provider 20 93
Problem to event 3 49
Assess most serious Linux privilege escalation bug 17 92
Making an alias 7 52
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now