Dumping Guides/Linux Advice
From Redump Wiki
(Created page with "If you're dumping via Linux, while not required, this will save you lots of time and effort, and will fix any issues you may be having with your system taking a while to let you ...") |
|||
(One intermediate revision not shown) | |||
Line 5: | Line 5: | ||
- Do <code>echo -n "0:0:0:0" > /sys/bus/scsi/drivers/sr/unbind</code> (root permissions required) | - Do <code>echo -n "0:0:0:0" > /sys/bus/scsi/drivers/sr/unbind</code> (root permissions required) | ||
- | This unbinds the kernel's <code>sr</code> device driver for this drive, until you reboot, unplug and replug it, or just bind it back again via echoing to <code>bind</code> instead of <code> | + | This unbinds the kernel's <code>sr</code> device driver for this drive, until you reboot, unplug and replug it, or just bind it back again via echoing to <code>bind</code> instead of <code>unbind</code> |
+ | |||
+ | Because of this, <code>/dev/sr[x]</code> no longer exists for this drive, so you'll have to specify your drive via the generic SCSI device path, <code>/dev/sg[x]</code> | ||
+ | |||
+ | i.e. <code>./redumper --drive=/dev/sg0</code> |
Latest revision as of 22:48, 7 August 2024
If you're dumping via Linux, while not required, this will save you lots of time and effort, and will fix any issues you may be having with your system taking a while to let you start dumping from your drive, or not allowing you to dump altogether, on certain discs:
- Get your drive's device ID by checking dmesg -w
, or by doing ls /sys/bus/scsi/drivers/sr
. It'll look something like 0:0:0:0
- Do echo -n "0:0:0:0" > /sys/bus/scsi/drivers/sr/unbind
(root permissions required)
This unbinds the kernel's sr
device driver for this drive, until you reboot, unplug and replug it, or just bind it back again via echoing to bind
instead of unbind
Because of this, /dev/sr[x]
no longer exists for this drive, so you'll have to specify your drive via the generic SCSI device path, /dev/sg[x]
i.e. ./redumper --drive=/dev/sg0