LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-06-2005, 12:43 PM   #1
markmalcolm
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Lightbulb move linux from IDE HDD to SATA HDD


Hi all,

I am wondering how you move a linux install from a IDE hard drive to a sata one
I have tried it with ghost and it fails big time.

Is there any way to prepare linux to move on to a sata drive.

Or is there a utility out there which allows you to move your linux from one hard drive format to another ?

Any ideas / solutions ?

Thanks

Mark.
 
Old 05-06-2005, 03:41 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ. Check the man pages for the "dd" command. Assuming the drives have the same capacity you could run something along the lines of
Code:
dd if=/dev/hdx of=/dev/hdy
where x and y are the actual device letters. Please see the man pages for details -- J.W.
 
Old 05-07-2005, 03:24 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The dd command will not work very well because both disks have to have similar capacities which is a very, very slim chance. Even if you did use dd, you will have to use sfdisk to reconstruct the partition table and resize the filesystem. You can use partimage but it needs space to save the image and it also needs both drives be the same capacity. I suggest using Knoppix or any Live CD distributions for making partitions, formating, mounting, and copying files.

Norton Ghost only works with ext2 and ext3 for Linux filesystems.
 
  


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
SATA HDD and IDE HDD linuxmandrake Linux - Hardware 3 12-18-2006 08:26 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 10:50 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 07:56 PM
instal rh9 in SATA HDD keeping Windows in IDE arian Linux - Newbie 0 11-30-2004 03:19 PM
Installing Linux on 2nd HDD (IDE) when WinXP installed on SATA RAID0 steve264 Linux - Hardware 1 06-12-2004 06:44 PM

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

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