LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2009, 10:42 PM   #1
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Rep: Reputation: 18
transferring data to new drive


hi--

i will try to phrase this as simple as i can.
new hard drive on the way. want to load linux.

what is the easiest way to transfer some data off an ext2
partitioned drive (sata) onto the new drive (eide) that will be partitioned with either ext3 or ext4. will a flash drive work?
can i use mount command to see and copy data once mounted between drives?

i see in my opensuse linux book that you have the option at setup to specify a 2nd blank (new) drive to install linux on and leave the other drive alone. so that is not an issue.

i flopped at converting from ext2 to ext3 on the fly so i tried to pick
the simplest way to go forward for an eventual upgrade.

thanks,
mtdew3q
 
Old 02-21-2009, 11:03 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Yeah sorry about that - unlucky. Here's how I do it - you're free to ignore me ....

- do everything from a liveCD; saves issues with the pseudo f/s like /dev and /proc
- pre partition and format the new disk
- "cp -a <source partition> <target partition>"
(repeat as necessary - not swap)
- mkswap for new swap(s)
- install the bootloader for new system
- fix the fstab (in need)

All done. The reason I use "cp" is that it is file-system aware, so you can be sure the files were o.k. (at least readable), and you can change the f/s format without issue.

Last edited by syg00; 02-21-2009 at 11:04 PM.
 
Old 02-21-2009, 11:05 PM   #3
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
I'd remove the original drive and install the new drive, install linux, then install the original drive again, use mount to mount it in the OS, and copy what you need off of it.
 
Old 02-21-2009, 11:23 PM   #4
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Original Poster
Rep: Reputation: 18
thanks very much syg00 and Admiral-

that is all i need. very cool.
it should be easy.

mtdew3q
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring data to a new computer carol sheridan Linux - Newbie 8 02-18-2009 02:59 PM
configuration to max data transferring Rednameless Linux - Networking 1 04-28-2006 08:00 PM
Transferring data from Linux to Windows satyatechie Linux - Newbie 1 07-13-2005 08:24 AM
Transferring a 'SuSE-made' data drive into a FBSD box Gsee SUSE / openSUSE 2 05-11-2005 05:12 AM
Transferring data from a WinXP Hard drive satimis Linux - Hardware 3 08-19-2004 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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