MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]


Switch to mobile style


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Boot Debian with a Damaged Drive Attached
PostPosted: April 10th, 2016, 4:04 
Offline

Joined: November 2nd, 2015, 7:01
Posts: 10
Location: Philippines
Hi All,

I have damaged drive that I want to clone using DDrescue. But my problem is if I attach the damaged drive in a SATA slot before booting Ubuntu 14.04, Ubuntu will fail to boot as it will keep on trying to mount the damaged drive. I found a way around this problem by editing Grub with this line libata.force=2.00:disable then Ubuntu will boot up fine but now I can't detect the drive anymore as the SATA slot is now disabled.

Question:

1. How do I boot Ubuntu while the damaged drive is attached to it?
2. If the first is not feasible, how do I force Ubuntu to detect a newly attached SATA drive without rebooting the system?

Thanks.


Top
 Profile  
 
 Post subject: Re: Boot Debian with a Damaged Drive Attached
PostPosted: April 18th, 2016, 9:59 
Offline

Joined: February 16th, 2016, 21:07
Posts: 43
Location: Boston, USA
Connect the drive after you have Debian booted up. If it is not auto detected do a rescan / reset with...

echo "- - -" | sudo tee -a /sys/class/scsi_host/host1/scan <<<< change host1 as needed

_________________
On-Line Data Recovery Consultant. RAID / NAS / Linux Specialist.
Serving clients worldwide since 2011
FreeDataRecovery.us


Top
 Profile  
 
 Post subject: Re: Boot Debian with a Damaged Drive Attached
PostPosted: April 18th, 2016, 21:53 
Offline

Joined: January 29th, 2012, 1:43
Posts: 991
Location: United States
A SATA drive should be able to be recognized in Ubuntu when attached after booting. However, it is a good idea to find the settings in Ubuntu to disable auto mounting of new drives. Even then it is no guarantee that Linux will not try to read some part of the drive that will cause it to lock up, in which case the drive will get listed as a device but will still not be accessible.

_________________
http://www.hddsuperclone.com
Home of HDDSuperClone


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 205 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group