Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I have a VERY old AMD 386-40 system with a VERY old Adaptec AHA-1522 SCSI adapter. I use it as a light-duty server.
About a week ago, the IDE boot drive in this system bit the dust. I have another hard drive I would like to install and use as the boot disk, but it's SCSI. That in itself is not a problem, but, whenever you install a SCSI hard drive into any SCSI chain, you should ALWAYS low-level format it, otherwise mysterious things are liable to happen.
The easy way to do the low-level format would be to get a DOS boot disk and then run SCSIFMT from Adaptec. The problem with that is I do not have a DOS boot disk handy. And, the only older Windows system I have has a defective floppy drive, so I cannot make a boot disk. (It's also a notebook, so it's not a simple matter of just replacing the floppy drive.) I have PC-DOS 7 around here somewhere, but I have no idea where it is.
The other way to do this would be to run DEBUG in DOS and enter the command "G=DC00:6". This would execute the on-board SCSI Select utility in the SCSI BIOS. But, again, no DOS, so no DEBUG.
So, here's my question:
Has anyone ever done a low-level format of a hard drive in Linux? If so, how did you do it? What utilities (if any) did you use?
Failing that, does anyone know of a way to tell Linux to execute something out of /proc/kcore? If there was a way I could tell the system to execute at a particular address (a la DOS DEBUG), that would probably fix my problem.