LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-18-2004, 01:38 PM   #1
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Rep: Reputation: 0
FC2 I have 2 small drives moving to 1 large


I'm running FC2 with 2 small drives a 10G and a 20G currant laid out as


hda (10g) with
hda1 = /boot
hda2 = /

hdb (20g) with
hdb1 swap
hdb2 /home

I'm moving to a 160G drive and need to know how to recreate the file structure and migrate the data.

If there is a FAQ or a How-to for this I apologize I came up blank on how to search this out and could find nothing on my general skims over the top.

adem
 
Old 10-18-2004, 04:18 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
The only thing you really need to keep is /home because that's where all of your data lives. Probably the easiest thing would be to remove the 2 old drives, install the new drive, partition it the way you want it, then reinstall FC2.

Now reconnect the old drive that contained the /home directory as /dev/hdb. Manually mount /dev/hdb2 to a mountpoint (say, /mnt/hd) then simply copy the contents from your "old" home directory (which will now be accessible from the mountpoint, eg /mnt/hd) over to your "new" home directory (which will on the new drive, /dev/hda)

The reason you don't really need to copy the existing system files is because they'll be recreated during the reinstall. That being said, you may want to save a copy of any configuration files that may be useful (ie, XF86Config or xorg.conf).

That ought to do it. Good luck with it and Welcome to LQ -- J.W.
 
Old 10-18-2004, 05:56 PM   #3
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks a ton
 
  


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
Elegantly moving a large directory. aje Linux - General 2 07-07-2005 09:17 AM
making konquerer display image thumbnails large, but other icons small? webazoid Linux - Software 0 08-01-2004 08:29 PM
moving large files mnauta Linux - General 2 04-27-2004 07:47 AM
Moving swap to another small IDE drive vdi_nenna Linux - Hardware 3 06-14-2002 10:35 AM
Large Hard Drives in RH 5.x K2.0.36 vjgalla Linux - General 1 07-14-2001 06:08 PM

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

All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration