Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: partitioning went bad, need help

  1. #1
    Join Date
    Oct 2013
    Beans
    6

    Unhappy partitioning went bad, need help

    Please click the URL below to read the full issue and leave replys. I don't want to abuse this forum but I am in desperate need of help.
    http://askubuntu.com/questions/405759/need-expert-help-partitioning-went-extremely-bad?noredirect=1#comment521195_405759


    My question, or rather issue, is in the extent of http://askubuntu.com/questions/40537...t520502_405371 in which I wanted to grow my Linux (ext4) partition. The partition /dev/sda6 was in the way of doing this and since it contained bios_grub I didn't touch it until someone with expert knowledge could help me.


    http://i.stack.imgur.com/xnb4T.png
    **As suggested by the helper I deleted the highlighted partition /dev/sda6**


    http://i.stack.imgur.com/Whpsd.png
    **All seemed well**

    The partition was successfully removed so I went on to step 3, merging /dev/sda7 (the ext4 containing everything Ubuntu) with the unallocated partition to grow my Linux partition.

    http://i.stack.imgur.com/uMv5J.png
    **Everything still seemed to be going the right way**

    So everything went well. The helper suggested to turn swappoff on /sda8 during the process, so I did.
    Gparted kept on merging the two partitions, which I think was a good thing, as well as refreshing itself to find all the partitions after turning swapoff.

    When GParted finally refreshed, the program just stopped and shut itself down while it was still in the middle of growing /dev/sda7.

    I restarted GParted to find this:
    http://i.stack.imgur.com/LhKGt.png
    **Mini heart attack**

    Now I'm running `sudo testdisk` from Ubuntu live DVD session, performing a deeper search on the hard drive. I did this yesterday allready, but I realized fixing this was a little, if not way over my head. So please, if you have the time (but especially the **knowledge**to help me with this (preferably in real time through chat or anything), Please...

    http://i.stack.imgur.com/Dyy2E.png
    **Depiction of TestDisk results**
    Last edited by machina_13; January 15th, 2014 at 09:59 PM. Reason: Changed title to amphisize goal of post

  2. #2
    Join Date
    Apr 2007
    Beans
    2,578
    Distro
    Ubuntu

    Re: Need EXPERT help, partitioning went extremely bad

    This shows (again) that moving a partition is a risky business, with limited chance of success. It is much safer to delete and recreate to grow a partition. You will be helped most quickly by reinstalling the system the way you want: this provides an opportunity for a thorough cleanup.

  3. #3
    Join Date
    Oct 2013
    Beans
    6

    Re: Need EXPERT help, partitioning went extremely bad

    Thank you for your reply. Making backups on an external disks will be my first priority after this unfortunate event has ended. I want to restore as much data as possible though. Running TestDisk shows me that a lot, if not all my files are still present on the hard disk, including all the 'lost' partitions. I will post the results when it's finished with the deeper scan.
    Last edited by machina_13; January 15th, 2014 at 12:11 PM.

  4. #4
    Join Date
    Oct 2013
    Beans
    6

    Re: Need EXPERT help, partitioning went extremely bad

    Screenshot attached.
    Attached Images Attached Images
    Last edited by Bucky Ball; January 15th, 2014 at 12:47 PM.

  5. #5
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Need EXPERT help, partitioning went extremely bad

    Please refrain from inserting your screenshots in the body of your posts and attach them instead. Spare a thought for those with slow connections and vision issues.

    To attach, 'Go Advanced' and use the paper clip icon. Thanks.

  6. #6
    Join Date
    Oct 2013
    Beans
    6

    Re: Need EXPERT help, partitioning went extremely bad

    Ok, thanks

  7. #7
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: partitioning went bad

    if your data is still there you probably only deleted/corrupted your partition table. in windows programs like partition doctor (not free) can restore partitions. i am not sure which one in linux does that. probably fdisk has some commands one could run to recreate the table. i don't know.

    backups have to be done before messing arround with partitions.

    it happened to me once when the all data partitions but the first C "drive" dissapered on windows after a filezilla client update got stuck and crashed the OS. partition doctor recovered the table.
    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup: Redobackup

  8. #8
    Join Date
    Oct 2013
    Beans
    6

    Re: partitioning went bad

    I guess I learned the hard way, right? If you know anyone who know how to help me or knows anyone else who knows how to help me then I would be very gratefull. Anyone who knows something the main link to the question is http://askubuntu.com/questions/40575...t521195_405759

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: partitioning went bad, need help

    gpt has backup partition table also.
    What does gdisk show. Not in Ubuntu live installer, but may be in other Linux repairCds.

    sudo apt-get install gdisk
    sudo gdisk -l /dev/sda

    repair gpt:
    http://www.rodsbooks.com/gdisk/repairing.html
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Oct 2013
    Beans
    6

    Re: partitioning went bad, need help

    ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.8.1

    Caution: invalid main GPT header, but valid backup; regenerating main header
    from backup!

    Caution! After loading partitions, the CRC doesn't check out!
    Warning! Main partition table CRC mismatch! Loaded backup partition table
    instead of main partition table!

    Warning! One or more CRCs don't match. You should repair the disk!

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

    Found invalid MBR and corrupt GPT. What do you want to do? (Using the
    GPT MAY permit recovery of GPT data.)
    1 - Use current GPT
    2 - Create blank GPT

    Your answer:

Page 1 of 2 12 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
  •