LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-20-2005, 03:32 AM   #1
soheyl
Guest
 
Posts: n/a
Unhappy My hard disk is going to crash!!


Hi
I think my hard disk is going to crash!
I have a Win XP and a Redhat 7.5 on my hard disk and I want to save the files, programs and settings of my Linux. What should I do? Is there any way to mirror the linux?
Any help is highly appreciated!
Soheyl
 
Old 07-20-2005, 03:50 AM   #2
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
First
buy another hard drive

second
get a copy of Knoppix if you can

floppy
 
Old 07-20-2005, 04:39 AM   #3
soheyl
Guest
 
Posts: n/a
How can I use Knoppix to transfer all the settings of my previous Redhat installation?
Look. I have many programs on my redhat installation with many settings that will take me a long time to setup again (Actually some of the programs and their settings aren't setup by me!). Can Knoppix transfer all of them, without requiring more labour?
Thanks
Soheyl
 
Old 07-20-2005, 09:10 AM   #4
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by soheyl
How can I use Knoppix to transfer all the settings of my previous Redhat installation?
Look. I have many programs on my redhat installation with many settings that will take me a long time to setup again (Actually some of the programs and their settings aren't setup by me!). Can Knoppix transfer all of them, without requiring more labour?
Thanks
Soheyl
if you copy every file over to the new drive all the settings willbe the same as before
I think settings are stored in /etc and /home/user/.program/ but you should copy everything in / over
 
Old 07-20-2005, 09:15 AM   #5
ilaiy
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Rep: Reputation: 15
Use

dd to copy the harddrive ..

dd if=/dev/<source> of=/dev/<dest> bs=512 count=1

Be really careful when you use this command .. Check your source and destination correctly
./thanks
ilaiy
 
Old 07-20-2005, 09:17 AM   #6
[bc]paddy.hm
LQ Newbie
 
Registered: Jun 2003
Location: Hameln / Germany
Posts: 8

Rep: Reputation: 0
Quote:
Originally posted by soheyl
How can I use Knoppix to transfer all the settings of my previous Redhat installation?
Look. I have many programs on my redhat installation with many settings that will take me a long time to setup again (Actually some of the programs and their settings aren't setup by me!). Can Knoppix transfer all of them, without requiring more labour?
Thanks
Soheyl
It is easier then you know.

Buy a second hdd.
Create partitions on new hdd, maybe like on your old one.
Format new partitions.
Boot e.g. from Knoppix or other bootable cd.
Then mount old and new hdd with e.g.
mount /dev/hda /mnt/
mount /dev/hdc /mnt2/

and then copy all old files on new partition with:
cp -av /mnt/* /mnt2

and execute your favorite bootmanger e.g. grub-install.

Last edited by [bc]paddy.hm; 07-20-2005 at 10:29 AM.
 
Old 07-20-2005, 09:22 AM   #7
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
"cp -Rav" would probably work better. . .

There's a guide to backing up partitions at the bottom of the "Getting started with Linux" link in my sig., soheyl
 
Old 07-20-2005, 10:27 AM   #8
[bc]paddy.hm
LQ Newbie
 
Registered: Jun 2003
Location: Hameln / Germany
Posts: 8

Rep: Reputation: 0
Quote:
Originally posted by oneandoneis2
"cp -Rav" would probably work better. . .

There's a guide to backing up partitions at the bottom of the "Getting started with Linux" link in my sig., soheyl
a includes R.
 
Old 07-20-2005, 11:20 AM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I stand corrected
 
Old 07-21-2005, 03:03 AM   #10
soheyl
Guest
 
Posts: n/a
Thank you all
I have another question (maybe a silly one):
Do I have to use Knoppix or other bootable CD. If I install a new version of Redhat, is it impossible to mount the older partition and then copy all files over the existing (and maybe in-use) ones?
 
  


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
hard disk crash and dual boot test_libero_123 Linux - Newbie 4 09-02-2005 02:40 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM
KDE and hard disk crash of home dir tudmuf2b Linux - Software 0 03-07-2003 02:41 PM
Crash on boot; bad hard-disk? datawebcorp Linux - General 14 02-12-2002 07:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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