LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-30-2006, 12:01 PM   #1
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Rep: Reputation: 15
Is there a System Restore Utility for Fedora Core 5?


Hello everyone,

I finally got the NDIS Wrapper working on my system, I still have to log in the shell everytime I start my system, by doing: su -c 'bash -l', and then doing modprobe ndiswrapper and setting up the rest of the ifconfig and wconfig values for my network. Once I do this it works so I don't want to lose my work and was wondering if there was a systemrestore like utility for Linux? I plan to set up my system in a LAMP configuration and wanted to be able to save my system before I ventured any further. I been using linux for just 2 weeks so any detailed help will be most appreciated.

PS: I'm running the x86 32bit version of Fedora Core 5
Also for those who are still having trouble installing the kernel sources as I was, try: su -c 'yum install kernel-devel', su -c 'yumdownloader --source kernel' from the release notes just wont work, and installing the sources through RPM requires skills well beyond those of a newbie like me.

Last edited by YAOMK; 04-30-2006 at 12:10 PM.
 
Old 04-30-2006, 12:50 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You can add the commands you do to /etc/rc.local and they will run at each startup.
There are many backup tools some with guis and many as command lines. Goto http://www.google.com/linux and search for backup tools or software. Many use the tar command to backup with.

Brian1
 
Old 04-30-2006, 12:57 PM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I use http://www.mondorescue.org/ as a replacement for Norton Ghost. To install under FC5 you'll need to FTP download:
afio-2.5-0.fc4.i386.rpm
buffer-1.19-0.fc4.i386.rpm
mindi-1.0.7-495.fc5.i386.rpm
mondo-2.0.7-495.fc5.i386.rpm
and install them with rpm -Uvh

Afterwards you can start the prog with:
/usr/sbin/mondoarchive
or begin a partial/file restore with:
/usr/sbin/mondorestore

In addition to (optionally) making boot floppies, the backup process creates mondorescue.iso in:
/root/images/mindi
which should be burned to CD and booted to restore entire partitions.

Anyway, only other thing off top of my head to remember is if using a dvd burner when promped enter /dev/dvd and you should be off to the races. Of course, it's not really for daily backups... better used to save a "snapshot" of the systems' current state. Sure does save a lot of time if you have to reinstall though.
 
Old 04-30-2006, 12:59 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
mondorescue and I believe mindirescue are great simply tools.

Thanks for a reminder there Crito
Brian1
 
Old 04-30-2006, 04:09 PM   #5
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Original Poster
Rep: Reputation: 15
Many thanks for your fast response, Brian and Crito, I will give mondorescue a try. Also thanks Brian for your help with the locations to store my commands so they are run on startup. Best regards,
 
Old 04-30-2006, 06:37 PM   #6
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Original Poster
Rep: Reputation: 15
Brian, I tried storing my scripts in the /etc/rc.local file as follows:

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
#bash -l
#depmod -a
#modprobe ndiswrapper
#ifconfig eth0 down
#ifconfig wlan0 up
#iwconfig wlan0 key 0353003530
#iwconfig wlan0 essid MMDR-HOME
#dhclient wlan0
touch /var/lock/subsys/local

and tried restarting my system but the ndiswrapper shell still did not log, could you please point what I may be doing wrong? (I tried the same on my terminal just going as root and it all works)
 
Old 04-30-2006, 09:52 PM   #7
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
I believe you should remove the '#' entry from your commands. Its used just to 'comment' things (like providing some info..).
 
Old 05-01-2006, 02:46 AM   #8
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks Shrikant.odugoudar and please pardon my ignorance of the comment symbol. I did remove the # from each of my commands but now upon startup I keep getting this blue screen right after my wireless card lights up, I'm asumming I needed to add my commands to the end of the file, right after: touch /var/lock/subsys/local, I will re-install FC5 install the NDIS Wrapper again and do the back up with Mondorescue before I try this again.
 
Old 05-01-2006, 03:26 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Might need to add a pause after each of the commands before the next command runs. You can use one of the following lines between each command.
sleep 3
or
ping -c3 127.0.0.1 > /dev/null

Example:
modprobe ndiswrapper
ping -c3 127.0.0.1 > /dev/null
ifconfig eth0 down
ping -c3 127.0.0.1 > /dev/null
ifconfig wlan0 up
ping -c3 127.0.0.1 > /dev/null

Also I do not think you need to do the bash line and not sure if you need to do depmod -a each time. You only need to run depmod -a once after the install. Once it is run it generates a new module device map for that kernel that is in your /boot directory. The bash might be the issue and the timing to execute each command. Sometimes it takes a bit of time to registry a new ethernet device so pause helps.

Brian1

Brian1

Last edited by Brian1; 05-01-2006 at 03:28 PM.
 
Old 05-06-2006, 02:49 PM   #10
YAOMK
Member
 
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Original Poster
Rep: Reputation: 15
I followed your advice and everything works now. Thanks for all your help.
 
Old 05-19-2006, 04:33 PM   #11
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Thought I'd share a picture (not screenshot, hehe) of something I hope you never have to see.
http://4crito.com/screenshots/mondo.jpg

Worked perfectly though. Burned the mindi boot iso in root's home dir to a mini 185MB CD-R and performed a "hot" backup straight to a blank 4.7GB DVD+RW using maximum compression. So, after hosing up my 'puter good, just popped in mini CD-R, rebooted, reformatted partitions and restored from DVD+RW. Done in under 30 minutes and I'm back to a fully updated and tweaked system state too. Handled all the weird LVM (logical volume management) partition stuff and everything.

Needless to say I'm a happy mondo rescue user.
 
  


Reply



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
Complete system lock in Fedora Core 5 Theoscion Fedora 8 05-16-2006 02:37 PM
Fedora Core 4 as host system Badut Linux From Scratch 4 04-11-2006 12:10 AM
Fedora Core 4, X freezing system PowerMatt Fedora 6 06-20-2005 10:06 AM
utility to partition & format Mac PPC compatible partitions from Fedora Core 3 tuxfriend2 Linux - Software 1 06-10-2005 03:59 PM
fedora core 2 system lock-up leon_leon Linux - Newbie 1 11-15-2004 12:47 PM

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

All times are GMT -5. The time now is 03:59 AM.

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