LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
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
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
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: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
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



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 05:11 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
Open Source Consulting | Domain Registration