Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Missing lots of Hard Disk space
Feesthoed
post Nov 17 2012, 09:59 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-November 12
Member No.: 17,965



At first I'd like to excuse me for my semi-broken English.
Anyhow, here we go ! smile.gif

So I'm experiencing this problem, the problem where my HDD only shows 30MB out of the 1TB.
The thing is, before this problem acquired I had some other problems with my system thanks due GRUB.

Let me give you guys an idea what was going on.
I have 3 disks,
- A 64GB SSD which contains my Windows 8 installation
- A 1TB HDD which held my Windows 8 files and programs
- A 160GB HDD which had Back Track 5 upon it


Two nights ago I partitioned my 160GB disk which had a copy of Back Track 5 upon it.
Everything went smooth and so until the next morning when I tried checking my email.
Upon boot I received a GRUB message error stating '' Grub can't find such device''
Silly me with my enormous silly head feared all of my disks being corrupt and before I knew I unplugged my 1TB HDD which held all of my personal files and took it with me to school. (of course after turning the computer down) Once there I directly plugged my disk into my personal school computer (Windows XP) hoping to see any living file. Sadly enough things didn't went that smooth enough.
I did saw my hard drive, but once I clicked upon it I was prompted with a error message box which said that my hard disk needed a reformation. After consulting Diskmanagement and USB-HDD connected I finally asked my teacher for some aid. He then tried connecting the hard disk to his computer (Fedora) but once again it was a no no. Later that day I found out why my Grub Loader was somewhat bugged and once home I used this guide

- howopensource.com/2011/08/restore-mbr-from-ubuntu-live-cd-usb/

It went smooth and I was able to boot my Windows Installation. There I finally could see my HDD without the need of a reformation, the only minor was the drive being 30MB out of the 1TB.
Without to much thinking I reformatted the drive because I was planning to use File Recovery Software anyhow. Windows 8 Diskmanagement is also not able to detect the whole TB, just like the Ubuntu Live USB when in Installation.

Thus leaving me here, clueless what to do. I do have a theory tho.
Would it be due my teacher putting the drive into his Fedora system ?
Anyhow. I'm looking forward to any response. Feel free to ask me anything !

Yannick.


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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: 0x3562bf50

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 117227519 58510336 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 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: 0x000b5979

Device Boot Start End Blocks Id System
/dev/sdb1 63 312579759 156289848+ 42 SFS

Disk /dev/sdc: 33 MB, 33348608 bytes
180 heads, 48 sectors/track, 7 cylinders, total 65134 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: 0x00000001

Device Boot Start End Blocks Id System
/dev/sdc1 128 59519 29696 7 HPFS/NTFS/exFAT

Disk /dev/sdd: 3868 MB, 3868430336 bytes
255 heads, 63 sectors/track, 470 cylinders, total 7555528 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/sdd1 * 128 7555455 3777664 b W95 FAT32
Go to the top of the page
 
+Quote Post
michaelk
post Nov 17 2012, 12:49 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



To see all of the information on the drive look at the output of the command
hdparm -I /dev/sdc

The partition table is corrupted whether or not the data is still intact is difficult to determine. The best solution is to copy the data to another drive as an image using the dd command. There are various utilities like testdisk and photorec that can find lost files. You can then try recreating the partition table with help form your teacher and hopefully the drive will be accessible. You might want to change the partition ID of your 160GB drive. SFS is a windows type and it would easy for you to reformat it by mistake. You mentioned that you repartitioned the 160GB drive but it does not appear like anything happened. What utility did you use to partitioned the drive? So did you actually select the right drive?
Go to the top of the page
 
+Quote Post
Feesthoed
post Nov 17 2012, 02:44 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-November 12
Member No.: 17,965



I'll take a look at the command and post my results.

I'll give it a shot and see which files and so I can retrieve.
About recreating the partition, how would that work ?
I'm asking it since I won't be seeing my teachers for about two weeks due vacation and I can't really wait that long.
And I did partion my 160GB HDD without a doubt.
Thanks for your response btw !
Go to the top of the page
 
+Quote Post
michaelk
post Nov 17 2012, 03:31 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



You would need a least 1TB disk and can copy via
dd if=/dev/sdc of=/path/to/disk/imgfile.img

This protects your original data while you attempt to recover lost files.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 09:21 AM