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

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60
NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE T430 T630 G13 SERVERS K98XH
$225.00
Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99
NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE R730 SERVER M48YR RXW6R K98XH
$225.00
NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97
HPE Synergy 480 Gen10 Blade Server BAREBONES NO CPU, RAM OR HDD 🚚
$140.00
Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99
Dell PowerEdge M640 Blade Server 2x Silver 4210R 10C 32GB 2x Trays S140
$1349.00
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$174.99
NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW
$599.40