Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 85

Thread: GParted says hard drive is "unallocated"

  1. #21
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GParted says hard drive is "unallocated"

    that is because it is so damaged.

    From testdisk and efi/gpt what did it show?

    Again what did you do to get to this point. It might help in trying to solve the issue.

    And what is in the partition?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #22
    Join Date
    Sep 2012
    Beans
    45

    Re: GParted says hard drive is "unallocated"

    Testdisk shows this:
    xubuntu@xubuntu:~$ sudo sgdisk -b sda-backup.gpt /dev/sda
    Caution! After loading partitions, the CRC doesn't check out!
    Warning! One or more CRCs don't match. You should repair the disk!

    ************************************************** **************************
    Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
    verification and recovery are STRONGLY recommended.
    ************************************************** **************************

    Warning! Secondary partition table overlaps the last partition by
    33 blocks!
    You will need to delete this partition or resize it in another utility.
    The operation has completed successfully.
    The only point at which I noticed that it started to have more problems was after I tried updating the BIOS by putting the newest version on the flash drive and then installing that using EasyFlash. After that, the option to boot from the hard drive was gone, along with the option to add a new boot option, until I plugged in my USB or entered a CD.

    That partition is my laptop's internal hard drive.

    Is that all the information that you wanted? If there's anything else just let me know, though I might need help figuring out how to go about getting it.

  3. #23
    Join Date
    Sep 2012
    Beans
    45

    Re: GParted says hard drive is "unallocated"

    Also, for more information, the BIOS was downloaded directly from the ASUS site (this was the most recent for the R500VD model) and it was this version:
    Version 404

    Description BIOS 404
    1.Fix the issue that SecureBoot will be disabled if BIOS is updated by EzFlash or WinFlash File Size 2,69 (MBytes) 2012.09.06 update Download from Global (DLM) Global

  4. #24
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GParted says hard drive is "unallocated"

    Well, secure boot is the new issue with Windows 8 and UEFI systems. That locks system and only Windows will boot. I did not think any vendor has turned on the secure boot flag yet, but it is a requirement with all new Windows 8 systems.

    You posted the info from gdisk or sgdisk as it is always suggested to backup partition table before making changes.

    Did you try testdisk and the efi/gpt and deeper search?
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #25
    Join Date
    Sep 2012
    Beans
    45

    Re: GParted says hard drive is "unallocated"

    Okay, so you don't think that it could have anything to do with the BIOS update using EasyFlash? Because after that is when the recovery console went away and I could no longer boot from the hard drive. Just making sure that I didn't do something that might have damaged the hard drive by doing that.

    Well, testdisk said this:
    Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
    Current partition structure:
    Partition Start End Size in sectors

    1 P EFI GPT 0 0 2 267349 89 4 4294967295

    Warning: Bad ending head (CHS and LBA don't match)
    No partition is bootable
    Which of the links you sent me is the one that you're suggesting me to use?

  6. #26
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GParted says hard drive is "unallocated"

    Well, it does not matter as neither is working.

    Not sure how but we need to shrink the partition slightly so the sgdisk is not complaining about overlap. I have not done that from gdisk, only from gparted. But because of the errors gparted will not work for you.

    Can you skip the backup and try gdisk and several of its commands. I expect it may not work either, but we need to try.

    first (not sure if sudo required from liveCD?)
    gdisk /dev/sda

    Without know exact errors I cannot suggest, but gdisk page has several suggestions on commands to use.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #27
    Join Date
    Sep 2012
    Beans
    45

    Re: GParted says hard drive is "unallocated"

    I had to use sudo for it, and it said this:
    xubuntu@xubuntu:~$ sudo gdisk /dev/sda
    GPT fdisk (gdisk) version 0.8.1

    Caution! After loading partitions, the CRC doesn't check out!
    Warning! One or more CRCs don't match. You should repair the disk!

    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: damaged

    ************************************************** **************************
    Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
    verification and recovery are STRONGLY recommended.
    ************************************************** **************************

    Warning! Secondary partition table overlaps the last partition by
    33 blocks!
    You will need to delete this partition or resize it in another utility.
    It's very similar to what's shown in the link you gave me, but I'm not sure what to do after that, since after it seems to cut to a different section about manual recovery.

  8. #28
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GParted says hard drive is "unallocated"

    Nothing seems to want to open partitions so you can resize it and as long as it overlaps, gdisk will not even let you do anything. Do you have any details on what the partition table structure was? How many partitions and sizes?

    Do you have data you want to attempt to recover.

    Testdisk has photorec which just scans drive for anything that looks like a file by types. It does not recover filename, just extension. Some files like music & photos do have internal data that can be used to rename to a better name. Process is very long (I have used it) and you need another drive with enough room to copy all your data to.

    http://www.cgsecurity.org/wiki/PhotoRec
    http://www.psychocats.net/ubuntucat/...rdeletedfiles/
    http://ubuntu4beginners.blogspot.com...otorec-in.html

    Use scripts to help sort and rename files:
    http://www.cgsecurity.org/wiki/After_Using_PhotoRec
    use flac tags to rename files
    http://lglinux.blogspot.com/2008/10/...ame-files.html
    http://system-tricks.com/index.php/d...overy-results/
    Best GUI Indexing/Search Tool for Local Files?
    http://ubuntuforums.org/showthread.php?t=1739701

    Then just totally erase & reformat drive.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #29
    Join Date
    Sep 2012
    Beans
    45

    Re: GParted says hard drive is "unallocated"

    How do I check the partition, again? Is that fdisk?

    Yes, I do. Will I have to run it once for each file type, or is there a way for me to just enter multiple file types? Around how long would the process be for a 500GB hard drive?
    The files I'm trying to recover are pictures and videos that I had placed on my laptop to have space on my camera's SD card, which I foolishly didn't think to back up elsewhere.

    Alright, I'll only need something with enough space to hold the pictures / videos that it finds? If so, I have a 16GB flash drive that should do the trick, the SD cards I moved onto here were 1GB and 4GB cards, and other than that, my laptop doesn't have much at all on it since it's pretty new.

    Also, do you know if picture info (like when it was created) will still show up?
    Thank you, I'll begin reading the information in the links now.

  10. #30
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GParted says hard drive is "unallocated"

    Try testdisk one more time and try deeper search if it will let you. If deeper search works then it finds file names. But even deeper search takes a long time.

    If you have a 500GB drive it will be at least over night for photorec. I think it was about 6 hours and I was only trying to recover two folders. But I think it searched entire drive and found many files. Your 16GB flash will not be enough. For me I have saved some text files many, many times. Since the deleted files were still there it recovered all the deleted one's also. I was never sure I recovered the last saved version.

    There is a menu setting on extensions to search for. But it does not speed it up as it still scans every bit on disk and trys to find what looks like a file start, file end and then write that file. You may save the bit of time writing files you may not want.

    The larger the file the less chance it will recover it correctly. Pictures should be ok, but you will just have to see what it can find.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 3 of 9 FirstFirst 12345 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •