LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   FC11 to FC13 using preupgrade (https://www.linuxquestions.org/questions/fedora-installation-39/fc11-to-fc13-using-preupgrade-813393/)

cod3Monk3y 06-10-2010 12:54 PM

FC11 to FC13 using preupgrade
 
Hello all,

I would like to thank those ahead of time to who take the time to help with this issue.

Earlier this week I began the process of backing up all of my data (music & videos) from my server so I could upgrade to FC13. I forgot to backup
my database data as well as all of the scripts I had running on my Apache server. Keep that in mind.

Last night I was finally ready to do a "preupgrade" from FC11 to FC13 and everything went well. Of course, the first time my box rebooted after doing the installation FC13 ran a little slow but after that all seemed fine. I began the post install cleanup and ran the following command:

package-cleanup --orphans

I was returned a list of packages that should have no longer been used by FC13 and began to delete these packages using "yum remove package1 package2, etc...".

I should have paid better attention but one of those packages began the process of removing ALL packages that were just installed for FC13. Now when I start my box FC13 starts to boot up and once it gets to the kernel screen does nothing further.

I figured one of two things could be done to get FC13 back on my server w/o losing my home directory but I fear all of the data I had stored in my MySQL database and running on my Apache server are gone for good.

What I need help with is what are my solutions if any exists? I think I should be able to do a clean install and FC13 may recognize during the installation process
that I had a previous version installed and maybe "repair" what is currently there?

I am at a lost and hoping someone has seen such and successfully restored the OS w/o losing any data. Please help!!!

Thanks again to all who take the time to provide feedback.

- scgrif32

DrLove73 06-11-2010 03:26 AM

Just download, burn and run Fedora 13 LiveCD and then access and backup your data. Data is NEVER deleted from the HDD when packages are deleted, replaced. Even config files should remain intact.

MySQL databases should be in "/var/lib/mysql/" folder, and Apache site should be in /var/www. I recommend backuping "/etc" and "/var/log" folders also.

Once you have backuped all of your data, start regular FC13 install proces from DVD, but do NOT delete/format partitions. FC13 installer should recognize already installed system and offer to reinstall/repair it. Select that option and you should get working system with all of the data intact. Then check "/var/log/yum.log" to see what packages you have uninstalled that are not installed on repaired system.

cod3Monk3y 08-11-2010 04:58 PM

Fedora - Installation
 
I want to thank you for your suggestion. I was able to back up my data but trying to proceed with the installation proved to be an issue. It appears that my software RAID was messed up some how and now I need to rebuild my server. :(

The good in all of this is I am going to be rebuilding my box on my own this time around without the help of my friend who helped set it up the very first time so I am going to need a lot of help getting started with this.

My original goal was to setup a RAID 0+1 hardware RAID, but found that Fedora had issues with hardware RAIDS (FC11) so we had to setup a software RAID but choose to do RAID 1 (mirroring). Now that FC13 is available does anyone know if fedora is capable of dealing with hardware RAID or RAID 0+1?

I am using a Intel Entry Server Board S875WP1-E along with two 1 TB Western Digital hard drives. I would like to try and setup a hardware RAID if possible given the face that my motherboard has the built in controller to do such. If that is not a go what would you suggest as the best setup for a server that would be used for the following:

Store iTunes library (music/video), web server and personal storage?

All suggestions are appreciated being I don't know the best way to use the most storage and still have a fast server.

Thanks,

Cod3monk3y

DrLove73 08-13-2010 03:39 AM

That board has fakeraid (google it) and using "hardware" they have is nothing more than badly implemented software RAID:
http://linuxmafia.com/faq/Hardware/sata.html, and you would need additional driver for running it.

So you are better off disabling it and using Linux Software RAID. Even performance would be on par or better then fakeraid. Linux Software RAID supports both RAID 1 and RAID 10 (1+0).


All times are GMT -5. The time now is 02:17 PM.