<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks a lot Nils for a early reply. Yea seems like that only. Even i thought so. Let me see<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Peter , thanks for your reply too.. Yes i now understand and realise the value of backups. How do i make a image of the broken file system ? I am not having so much expertise. Could u guide me ?<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks in advance<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 12:36 PM, Petter Adsen <span dir="ltr"><<a href="mailto:petter@synth.no" target="_blank">petter@synth.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 27 May 2015 22:59:42 +0200<br>
Nils Kassube <<a href="mailto:kassube@gmx.net">kassube@gmx.net</a>> wrote:<br>
<br>
> Hari wrote:<br>
> >   I have a dual boot - Ubuntu and windows 7. I recently wass playing<br>
> > around in the ubuntu and used the 'dd' command and it kinda<br>
> > corrupted my linux file system. I exactly dont know what happened<br>
> > to Linux now. All my data is missing. I did the boot-repair and now<br>
> > the grub is removed and it is directly booting to windows. Please<br>
> > help me recover all my data in ubuntu. It is very important. Please<br>
> > help me with the process. I am desperate!!<br>
> ><br>
> > Here is the pastebin link containing the logs.<br>
> ><br>
> > <a href="http://paste.ubuntu.com/11395840/" target="_blank">paste.ubuntu.com/11395840/</a><br>
><br>
> | sda6:<br>
> ...<br>
> | Mounting failed:   mount: unknown filesystem type ''<br>
><br>
> To me it looks like your Ubuntu system was on /dev/sda6 (the other<br>
> partitions seem to be OK). With your dd command you overwrote vital<br>
> parts of that partition. IMHO it would be best to try to recover<br>
> remaining data using photorec / testdisk (unless you have a backup of<br>
> your valuable data). Then you would reinstall the system from<br>
> scratch. But please wait for other opinions before you proceed.<br>
<br>
</span>I'm with Nils on this. photorec and/or testdisk may be able to retrieve<br>
some of the data for you, you can also try gddrescue or myrescue.<br>
<br>
The best approach, if you have the space, would be to make an image of<br>
the broken file system, and run the rescue tools on the image, or at<br>
least make sure you do not disturb the broken partition further while<br>
attempting to rescue data. Thus, if one tool fails to rescue anything,<br>
you can try the others, as no changes has been made to it.<br>
<br>
This is also a really good candidate for an occasion to learn the value<br>
of frequent backups. And to be careful when you run things as root.<br>
<br>
To add to this, I feel sorry for you - I really do. We have all been in<br>
a similar situation at one time, and the most valuable thing you can<br>
get out of this (apart from retrieving your data) is to learn that<br>
backups are necessary, not optional.<br>
<br>
It is also important to state that when you work to retrieve your data,<br>
it is far better to ask here first than to do something you don't<br>
understand the consequences of. The process can get complex, and you<br>
might need to make difficult choices. Get all the help you can.<br>
<br>
There are also commercial tools for data recovery, the only one I know<br>
of is R-Studio, but I know there are more. I haven't tried any of them,<br>
though, so I don't know if they're worth the money. If the data is<br>
absolutely critical, you should take it to a professional data recovery<br>
service rather than do anything wrong and ruin them completely.<br>
<br>
Good luck!<br>
<span class="HOEnZb"><font color="#888888"><br>
Petter<br>
<br>
--<br>
"I'm ionized"<br>
"Are you sure?"<br>
"I'm positive."<br>
</font></span><br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br></div>