windows 8 data lost while installing ubuntu 14.04 - linux

I had windows operating system. I have installed Ubuntu 14.04 operating system by over writing windows 8. But I lost 5 GB of data which was very important.
I tried test disk tool to recover data.But it couldn't recover the data.
testdisk
kindly help to solve this problem.
Is it possible for a linux data recovery tool to recover data from NTFS partition?
thanks in advance

If you installed Ubuntu right on top the W8 partition the chances are high that some of that data is lost.
Before you do much and destroy even more data:
1)Get yourself another machine.
2) Attach the disk to it and copy it with DD as backup or for extraction purposes
3) Mount the Copy and analyze it with SleuthKit and Autopsy.
https://help.ubuntu.com/community/DataRecovery

Related

How do I hibernate a VM and boot it on a new machine without losing state of processes?

I have a linux VM running some processes. I want to pause these processes, shut down my VM and boot this VM on a different machine in such a way that all the previously running processes resume execution from the last state before the VM was shut down. Is this possible ? If yes, how can I achieve this ?
Can hibernation help me achieve this ?
First off, What's the hardware?
What host os you using like windows?
What software are you using for the virtual machine?
Where is linux booting off, is it a vmk file?
What kind of storage are you using and have you direct access to it?
You haven't given much information to go by to give exact step by step instructions.
My personal use I have found that it is possible to boot a physical drive with virtualbox, my drive also has a ntfs partition on it but the drive has to be offline on windows for me to boot and have administrator privileges which does not allow access from windows to that partition, if you are only using one physical hard drive I believe this may not be possible or may cause serious failures. If you have another hard drive you can copy the system over to a partition with enough knowledge. Here is a reference from the arch linux wiki
Oh and about hibernation I haven't used but you can read up about acpid
and having the virtual machine software to pass the event on

Cloning Linux partitions to external hdd

I want to copy Linux Ubuntu 14.04 installed on my hard disk to external hard disk. The purpose is to have exact OS bootable from external hdd on another PC.
Here are listed Disk Drives , Ubuntu is installed on 1,0TB Hard Disk.
Partition 1 is NTFS created and used by Windows, this is Partition 2 , and this is Partition 3: h??p://imgur.com/PY0tujU.
External hard disk is here: h??p://imgur.com/51mVrO2
How can I make exact same bootable Linux on my external hard disk? (using disk dump)
To achieve this, you should have a clone software and then things will be easier. For example, when you use AOMEI Backupper to clone OS, it will automatically pack up your system partition and system reserved partition (both make a complete OS package), copying everything here bit by bit.

recover windows drive data after linux installation changes drive to ext4

I had windows installed in system and have 4 drives in which C:/ is windows and other drives have my data.
then I install linux in my C:/ drive
but at installation time it shows only two drives,
one had equal size which had C:/ drive so I installed linux in that drive.
Other had equal size of rest of drives which i did not touch but linux change its file system to ext4.
After installing linux I did not get my other drives.
in gParted it show that other drive have partition /dev/sda4 but not mounted and have 150GB used out of 183 GB. that's mean data of my other drive are in that partition.
Please help me to recover my data.
thanks in advance.
Quoting from Debian official site :
On a GNU/Linux system there's no necessary correspondence between directories and physical
devices, as there is in Windows where each drive has its own directory tree beginning with
a letter (such as C:)
So , given that the other drive is present, judging by the output of gparted as you said, you simply have to mount the partition(s) on a folder of your desire.
Check the Chapter 13 of debian tutorial on how you ll be able to accomplish this.
P.S You do not need Windows for this proccess.

Using ZFS with Embedded Linux

I'm running embedded Linux (Debian on ARM/X86_64). Since it is very much like a full OS, with some hardware differential and a different platform, you may consider it as a regular machine. So, this will be used in the robotics field where the computer will ALWAYS be hard reset by turning off power. It would disqualify me to use a UPS so I would need to make the system infallible.
I'm running some processor-intensive tasks, like OpenCV and OpenNI and OpenKinect. How do I use an uber-powerful filesystem, like ZFS to mirror the entire disk on the SSD for error correction? Does ZFS perform well in Linux? I'm still kinda a newbie in Linux so I don't understand it's internal workings.
My list of possible platforms are:
--Debian#RaspberryPi
--kUbuntu#ODROID-X2
--Ubuntu#PandaBoard
--Ubuntu#NUC-i3/5.
Also, how can I make sure the filesystem doesn't get damaged during reset? I need the computer to start in good time, A.K.A, <3 minutes for the competition.
I will probably be using a 32GB SSD, so I guess a 16GB partition mirrored 2x works or 12 # 3x. I only need to get an OpenCV install working because the code will be downloaded from a SAMBA NFS automatically!
Thanks for your help and good luck ;)!
ZFS is not suited for low memory systems. It do perform well on system with 4GB of RAM and more.

does the memory space of windows and linux overlap for some folders when both operating systems are installed?

I have both linux and windows installed on my pc. when I make some programs in lex and yacc (when working on linux)and store all the files in a folder ,they are corrupted If I use windows for some time. for example 3 days back after storing all the files( xyz.l , a.out ) I switched to windows for some other work after rebooting my pc. after 3 days when I again open that folder(while using linux) a.out was converted into an image and when I double clicked on it, an image opened. the image was same which I downloaded 2 days back while working on windows but I stored in some other folder. so does the memory space used for storage for linux and windows overlap? if not what could be the reasons? It has happened 2 times. and really I have to recode all my programs . I am not able to understand why?
It is not supposed to overlap.This sounds like a configuration problem , where windows and linux are configured to mount the same partition.
Check the file /etc/fstab (under linux) and find out whether this is true.You can try making files in various places and observe if they can be found on the other os.
I don't know how your partitioning looks like, but I guess that it is set up in a way that both OS have read/write access to all partitions, or at least windows has read/write access to the Linux partition.
Is your linux partition a FAT32 partition? You should set it to read only in windows, but I'm not sure how to do this.
Do you use hibernate on the windows side? Windows can get confused if data changes while it is asleep, and this might be the cause of the problems.

Resources