LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-24-2003, 03:18 PM   #1
afshin
LQ Newbie
 
Registered: Jan 2003
Location: Los Angeles
Distribution: SuSE 8.2
Posts: 26

Rep: Reputation: 15
Question How do I move a system from one HD to another?


Hello,

I'm running SuSE 8.1 and in my current configuration, I have the following disks and partitions setup:

hda is 60GB containing the following mount points:
/ (ReiserFS)
swap
/boot (ext2)

hdb is also 60GB and contains:
/home (ReiserFS)

I have just purchased a 160GB drive and would like to replace both the above with this single drive. My questionn is, what's the easiest way to move all the data from the 2 old drives into the new one? I would like to avoid having to reinstall the OS if possible. Also, what about the boot loader (I'm using GRUB)? Can that just be copied over or does it need to be reinstalled? Naturally I'd like to increase the /home and / partitions on the new drive, maybe even create a new partition for /srv.

Thanks for your help.
 
Old 03-24-2003, 06:12 PM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Question: Is your system limited to 2 IDE drives?

Another Question: What is your used/free disk space on your existing partitions. (output of df). In other words is your total used disk space less than 60 GB?

If the answer is no to both, do it like this. Shutdown. Replace the disk with /home (hdb) with the new disk. You might want to edit the fstab first so it does not try to mount /home, but it should be OK without doing that. Partition the as you would like. Mount in temporary location and copy over the data to appropriate locations. Shutdown. Replace the edited fstab with the old one if it was edited. Take out the old /usr (hda), put in the new disk as hda. Put in the old /home back to hdb. Boot up and you should be fine.
 
Old 03-24-2003, 11:20 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
you can back up your diskt with partion magic and restore them on the other drive and make the resizing afterwards.
 
Old 03-25-2003, 07:42 PM   #4
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
Hard Disk Upgrade Mini How-To

How to copy a Linux system from one disk to another.
 
  


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
How to move kmail mails from one system to other? zulfilee Linux - Software 2 07-14-2005 07:32 AM
Found modem on boot, but not on system?? Next Move? RobStan486 Red Hat 11 08-03-2004 06:50 PM
move system from IDE -> SCSI drive => kernel panic bdp Linux - General 4 11-09-2003 12:26 AM
Xawtv works fine exept when you move the window it crashes system jimdaworm Linux - Software 0 09-02-2003 04:10 PM
How do I move existing system to new CPU? dnbrown Linux - Software 6 02-10-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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