LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-28-2011, 12:54 PM   #1
Corsari
Member
 
Registered: Oct 2004
Posts: 57

Rep: Reputation: 15
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

Last edited by Corsari; 12-28-2011 at 12:57 PM. Reason: text errors
 
Old 12-28-2011, 01:22 PM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't boot from old system drive in new machine. / not mounted. X-server died. JZL240I-U Linux - Software 5 10-26-2010 03:17 AM
Mandriva install hangs midway. Not sure if cd-r is bad or the drive. How to make out? saivin Mandriva 5 11-27-2009 12:27 PM
Formatted my linux drive in a dual boot setup, now the GRUB loader hangs the system.. Dr_Horse Linux - General 4 12-04-2008 03:50 PM
Bad CDs make my system hangs forever tanaselia Slackware 5 04-17-2006 02:05 AM
System hangs on boot after adding SATA drive nuzzy Linux - Hardware 0 09-10-2003 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration