Hi, I'm rather new to Linux and am attempting to recover a failing disk drive with Knoppix and GNU ddrescue.
They suggest binding to the raw device in order to recover individual sectors rather than having the entire cluster be unreadable do to kernel cache limitations.
The raw command apparently needs and can not see the '/dev/rawctl' character special file, even though it seems that it was successfully created.
I wonder if this is beyond Knoppix's standard capabilities (and if it would be easy to tell from the package list or kernel or some such thing), or if I'm over looking something.
I have included a transcript of what happened below:
This is Knoppix 4.0.2 live CD, but the Knoppix HDD installation gave the same results.
root@1[knoppix]# raw -qa
Cannot open master raw device '/dev/rawctl' (No such file or directory)
root@1[knoppix]# mknod /dev/rawctl c 162 0
(repeat to confirm creation):
root@1[knoppix]# mknod /dev/rawctl c 162 0
mknod: `/dev/rawctl': File exists
root@1[knoppix]# mknod /dev/raw/raw1 c 162 1
mknod: `/dev/raw/raw1': No such file or directory
root@1[knoppix]# mkdir /dev/raw
root@1[knoppix]# mknod /dev/raw/raw1 c 162 1
root@1[knoppix]# raw /dev/raw/raw1 /dev/hda4
Cannot open master raw device '/dev/rawctl' (No such device or address)
root@1[knoppix]# raw -qa
Cannot open master raw device '/dev/rawctl' (No such device or address)
root@0[knoppix]# ls -lR /dev/raw*
crw-rw-rw- 1 root video 171, 0 Nov 17 2004 /dev/raw1394
crw-r--r-- 1 root root 162, 0 May 24 21:39 /dev/rawctl
crw-rw---- 1 root disk 27, 32 Jun 5 2001 /dev/rawft0
...(more follow)
Many thanks to anyone who can help out on this!
Don
for Laptops 500GB-4TB Internal Solid State Drive Hard Disk 2.5 Inch SSD Drive
$75.18
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$119.99
Fanxiang SSD 4TB 2TB 1TB 512GB SATA SSD 2.5'' III Internal Solid State Drive lot
$108.29
Samsung 860EVO 500GB 2.5" Laptop SATA Solid State Drive V-NAND SSD Tested, Wiped
$34.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$13.99
Samsung SSD 128GB MZ-7PC128D SATA Hard Drive
$10.00
Samsung 250GB 2.5" SATA SSD MZ-76E250, Grade A+, SKU 10368
$19.99
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop
$47.79