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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-03-2005, 02:10 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3
Rep:
|
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
|
|
|
|
05-03-2005, 02:15 PM
|
#2
|
|
Member
Registered: Aug 2004
Distribution: LFS
Posts: 349
Rep:
|
dd has no 4GB size limit, I regularly use it to clone drives of 70GB or more.
Mad
|
|
|
|
05-03-2005, 02:18 PM
|
#3
|
|
LQ Newbie
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3
Original Poster
Rep:
|
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?
|
|
|
|
05-03-2005, 02:24 PM
|
#4
|
|
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019
Rep:
|
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.
|
|
|
|
05-03-2005, 02:32 PM
|
#5
|
|
LQ Newbie
Registered: May 2005
Location: Las Vegas, Nevada
Distribution: FC3, Slackware, SuSe, Debian
Posts: 3
Original Poster
Rep:
|
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
|
|
|
|
05-03-2005, 02:41 PM
|
#6
|
|
Member
Registered: Aug 2004
Distribution: LFS
Posts: 349
Rep:
|
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.
|
|
|
|
05-03-2005, 03:41 PM
|
#7
|
|
Member
Registered: Sep 2004
Posts: 62
Rep:
|
Why not just recompile your Kernel to support NTFS and mount the drive directly?
If not, dumping ot an ISO is the best route.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|