LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-03-2005, 02:10 PM   #1
roncarney
LQ Newbie
 
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3

Rep: Reputation: 0
Recovering large hard drives with DD


I have a hard drive that is unmountable. I want to DD the whole thing to another drive, but I hit the 4gb limit, and the drive is over 120gb, even though at most 2/3 of that is used. Is there any way to get past the 4gb limit to recover the data on the drive? Is dd even the best way to do this?

Thanks
Ron
 
Old 05-03-2005, 02:15 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
dd has no 4GB size limit, I regularly use it to clone drives of 70GB or more.

Mad
 
Old 05-03-2005, 02:18 PM   #3
roncarney
LQ Newbie
 
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3

Original Poster
Rep: Reputation: 0
Thats encouraging; then what is giving me the error :File Size Limit Exceeded when the dd hits 4gb? Do I need to tweak the kernel for large file support?
 
Old 05-03-2005, 02:24 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Can you give us the command you used to mirror? I tried to mirror a drive to a .iso file on a fat32 drive and forgot about the fat32 limit of 4gb files.

So show us what you are typing to accomplish this, please.
 
Old 05-03-2005, 02:32 PM   #5
roncarney
LQ Newbie
 
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3

Original Poster
Rep: Reputation: 0
I am trying to recover data from a 120GB hard drive that WIndows can no longer access. Linux can see the drive, but cannot mount it. The drive is NTFS.
I tried the following:
dd if=/dev/hde of=/media/WD_Combo/recovery/img1.iso

where WD_Combe is a fat32 drive - so thats the limit? If I reformat the target drive in ext3 will it be able to copy with no size limit?
Also, if I do copy all the data to the ISO file, how do I get it back to a usable format? I am only used to using ISO's to burn/rip CD's...


Thanks
 
Old 05-03-2005, 02:41 PM   #6
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Yes, the problem is the target iso is being copied to a partition with a 4GB file size limit, using ext3 will solve that problem

To copy the data back to a new drive

dd if=/location/of/img1.iso of=/dev/hde

or you could even mount the iso itself

mount -o loop -t auto img1.iso /mount/point

that last command will require loopback device and NTFS support in your kernel.

Mad.

 
Old 05-03-2005, 03:41 PM   #7
xhypno
Member
 
Registered: Sep 2004
Posts: 62

Rep: Reputation: 16
Why not just recompile your Kernel to support NTFS and mount the drive directly?

If not, dumping ot an ISO is the best route.
 
  


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
Recovering from Hard drives tobrien Linux - Hardware 3 10-09-2005 06:52 PM
Large Hard Drives and DMA geoff-taylor@ho Linux - Hardware 0 10-26-2004 05:09 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
red hat and large partitioned hard drives theCopin Linux - Newbie 5 10-28-2003 12:57 PM
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 - Software

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