LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-02-2006, 10:16 PM   #1
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Rep: Reputation: 0
Upgrade RedHat 8.0 -> FC5 question.


Can I install FC5 over an existing RedHat 8.0 installation without destroying extraneous data on the partitions?

I have a poorly partitioned existing RAID install that I'd like to salvage. The OS was installed on the same partition with data.

Is is possible to do this with minimal risk to the data?


thanks
Pat
 
Old 09-02-2006, 10:28 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Yes, but you should backup your data anyway (failures can occur). Also, if you're running ext2, after the upgrade you should add a journal (see 'man tune2fs') and remount as ext3.

In general, I always recommend a clean install - it prevents the accumulation of no longer referenced files, and insures an optimal configuration (ext3, LVM2, grub, etc.).
 
Old 09-02-2006, 11:57 PM   #3
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Yes, thanks, I do have a backup and the system is already on ext3.

I assumed that this would probably work but just thought I'd ask to make sure that the install doesn't wipe out the partition unecessarily.

What about booting from the DVD and manually removing the old OS files before the new installation?


Pat
 
Old 09-03-2006, 12:18 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You are given the option of installing to the existing partition, or wiping the partition. Removing the old files manually is problematic. You probably want to keep some (like non-rpm installs), as well as configuration data - what's in /etc for example. However, many packages have been obsoleted in the last few years, so you'd have to sift through it carefully (a time consuming process).

That's the reason I recommend a clean install. You can even install multiple times, making sure you're happy with the configuration, then restore the data and configure services. Of all the ways I've done upgrades, this is the fastest (I can usually get a typical server done in a day, two if I'm taking my time).

One of the things I started doing during an upgrade like this is configuring a virtual system on another server first. Restore the data to the virtual system, and configure it so that you are happy. Then switch the virtual server in to handle the real servers work, while the real server is being upgraded. The upgrade requires two brief outages, but no loss of service and no overtime work. It also tests the restore process before shooting yourself in the foot. You move from a stable position to a stable position. The real server gets upgraded faster, because you already created new (working) configurations on the virtual server.
 
Old 09-03-2006, 12:18 PM   #5
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks again. I don't need to keep any existing OS configuration or packages - it's a pretty basic install and to the extent that I can clean it out in the upgrade that is good. I just want to try to preserve the user data on the same partition if possible. The reason is that it is a terrabyte raid and, while I do have backups of the important stuff, rebuilding it would be time consuming.

Since I don't care about the existing config I thought it might be a good idea to boot from a DVD and just manually remove the OS files first... to clean house. e.g. /boot /System /bin, etc.

I do know Unix pretty well, I'm just not familiar with the Redhat installer and thought I'd get advice before beginning this adventure

Do you think that this (removal) step is unecessary and the installer will do a decent job of overwriting the old files?

If not, is it possible to get a shell from the install DVD or would I need to use a live distro of some kind?



thanks,
Pat
 
Old 09-03-2006, 02:38 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The removal step is unnecessary - the installer (anaconda) generally doesn't have a problem. FC5 has both a liveCD and liveDVD available if you want to perform a manual cleanup first.

You might also want to consider using the re-spin install DVD on that page - it has all of the maintenance already applied (as of 08-18-2006). This will save you the time-consuming step of downloading and applying almost a gigabyte of updates after the install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Upgrade to FC5? brunog Fedora 4 04-30-2006 05:14 AM
Should I or Should I not upgrade to FC5? ShotGun Fedora 7 03-28-2006 03:35 PM
Upgrade to FC5,no go dareino Fedora 9 03-22-2006 08:56 AM
RedHat upgrade 8->9 question scartled Linux - Newbie 2 03-22-2004 10:55 AM
Upgrade question for RedHat 7.1 to 7.2 thegreenearth Linux - Newbie 1 03-04-2002 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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