LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 08-11-2005, 10:40 AM   #1
chrisq0
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Basic questions about updating Fedora Core


Hello,

I want to know if I should update Fedora cores. I installed Fedora 2 on a new x86-64 machine last October. Since then I have done no updating just adding a few applications (JBuilder, xmgrace, and some academic software) by compiling them from source. I now want to use Anjuta for C++ development. I found an Anjuta rpm from FC3 but it requires various dependencies. Is it now time that I update my core straight to 4? or should I just track down and install only the required depedencies. If I update will I lose my non standard applications? If updating is the way to go how do I back up beforehand? I have a CD writer but I have not yet burned anything with it.

Sorry for my ignorance,
Chris
 
Old 08-11-2005, 11:05 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,547

Rep: Reputation: 180Reputation: 180
"Since then I have done no updating just adding a few applications (JBuilder, xmgrace, and some academic software) by compiling them from source. I now want to use Anjuta for C++ development. I found an Anjuta rpm from FC3 but it requires various dependencies. Is it now time that I update my core straight to 4? or should I just track down and install only the required depedencies. If I update will I lose my non standard applications?"

If you update Fedora you will probably have to recompile the applications that do not come with Fedora.
The Anjuta rpm for FC3 will rquire some dependencies to be installed. So it comes down to a tradeoff whether it is easier to install all of the Anjuta dependencies or compile all of your own applications.

A third possibility is you could get the source tarball for the latest version of Anjuta and compile it on your Fedora 2 system.

"If updating is the way to go how do I back up beforehand? I have a CD writer but I have not yet burned anything with it."

You should have a backup system in place already. Then you don't have to do anything special when you upgrade Fedora, just make sure that your latest backup is up to date. When I ran Fedora I backed it up on 3 CD-RWs. I created a script which uses tar to pack the files, mkisofs creates the ISO image, cdrecord blanks the CD, and then cdrecord writes the CD. I split up /usr and wrote it to 2 CDs. The rest of the system went on the third CD. You may have to do some experimenting to find the optimal way to spread your backup across 2 to 4 CDs depending on your system size.

I have set up the same CD-RW backup using k3b. I went back to the script because it is easier to use than the GUI.


----------------------------
Steve Stites
 
Old 08-11-2005, 11:22 AM   #3
chrisq0
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for replying,

I did try compiling Anjuta from source but in configuration it failed to find some required libraries. I may have another look at it.

As you suggest I wil get a backup system sorted out before updating Fedora. Would you mind posting your script? If not it will be good for my soul to try writing my own.

Best Wishes,
Chris
 
Old 08-11-2005, 04:39 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,547

Rep: Reputation: 180Reputation: 180
"As you suggest I wil get a backup system sorted out before updating Fedora. Would you mind posting your script? "

There are a lot of backup/recovery scripts on the Internet. In my opinion Mondo is the best.

http://www.mondorescue.org/

Here are the two scripts that I use on my SuSE system. Their predecessors worked OK on Fedora. When I switched from Fedora toSuSE I reduced the number of scripts from 3 to 2 and load balanced the CDs differently. I use an empty partition mounted on /makeCD as a work area, which you will have to change. Also I keep track of my backups in /root/data/backups which you probably don't have.

First script
=================================================================================
# This command backs up Linux to CD-RW as gzip tarballs

# Change tar-a.cd-rw.backup date
touch /root/data/backups/tar-a.cd-rw.backup.date

tar -czf /tmp/bin.tar.gz /bin

tar -czf /tmp/boot.tar.gz /boot

tar -czf /tmp/dev.tar.gz /dev

tar -czf /tmp/etc.tar.gz /etc

tar -czf /tmp/home.tar.gz /home

tar -czf /tmp/lib.tar.gz /lib

tar -czf /tmp/opt.tar.gz /opt

tar -czf /tmp/root.tar.gz /root

tar -czf /tmp/sbin.tar.gz /sbin

tar -czf /tmp/srv.tar.gz /srv

tar -czf /tmp/sys.tar.gz /sys

tar -czf /tmp/var.tar.gz /var

# The creation date of /cdrom/cd-rw.tar-a.backup.date is the date the CD-RW tar
# backup was created.
touch /tmp/cd-rw.tar-a.backup.date

# Create a CD image file
mkisofs -o /makeCD/cd.image -r \
-U \
-V SuSE_backup \
/tmp/cd-rw.tar-a.backup.date \
/tmp/bin.tar.gz \
/tmp/boot.tar.gz \
/tmp/dev.tar.gz \
/tmp/etc.tar.gz \
/tmp/home.tar.gz \
/tmp/lib.tar.gz \
/tmp/opt.tar.gz \
/tmp/root.tar.gz \
/tmp/sbin.tar.gz \
/tmp/srv.tar.gz \
/tmp/sys.tar.gz \
/tmp/var.tar.gz

# Erase a blank CD-RW
cdrecord -force blank=fast dev=/dev/cdrecorder speed=24 gracetime=2

# Copy the CD image file to CD-RW
cdrecord -data -eject speed=24 dev=/dev/cdrecorder /makeCD/cd.image gracetime=2

# Clean up
rm /makeCD/cd.image
rm /tmp/*.tar.gz
rm /tmp/cd-rw.tar-a.backup.date

=================================================================================

Third script
=================================================================================
# This command backs up Linux to CD-RW as gzip tarballs

# Change tar-b.cd-rw.backup date
touch /root/data/backups/tar-c.cd-rw.backup.date

tar -czf /tmp/usr.tar.gz /usr

# The creation date of /cdrom/cd-rw.tar-c.backup.date is the date the CD-RW tar
# backup was created.
touch /tmp/cd-rw.tar-c.backup.date

# Create a CD image file
mkisofs -o /makeCD/cd.image -r \
-U \
-V SuSE_backup \
/tmp/cd-rw.tar-c.backup.date \
/tmp/usr.tar.gz

# Erase a blank CD-RW
cdrecord -force blank=fast dev=/dev/cdrecorder speed=24 gracetime=2

# Copy the CD image file to CD-RW
cdrecord -data -eject speed=24 dev=/dev/cdrecorder /makeCD/cd.image gracetime=2

# Clean up
rm /makeCD/cd.image
rm /tmp/*.tar.gz
rm /tmp/cd-rw.tar-c.backup.date

=================================================================================


------------------------------------
Steve Stites
 
Old 08-11-2005, 04:53 PM   #5
chrisq0
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
That is a great help. I will have a go at modifying those for my system.

Many Thanks,
Chris
 
  


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
Fedora Core 4 - is K3b in the basic pack? agomes Fedora 3 06-15-2005 10:49 AM
Updating Fedora Core 3 kernel odiseo77 Fedora 7 03-28-2005 06:58 AM
updating fedora core 3 kernel ksr Fedora 3 02-10-2005 06:31 AM
Updating Fedora Core 3 Doug.Gentry Fedora 4 12-23-2004 11:46 PM
Updating Fedora Core 2 Alf829 Linux - Software 4 09-08-2004 07:59 AM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration