LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Bad drive hangs system boot how to prevent it to be mounted (https://www.linuxquestions.org/questions/debian-26/bad-drive-hangs-system-boot-how-to-prevent-it-to-be-mounted-920924/)

Corsari 12-28-2011 12:54 PM

Bad drive hangs system boot how to prevent it to be mounted
 
as said in the title, I need to boot my system from sda, my system working drive

sdb is a storage working drive

sdc is a bad disk, one of those drives that would hang every systems boot, if the system attempts to mount it (windows, linux doesn't matter).

I need sdc connected because I want to clone it with any of the available imaging tools.

Now what?

Generally speaking, I'd like to have this workstation setup in a way that, at every boot, only sda is mounted (needed for the boot up), all the other sdX should be skipped from any mount attempt:
I'll manually mount them on demand, if needed.

In other words, they may be present additional drives attached to the SATA (or IDE) ports and they will be powered up, but I want them NOT to be automatically mounted (this is the hanging part that I want to prevent)

Thank you for any tip, suggestion and or solution.

Kind regards

Cor

JimBrewster 12-28-2011 01:22 PM

In /etc/fstab remove or comment out any lines corresponding to partitions on sdb and sdc,
or add the noauto option.


All times are GMT -5. The time now is 02:38 PM.