Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-21-2003, 02:20 PM   #1
LQ Newbie
Registered: May 2002
Posts: 20

Rep: Reputation: 0
Question moving to a new hard drive


thanks for reading my post. I have a red hat system running red hat 7.3. It is currently running on a 6 GB hard drive, and uses GRUB for the boot loader on the MBR. I have purchased a new 80GB hard drive and would like to "move" the whole filesystem from the old drive to the new drive.

Is there any easy way to do this?

There are a lot of user accounts, web applications, and MySQL databases living on the 6GB drive now, and I'd hate to loose all that data/configuration/work.

the new drive is still in the box and not formatted in any way.

If someone could please help, that would be great.


~ John
SCO and M$ can kiss my ass!
Old 05-21-2003, 02:24 PM   #2
LQ Newbie
Registered: May 2003
Posts: 27

Rep: Reputation: 15
Do a man on dd. It's a sector-by-sector transfer from one drive to another. Works like a charm.
Old 05-21-2003, 02:28 PM   #3
LQ Newbie
Registered: May 2003
Posts: 27

Rep: Reputation: 15
Basically it works like 'dd -if /dev/hda -of /dev/hdb' where hda is the source and hdb is the destination. It creates the partitions, everything. I do believe that you need to do something to move your lilo/grub to hdb, though. Don't recall what that is, but I'm sure someone more guru that me can help you there.
Old 05-21-2003, 02:33 PM   #4
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
dd isn't that fexible - you would be better with partimage:
Old 05-21-2003, 02:38 PM   #5
LQ Newbie
Registered: May 2003
Posts: 27

Rep: Reputation: 15
True, dd is just a "copy entire hard drive from A to B" sorta thing. I was able to move ext3, NTFS, and FAT32 partitions from a 20 to a 30 gig awhile back. It's slow (couple hours) but it worked great and works well. No purdy interface, though.


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
Moving Hard Drive Files Zawi Linux - General 10 08-17-2005 11:08 AM
Moving Hard Drive After Install PiscisBos Linux - Software 2 02-14-2005 12:14 AM
Moving Hard drive between PC's the_imax Linux - Hardware 13 11-20-2004 12:55 PM
Moving partitions from one hard drive to another robthebob Linux - Software 2 07-15-2004 04:47 AM
moving my hard drive illtbagu Linux - General 2 02-08-2003 04:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration