LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2018, 08:08 AM   #16
luke2
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by pan64 View Post
so you need to find another solution. In your original post you wrote you created a disk image and copied to somewhere else. How could you do that at all?
I'm on ubuntu live with my usb disk. I've created that image using disk utility. It was saved on another partition of my hard drive.
 
Old 08-12-2018, 11:17 AM   #17
luke2
LQ Newbie
 
Registered: Aug 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Just decided to format the partition.
Are there any chance to get back my data from formatted partition?
 
Old 08-12-2018, 11:27 AM   #18
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 525

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by luke2 View Post
I have dual os win10 64bit and ubuntu 18.04 64bit laptop. But ubuntu installed partition is corrupted and hidden from the file manager. It won't appear on gurb menu. So I created a disk image using ubuntu live disk utility and copy to another partition.

Disk Image of sda6 (2018-08-11).img

Please tell me how can I extract this .img file to another ntfs partition. It's called sda3.
How I would have made the image:
1-mount sda3:
Code:
mount -t ntfs-3g -o rw /dev/sda6 /mnt
2-check for enough room to create the image:
Code:
df /mnt
3-create the image file:
Code:
ddrescue /dev/sda6 /mnt/bkup6.img
Does this sound like what you did? Was sda3 actually formatted NTFS, and did it have enough freespace to fit a 100GB file? Then you should have been able to proceed as michaelk explained.
 
Old 08-12-2018, 11:28 AM   #19
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 525

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by luke2 View Post
Just decided to format the partition.
Are there any chance to get back my data from formatted partition?
If you were the FBI, maybe. Otherwise, no.
 
Old 08-12-2018, 11:30 AM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,353

Rep: Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233
You have to have enough free space on the destination filesystem that is bigger than the size of your source which is 100GB.

Have you tried mounting the partition from the live CD yet? Yes but maybe not entirely. testdisk and photorec are two good utilities for data recovery.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Reduce Windows 10 Partition with an Obstructing Recovery Partition to Enlarge LINUX Partitions Steve R. Linux - Hardware 0 03-26-2018 07:48 PM
Partition Recovery Rofl Time Linux - Newbie 3 11-14-2017 09:47 PM
partition recovery?? insigniya Linux - General 2 04-06-2006 01:34 PM
Partition recovery julien.r Linux - Hardware 2 11-19-2003 08:00 AM
partition recovery cshaigh Linux - Software 9 08-26-2001 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration