Results 1 to 7 of 7

Thread: Power loss during resize of ext4 partition using Gparted

  1. #1
    Join Date
    Jun 2007
    Location
    Earth
    Beans
    273
    Distro
    Ubuntu 12.04 Precise Pangolin

    Power loss during resize of ext4 partition using Gparted

    Hey everyone,

    I have a major problem. I was resizing (expanding + moving to the left) an ext4 partition on an external drive. During the resisze, I tripped over the power cable of my laptop and since the battery has been dead for quite some time, it lost power immediately. My question is: is there any way at all to recover the data and undo the damage?
    Intel Core i7 3770 @ 3.40Ghz | ASRock Z77 Extreme4 | Sapphire Radeon HD 7800 | HL-DT-ST BD-RE BH10LS38 ATA Device | OCZ Agility 3 SATA III SSD 60GB (ntfs [win7 boot], ntfs [win7], ext4 [linux]) + 2x Seagate Barracuda 500GB (RAID0, ntfs [data])

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Power loss during resize of ext4 partition using Gparted

    Quote Originally Posted by Bliepo32 View Post
    Hey everyone,

    I have a major problem. I was resizing (expanding + moving to the left) an ext4 partition on an external drive. During the resisze, I tripped over the power cable of my laptop and since the battery has been dead for quite some time, it lost power immediately. My question is: is there any way at all to recover the data and undo the damage?
    Yes, you restore from the backup you made right before you decided to make major system changes

    Peace
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Jun 2007
    Location
    Earth
    Beans
    273
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Power loss during resize of ext4 partition using Gparted

    Quote Originally Posted by haqking View Post
    Yes, you restore from the backup you made right before you decided to make major system changes

    Peace
    Unfortunately, I didn't have the disk space to do so. I am guessing this simply means that there is no way to recover the data?
    Intel Core i7 3770 @ 3.40Ghz | ASRock Z77 Extreme4 | Sapphire Radeon HD 7800 | HL-DT-ST BD-RE BH10LS38 ATA Device | OCZ Agility 3 SATA III SSD 60GB (ntfs [win7 boot], ntfs [win7], ext4 [linux]) + 2x Seagate Barracuda 500GB (RAID0, ntfs [data])

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Power loss during resize of ext4 partition using Gparted

    Quote Originally Posted by Bliepo32 View Post
    Unfortunately, I didn't have the disk space to do so. I am guessing this simply means that there is no way to recover the data?
    you could try testdisk

    http://www.cgsecurity.org/wiki/TestDisk
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

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

    Re: Power loss during resize of ext4 partition using Gparted

    Part of data is in one place and part in another. And partition tables on file locations are not correct.

    You may be able to use photorec to scan drive for anything that looks like a file. It takes a really long time and you do not get filenames, just extensions or file types. And you have to have another drive with enough room.
    I used it and it found every text file I had but found all the previous deleted copies & I was never sure I found the final saved version. A lot of file compares and searching. Weeks to resolve details. I now backup a lot more.

    Testdisk & photorec
    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
    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.

  6. #6
    Join Date
    Jun 2007
    Location
    Earth
    Beans
    273
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Power loss during resize of ext4 partition using Gparted

    Thanks a lot. I will try using photorec. Hopefully it will be able to save my data.
    Intel Core i7 3770 @ 3.40Ghz | ASRock Z77 Extreme4 | Sapphire Radeon HD 7800 | HL-DT-ST BD-RE BH10LS38 ATA Device | OCZ Agility 3 SATA III SSD 60GB (ntfs [win7 boot], ntfs [win7], ext4 [linux]) + 2x Seagate Barracuda 500GB (RAID0, ntfs [data])

  7. #7
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Power loss during resize of ext4 partition using Gparted

    Quote Originally Posted by Bliepo32 View Post
    Thanks a lot. I will try using photorec. Hopefully it will be able to save my data.
    get yourself a external HDD for backups in the future. (it saves alot of headaches)

    Peace
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

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
  •