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

Hard Drive Properties/Manager


  • Please log in to reply
8 replies to this topic

#1 Campo1988

Campo1988

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:06:50 AM

Posted 24 February 2016 - 07:54 PM

Hi.

 

I am on Ubuntu via boot disc at the moment. When on Windows 8, I was not able to see a hard drive connected via USB in Computer but I read somewhere that I could  go to a particular place in Windows which I can't remember now to be try and initialise the drive in order to use it in Computer. I tried that but it said it needed to be formatted first, despite it being formatted already - I had files/folders on the drive.

 

I read that if I did a high-level format (if I am not mistaken) that will 'zero-out' the drive so that I could use it and restore them with a programme to retrieve deleted files. I attempted to do that but it decided to be a further pain and not allow me to for whatever reason, and said only that it couldn't or gave me an error or something which wasn't very helpful at all.

 

I thought that Ubuntu might have worked to view the files on the drive itself so I could copy them to another drive because it did ages ago when I tried when Windows wouldn't, but so far I haven't had any luck. Is there a place to go in the latest version of Ubuntu (which I only just downloaded and burnt to disc today) to view its equivalent 'initialise' or other options for the drive?

 

Is there also an option to do a disk check, similar to chkdsk or error checking or whatever they prefer to call it these days, on Ubuntu?

 

I am not convinced the drive is completely lost yet because it has been temperamental in the past so I'm holding on to that small ray of hope it will decide to work again soon. I did mean to save the files from it before today but due to one thing or another I didn't. A standard piece of advice is to try the drive on a different computer to see if that works but I don't have access to another computer on which I could try it, unfortunately.

 

Thanks.



BC AdBot (Login to Remove)

 


#2 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 12,865 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:04:50 PM

Posted 24 February 2016 - 08:07 PM

Hi open terminal in Ubuntu and type or copy and paste

sudo fdisk -l

The output should look something like this.

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 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: 0x000befd7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   483590143   241794048   83  Linux
/dev/sda2       483592190   500117503     8262657    5  Extended
/dev/sda5       483592192   500117503     8262656   82  Linux swap / Solaris

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1953523711   976760832    b  W95 FAT32

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 32.0 GB, 32015679488 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62530624 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: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1    62530623    31265311+  ee  GPT

Then copy paste the output here



#3 Campo1988

Campo1988
  • Topic Starter

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:06:50 AM

Posted 25 February 2016 - 02:11 PM

Isn't there a GUI instead?



#4 Rocky Bennett

Rocky Bennett

  • Members
  • 2,587 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:12:50 AM

Posted 25 February 2016 - 03:43 PM

You could simply use the disk management feature in Windows to accomplish the same thing. Right click on the start button and scroll to disk management and click on the drive. This always works for me.


594965_zpsp5exvyzm.png


#5 Campo1988

Campo1988
  • Topic Starter

  • Members
  • 46 posts
  • OFFLINE
  •  
  • Local time:06:50 AM

Posted 25 February 2016 - 10:25 PM

I said already that I did it on Windows but it said it needs to be formatted, despite it having files and folders on it already, therefore being formatted already, and that it gave me an "error" which wasn't helpful.

 

Is there a GUI to do what NickAu suggested on Ubuntu? On the previous version of Ubuntu I had, I was able to set it to look like Windows XP, but for some reason I can't find that option in this "more up-to-date" version. Likewise, I can't find the place in this version which I found in a previous version to use the drive properties/manager for the drive, The reason I ask for a GUI is because using CLI is too confusing (despite instructions!).



#6 Rocky Bennett

Rocky Bennett

  • Members
  • 2,587 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:12:50 AM

Posted 26 February 2016 - 12:07 PM

I said already that I did it on Windows but it said it needs to be formatted, despite it having files and folders on it already, therefore being formatted already, and that it gave me an "error" which wasn't helpful.

 

Is there a GUI to do what NickAu suggested on Ubuntu? On the previous version of Ubuntu I had, I was able to set it to look like Windows XP, but for some reason I can't find that option in this "more up-to-date" version. Likewise, I can't find the place in this version which I found in a previous version to use the drive properties/manager for the drive, The reason I ask for a GUI is because using CLI is too confusing (despite instructions!).

 

 

I still think that it would be a lot easier to do it from Windows. There is very little that disk management can't do if you know your way around Windows, but the very few things that disk management can't do can easily be done using the free tool Mini Partition Wizard.

 

http://www.partitionwizard.com/free-partition-manager.html


594965_zpsp5exvyzm.png


#7 Rocky Bennett

Rocky Bennett

  • Members
  • 2,587 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:12:50 AM

Posted 26 February 2016 - 12:10 PM

Isn't there a GUI instead?

 

 

Maybe you didn't understand what Nick asked you to do. He is trying to help you find the problem. By following Nick's directions he can further assist you in fixing the problem.


594965_zpsp5exvyzm.png


#8 Al1000

Al1000

  • Global Moderator
  • 7,466 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:07:50 AM

Posted 26 February 2016 - 06:09 PM

Isn't there a GUI instead?


No, you have to use the terminal. Then copy and paste the output of the command, from the terminal into a post here.

If you need any further details on how to do that, please let us know.
 

I still think that it would be a lot easier to do it from Windows.


Windows wouldn't provide the same information.

Edited by Al1000, 26 February 2016 - 06:12 PM.


#9 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 6,999 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:02:50 AM

Posted 27 February 2016 - 06:02 AM

 

Isn't there a GUI instead?

 

 

Maybe you didn't understand what Nick asked you to do. He is trying to help you find the problem. By following Nick's directions he can further assist you in fixing the problem.

 

 

+1! :thumbup2:

 

The only way to get any information from Windows is to have a 3rd party partition software installed, as was suggested, Mini Tool Partition Wizard. 

 

However, Nick's idea is the best and less work involved, the Linux way. Looks as though I may have a couple of things to fix, one on a SSD. 

 

 

cat@cat-XPS-8700 ~ $ sudo fdisk -l

[sudo] password for cat: 
 
Disk /dev/sda: 512.1 GB, 512110190592 bytes
255 heads, 63 sectors/track, 62260 cylinders, total 1000215216 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: 0x00032ea2
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      706559      352256    7  HPFS/NTFS/exFAT
/dev/sda2          706560   315275624   157284532+   7  HPFS/NTFS/exFAT
/dev/sda3       315277312   629844389   157283539    7  HPFS/NTFS/exFAT
 
Disk /dev/sdb: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x3cf9540b
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            4096   314576895   157286400    7  HPFS/NTFS/exFAT
/dev/sdb2   *   314576896   398463614    41943359+  83  Linux
/dev/sdb3       398465022   406851583     4193281    f  W95 Ext'd (LBA)
Partition 3 does not start on physical sector boundary.
/dev/sdb5       398465024   406851583     4193280    7  HPFS/NTFS/exFAT
 
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00071f55
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048   976721919   488359936   83  Linux
/dev/sdc2       976723966  1953524740   488400387+   f  W95 Ext'd (LBA)
Partition 2 does not start on physical sector boundary.
/dev/sdc5       976723968  1397843967   210560000    7  HPFS/NTFS/exFAT
/dev/sdc6      1397852160  1607576335   104862088    7  HPFS/NTFS/exFAT
/dev/sdc7      1607581696  1945069853   168744079    7  HPFS/NTFS/exFAT
/dev/sdc8      1945071616  1953524740     4226562+  82  Linux swap / Solaris
cat@cat-XPS-8700 ~ $ 
 

 

See how easy that is? :)

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users