Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

HELP, can't access my external drive.


  • Please log in to reply
39 replies to this topic

#1 Terokal

Terokal

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 11 September 2016 - 10:07 PM

Hi guys, I think I blew it all out. My external drive is unmounted, and in Disks it shows nothing.

 

Size : 1,0 TB (1.000.204.883.968 bytes)

Device : /dev/sdb

Contents : Unallocated Space

 

Dunno what the heck I pressed, I was erasing a USB not the main 1TB thing, I cancelled it in seconds, 500 GB can't be erased just like that.

Please, I need help with this one.

 

Thanks in advance.



BC AdBot (Login to Remove)

 


#2 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 11 September 2016 - 10:13 PM

Maybe you unplugged it by accident? Plug it in and mount it again.



#3 Terokal

Terokal
  • Topic Starter

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 11 September 2016 - 10:20 PM

Hi technonymous, it says it's "unable to mount location" - can't mount the file.

 

 

NAME   RM RO TYPE   SIZE MODEL    FSTYPE  UUID MOUNTPOINT             LABEL
sda     0  0 disk 149,1G SAMSUNG                                      
├─sda1  0  0 part 147,1G                       /                      
└─sda2  0  0 part     2G                       /media/nurefalaz/dc533
sdb     0  0 disk 931,5G External                                     
sr0     1  0 rom    4,4G DVD A  D iso9660      /media/nurefalaz/MATE_ MATE_14042

 

Is it gone?


Edited by Terokal, 11 September 2016 - 10:30 PM.


#4 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 12,366 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:11:22 PM

Posted 11 September 2016 - 10:30 PM


 

Contents : Unallocated Space

You were in Gparted right? And deleted the partition? I did that not long ago BUT deleted my Operating system.

 

There are ways to recover the data, I have never used test disk to recover data.


 


TestDisk Step By Step - CGSecurity


 


gparted - Unallocated space with important data - Ask Ubuntu


Edited by NickAu, 11 September 2016 - 10:36 PM.


#5 Terokal

Terokal
  • Topic Starter

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 11 September 2016 - 10:39 PM

Hi NickAu, no, wasn't using Gparted, but I'll reinstall it right now as TestDisk. Thanks.



#6 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 12,366 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:11:22 PM

Posted 11 September 2016 - 10:43 PM

Use caution here if you get it wrong all the data on the drive could be lost.
 
Unallocated Space Usually means the partition was deleted but not reformated.

Edited by NickAu, 11 September 2016 - 10:45 PM.


#7 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 11 September 2016 - 11:13 PM

Testdisk can recover the files and partition table if necessary. It sounds like you hosed the partition table if it isn't mounting. Got to be careful linux will delete itself if you tell it lol.


Edited by technonymous, 11 September 2016 - 11:14 PM.


#8 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 11 September 2016 - 11:15 PM

Hi technonymous, it says it's "unable to mount location" - can't mount the file.

 

 

NAME   RM RO TYPE   SIZE MODEL    FSTYPE  UUID MOUNTPOINT             LABEL
sda     0  0 disk 149,1G SAMSUNG                                      
├─sda1  0  0 part 147,1G                       /                      
└─sda2  0  0 part     2G                       /media/nurefalaz/dc533
sdb     0  0 disk 931,5G External                                     
sr0     1  0 rom    4,4G DVD A  D iso9660      /media/nurefalaz/MATE_ MATE_14042

 

Is it gone?

There is no mount point for sdb. As I said earlier you probably bumped the usb cord or something and it's lost it's mount.


Edited by technonymous, 11 September 2016 - 11:21 PM.


#9 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 11 September 2016 - 11:19 PM

If you want to mount it to a mount point. Try this...

 

mkdir /mnt/external_usb

 

mount -o rw /dev/sdb /mnt/external_usb



#10 Terokal

Terokal
  • Topic Starter

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 11 September 2016 - 11:28 PM

Hello Techonymous, thanks for yer help, TERMINAL came up with these :

 

nurefalaz@nurefalaz-P4M89-M7B:~$ mkdir /mnt/external_usb
mkdir: cannot create directory ‘/mnt/external_usb’: Permission denied
nurefalaz@nurefalaz-P4M89-M7B:~$ mount -o rw /dev/sdb /mnt/external_usb
mount: only root can do that

 

Gparted seems to be frozen, but MONITOR says do_wait, so I shall do.

Good luck I saved an old 500 GB external, well, that in case I save all the data.
 


Edited by Terokal, 11 September 2016 - 11:32 PM.


#11 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 11 September 2016 - 11:42 PM

Oh sorry you gotta do it as sudoer admin.

 

sudo mkdir /mnt/external_usb

 

sudo mount -o rw /dev/sdb /mnt/external_usb



#12 Terokal

Terokal
  • Topic Starter

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 11 September 2016 - 11:46 PM

nurefalaz@nurefalaz-P4M89-M7B:~$ sudo mkdir /mnt/external_usb
mkdir: cannot create directory ‘/mnt/external_usb’: File exists
nurefalaz@nurefalaz-P4M89-M7B:~$ sudo mount -o rw /dev/sdb /mnt/external_usb
mount: block device /dev/sdb is write-protected, mounting read-only
mount: you must specify the filesystem type

 

what do you think ?, does it looks better or worst ?. :smash:
 

Can tell Gparted is doing or tryin' to do something, but the as soon as I click on it it's a couple of blank boxes,

both the main one, and the one I had to type the password.

 

Should I run TestDisk ?, maybe this helps a bit. Won't go any further.

 

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

No partition is bootable



*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
>[Quick Search]
                                 Try to locate partition
 


Edited by Terokal, 12 September 2016 - 12:16 AM.


#13 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 12 September 2016 - 12:52 AM

ok the error says to specify the filesystem type and will only mount read only. What do you see when you fdisk -l? That is a L by the way.



#14 Terokal

Terokal
  • Topic Starter

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:22 AM

Posted 12 September 2016 - 12:54 AM

With fdisk-l nothing, added sudo and it showed me :

 

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004fc52

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   308520959   154259456   83  Linux
/dev/sda2       308523008   312581807     2029400   83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204883968 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525164 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x74364eea
 



#15 technonymous

technonymous

  • Members
  • 2,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:22 AM

Posted 12 September 2016 - 12:55 AM

Oh the mount read only command by the way is...

 

sudo mount -o ro /dev/sdb /mnt/external_usb






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users