-
Input/output failure cloning to USB drive
I'm very much a Linux beginner.
I'm also aware that there are an awful lot of queries posted regarding drive cloning. However, so far I have not found anything that helps with the following issue.
I'm booting into the current version of Knoppix (3.6?). I'm attempting to clone a win98 se internal drive (boot) to an external Archos 20 Gigabyte hard drive. Drive capacities appear to be identical.
Procedurally, I unmount both hard drives, and make the USB drive writeable in the GUI, shell out to console, log on as root (su + passwd), and use the dd command with if and of specified to point to the drives. Everything goes smoothly for the first ten minutes (I'm using USB 1.1 so this is not a speedy operation) then I get an input-output error message at the console and the operation terminates.
If I boot back into Windows and look at the files, the root structure has been created, with all directories and files visible and apparently soundly copied and correctly named. However, if I look into some of the directories, though most are empty, some have cryptically named files and sub-directories (where none should exist). Clearly the cloning process has worked OK at root but I'm troubled by these nonce files.
My questions are:
1. Am I doing something stupid on the command line initially that's causing the termination? OR
2. Are these errors (the input/ouput failure, the odd files and subdirectories likely simply a manifestation of a write failure?
I should say that the drive communicates fine under Windows and I can (for example) do a full multi-hour system file-for-file backup using Dantz Retrospect. However, my backup preference is a bootable clone on the USB drive. This seems better done with Knoppix than any of the Windows utilities out there.
One thing that occurred to me is that perhaps the drive capacities are not exactly equal (though they appear to be). If this is a potential issue, is there a workaround that copies simply files, not blank space (which, I believe, cloning also copies)?
Ted.
-
Not sure what's wrong there but I replaced my hda just yesterday by making a slightly larger ntfs partition on the new drive, plugged it in and while booted into live-cd used dd if=/dev/hda of=/dev/hdb and after 55 minutes it was done and the new disk then as hda worked just fine. Later on I added more partitions as the new disk is larger.
Perhaps you have USB 1.1 and it can't write as fast as dd puts out? All in all it must take hours to finish.
Procedurally, I unmount both hard drives, and make the USB drive writeable in the GUI
I don't think you have to make it writable, certainly it shouldn't be mounted.
I also dropped down to Ctrl-Alt-F2 and did init 3 to free some memory for the process.
One thing that occurred to me is that perhaps the drive capacities are not exactly equal (though they appear to be). If this is a potential issue, is there a workaround that copies simply files, not blank space (which, I believe, cloning also copies)?
The target needs to be at least as big as the source. dd copies bit by bit, if you want just files and not free space you need to use something else.
-
Thank you, Markus. There are several helpful suggestions in your letter. I am starting to think that the issue really is the equivalence of drive sizes. Maybe if I repartition the boot drive so it is smaller this might go more smoothly. The experiment may be worthwhile. However, I'll try freeing some more memory as you suggest in case this is a factor.
Ted.
Similar Threads
-
By mikesmith36 in forum General Support
Replies: 6
Last Post: 12-24-2005, 10:35 AM
-
By enlightened_j in forum General Support
Replies: 6
Last Post: 06-21-2005, 06:39 PM
-
By downdogWoof in forum General Support
Replies: 4
Last Post: 04-07-2005, 05:27 AM
-
By dark_mage in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-30-2005, 01:29 AM
-
By Penumbral in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-20-2004, 07:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD
$250.00

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo Thinkpad T14 Gen 1 14.0" 16GB 512GB, BLACK
$285.99

Lenovo ThinkPad X280 Laptop 12.5” FHD Core i7 16GB RAM 256GB SSD Windows 11 WiFi
$242.22