Help: Partition data recovery - General Questions and Answers

I have a 160 gb hard disk on my desktop with windows 7 and puppy linux installed today I wanted to extend the size of my c volume where both were installed, by mistake I converted my c partition to dynamic the os' s weren't booting up - boot mgr was missing, then I inserted my windows xp disc and when I was in the partition part I deleted one partition of 40 gb then it showed me 157gb unallocated space I have not installed windows now as I thought I have formatted my whole hard disk now please anyone suggest a way to recover the data on all other drives
Sent from my A52 using xda premium

prajyotsingh said:
I have a 160 gb hard disk on my desktop with windows 7 and puppy linux installed today I wanted to extend the size of my c volume where both were installed, by mistake I converted my c partition to dynamic the os' s weren't booting up - boot mgr was missing, then I inserted my windows xp disc and when I was in the partition part I deleted one partition of 40 gb then it showed me 157gb unallocated space I have not installed windows now as I thought I have formatted my whole hard disk now please anyone suggest a way to recover the data on all other drives
Sent from my A52 using xda premium
Click to expand...
Click to collapse
Check with google
Backtrack or Kali Linux distributions will boot from USB or CD and come with tools for 'data recovery' that maybe able to help. If the data that you want to recover has been written over by other data; then things can be a little tougher. The best stuff for doing what I think you want to do is going to run in a terminal window not a GUI, so hopefully you're comfortable with the command line
Let me know if I need to be more specific and I'll see about adding better instructions, otherwise, google up some 'forensic data or drive recovery or imaging' software for one of the above suggested distributions and you should be able to recover the important stuff.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web

Try loading any linux from usb and download testdisk recovery tool its a cross platform supported program that saved me many times. Google for testdisk and how to use it.Hope this helps.
Sent from my GT-I9505 using xda app-developers app

I'm back from helping someone else with something similar. Had an sdcard go out, saying "damaged sd" and here is how they recovered nearly all the data...
From Backtrack Linux...
dd was able to make a forensic image of the SD card, and testdisk was able to show and save unlinked files from the image file, so we were able to get all her photos and videos back!
http://www.cgsecurity.org/wiki/TestDisk
Click to expand...
Click to collapse
The "unlinked" files when scrolling through should have the first two characters or letters messed up, and the link provided should have directions on how to recover lost data. The thing to do is "dd" as this will make a full copy of everything to another drive, this will alow you to try different methods of recovery on the copy without risking the original drive.
Hope you get it all back
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey

In windows , there are many tools
In windows , there are many tools,but in linux ,I dont know much

Related

how to partition SD in windows xp

I have seen it in several places on this forum that it is not possible to partition an SD card, or any other removable media in windows. This is incorrect. It is possible.
TRY THIS AT YOUR OWN RISK
First...
BACK UP YOUR CARD - YOU WILL LOOSE ALL DATA
Download windows enabler from softpediahere
second...
navigate to the folder you downloaded to and start the EXE. this app doesn't install, you just run in. You will notice a new icon in your SYSTRAY (the area by the clock). click on it once and you will see the icon changes to read "on".
third...
Be a bit careful now because you have just turned on every greyed out option in windows. (this can be useful for all sorts of things but be carefull)
Go into control panel>administrative tools>computer manager.
on the left click on Disk management.
find your SD card. If there is already a partition on it right click and click on delete partition. This is usually greyed out but if you followed all the instructions it wont be.
Fourth...
right click again and click on New Partition. select primary in the wizard and leave the drive letter as is (or change if you really feel the need).
In the next screen you will be given the option of changeing the size, but... you guessed, it's greyed out. Never mind though, click there anyway and magically it is not greyed out any more. type in the size you want and format the partition.
you can now repeat step four for the next partition but when you get to the partition type all three options are grey, again if you just click on them they "come alive" because of windows enabler. There are various tools wich allow you to format to EXT2 from windows once the partition is created. I'm not gonna reccomend one becase I actually used one from panasonic and it was a bit rubbish, I dont know of a good one - go google and past here if you find a nice one.
I suggest deleting windows enabler at this stage as it is a dangerous peice of software. Keep the zip for future use!
You can also do this by editing the registry and skip the windows enabler part but I don't like the idea of giving directions for that, too easy to get it wrong and this is probably quicker, even including the download time for the enabler.
It works up to this step:
find your SD card. If there is already a partition on it right click and click on delete partition. This is usually greyed out but if you followed all the instructions it wont be.
Click to expand...
Click to collapse
I've got message like:
The operation is not supported on removeable media
Click to expand...
Click to collapse
What now?
This nifty little program does allow me to use the grayed out functionality, but still I cannot create 2 partitions on 1 SD card.
I have however been able to set the partition on my SD card to active with the help of this tool.
Robin
mrwam said:
It works up to this step:
I've got message like:
What now?
Click to expand...
Click to collapse
I got the same message... Windows Vista 32-bit
try paragon partition manager 9 to create partition for the sdcard..
or download ubuntu and you can format it using ubuntu.
robpet2 said:
try paragon partition manager 9 to create partition for the sdcard..
or download ubuntu and you can format it using ubuntu.
Click to expand...
Click to collapse
Live CD? I'm not willing to completely ditch Windows just to partition a lowly SD card.
U don't have to ditch windows... ubuntu let's u dual boot, and then u can delete ubuntu when u want to
robpet2 said:
U don't have to ditch windows... ubuntu let's u dual boot, and then u can delete ubuntu when u want to
Click to expand...
Click to collapse
Still not interested and that doesn't answer my question really. Can formatting through an Ubuntu Live CD be successful? I have an Ubuntu Ultimate CD handy.
Thought u would have figured it out but u didn't.. the answer to your question is yes u can format using ubuntu... paragon worked for me easy.. but its up to on what u want to use to partition the sdcard...
Paragon (trial version) worked very well for me. It was intuitive and easy to do, I'm not the best with things like this but I didn't need more direction than "use Paragon, make EXT2 partition, no bigger than 2gb on Class 6 card".
uberingram said:
Still not interested and that doesn't answer my question really. Can formatting through an Ubuntu Live CD be successful? I have an Ubuntu Ultimate CD handy.
Click to expand...
Click to collapse
I used Ubuntu but not running it on the live CD. Install it as a program in Vista. Then u can boot into Ubuntu after a restart.
thanks

Wubi - For those having trouble partitioning Ext2/3/Swap

Hey everyone,
For those of you who are having trouble partitioning your SD Card, be it because you can't work the onphone programs or that you can't install ubuntu or partition your hard drive then check out "Wubi"
Wubi is a "Windows Application" it installs just like any other windows app the difference is it will install Ubuntu on your PC. Similar to a virtual machine it creates a "virtual hard drive" on your PC and allows you to boot into that hard drive (which of course contains ubuntu).
It's hard to explain how it works but here's the general jist of it:
No Partitioning, No Lengthy Downloads, No Burning to DVD. Simply run the windows application, install and boot into Ubuntu. If you want to remove it, go to Add/Remove Programs in windows like you would with a normal app.
This will allow you to then go into the Partition Editor and partition your SD Card into FAT32, EXT2/3 and/or Linux-Swap partitions easily.
Here's the link:
http://wubi-installer.org/
NOTE: Will only work in Windows 7 RC if you run in Compatibility mode for Windows Vista.
brummiesteven said:
Hey everyone,
For those of you who are having trouble partitioning your SD Card, be it because you can't work the onphone programs or that you can't install ubuntu or partition your hard drive then check out "Wubi"
Wubi is a "Windows Application" it installs just like any other windows app the difference is it will install Ubuntu on your PC. Similar to a virtual machine it creates a "virtual hard drive" on your PC and allows you to boot into that hard drive (which of course contains ubuntu).
It's hard to explain how it works but here's the general jist of it:
No Partitioning, No Lengthy Downloads, No Burning to DVD. Simply run the windows application, install and boot into Ubuntu. If you want to remove it, go to Add/Remove Programs in windows like you would with a normal app.
This will allow you to then go into the Partition Editor and partition your SD Card into FAT32, EXT2/3 and/or Linux-Swap partitions easily.
Here's the link:
http://wubi-installer.org/
NOTE: Will only work in Windows 7 RC if you run in Compatibility mode for Windows Vista.
Click to expand...
Click to collapse
no lenghty downloads?!?!- i downloaded the setup exe and it said it was going to take 10 hours to download the .iso file...
Was going to install this and try it out but 16hr ISO download. Ill still with sdparted or Paragon
futango said:
Was going to install this and try it out but 16hr ISO download. Ill still with sdparted or Paragon
Click to expand...
Click to collapse
agreed... good news though... if you download and burn the ubuntu 9.04 iso from http://www.ubuntu.com/getubuntu/download you can choose wubi as an install option... i downloaded the iso and it took a whole 32 minutes to download... not bad at all.
Apologies palosjr, I knew that it downloaded the ISO but it took me only around 3 minutes so I assumed that Wubi downloaded from a different location to the where you would download the standard ISO.
palosjr said:
agreed... good news though... if you download and burn the ubuntu 9.04 iso from http://www.ubuntu.com/getubuntu/download you can choose wubi as an install option... i downloaded the iso and it took a whole 32 minutes to download... not bad at all.
Click to expand...
Click to collapse
Nice. I already do have ubuntu 9.04 on disk. Thats good to know though.

[QUESTION] Making USB boot Linux via Phone

Okay,
So I played with linux literally once or twice in my life and I never really dig into any deeper than that...
However I am aware / have made bootable Linux OS's in the past on just a normal USB, this was a few years back following some guides.
I have a Galaxy S and I know my computer tries to run the USB driver at boot because if my phone is plugged in the PC stalls at the Lenovo splash screen.
therefore it must be possible for it to run as a normal USB Boot so long as the right image in on the SD card in the phone.
My question is, how?
Any help greatly appreciated, going to start researching but any one with any quick ideas please let me know.
regards,
EDIT, I guess I will need to partition the SD Card, can I do this and not affect the Android OS? I presume it would have to be an external one too?
I guess that you could do it as long as your samsung mounts your SD when you boot your PC.
You could use a tool called UNETBOOTIN to create a USB-bootable version of any linux distro.
I would do this as follow:
- back up EVERYTHING in my SD card to a folder on PC
- run UNETBOOTIN and create a bootable linux on a usb stick
- copy everything from the usb stick to the root of your SD
- restore the files you have backed up earlier
If your Galaxy S mounts the SD card right at the boot of your PC then everything should work.
FYI you will not be able to see what is inside your SD, afaik, since linux will stay in a compressed filesystem image. So you won't be able to access your files on your phone, neither use it via ADB or fastboot.
Hope this has been helpful
Based on that last statement does that mean you cannot save anything on your USB boot versions of linux, since they are image files?

Surface Pro: Extend C Drive Partition?

Ok so I went ahead and created the USB flash restore disk for my Surface Pro 64 and all that, I have a new partition now of about 7.81 GB. Now the issue I face is I don't want this extra partition, I want to add it to the current 50GB C partition, and in any normal windows computer it's allowed, why is it not so in the Surface Pro? Is it the location of the partitions? Is there any sure way to delete every single partition except the C partition in order to get this done?
If you don't know what I'm talking about these are the steps to do this:
http://www.petri.co.il/increase-storage-surface-pro-recovery-usb.htm
Now if anyone has a 3rd party program that can do this for free that would be great, the built in Disk Management application doesn't allow you to do so.
Thanks,
Mike
I don't have a Surface Pro, but the *usual* arrangement is that, after the boot partition, the system drive is then followed by the backup partition. To use that, you should just be able to delete the backup partition (don't create a new one; just delete it entirely) and then Extend the system volume into that space. This does, however, require that the system volume be placed immediately in front of (before) the recovery partition that you're deleting. If there are any other partitions in between, you'll need to delete them too. If the recovery partition was located before the system volume, you can't do this at all while Windows is booted. My approach at that point would involve an external hard disk (to have room to store the backup image of the system volume, although a sufficiently large flashdrive or microSD would work too), a portable Linux installation or live image (may need to disable Secure Boot), and either moving or re-building the system volume to start at the beginning of the space you just freed up.
Yea, I know exactly how to do it, it just in fact will not let me do it. I have attached some images as proof. If you try to delete any of the 3 small partitions the only right click option shown to you is "Help" and the C & D partitions can only shrink, no Extend. I've deleted D before and C still couldn't extend because of the one partition in between that I can't delete. Maybe there's a program that can override this limitation.
Thanks.
DISKPART from an elevated command prompt?
I used it on a flash drive but I didn't see an option for individual partitions.
Hmm http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
Diskpart.exe has an interactive mode with excellent help information. Typing "help" into it, optionally followed by a command, will give you information about the commands (or the specific command and its sub-commands).
The general procedure, including abbreviations you can use instead of the full commands:
diskpart
lis dis (List disks)
sel dis 0 (Select Disk 0; modify if needed)
lis par (list partitions of the selected disk)
sel par 4 (again, adjust as needed)
del par override (the "override" part should let you delete any partition type, so long as it isn't critical to system operation)
From this point on, you can use diskmgmt.msc if you want to.
Sorry to bring back a solved thread, but is this partitioning normal? I had the same thing and was concerned my tablet was returned after someone installed osx. Did you do anything like that to end with that partitioning? Did you upgrade to 8.1 before seeing this partition table?
Thanks for the help. Im trying to figure out if i need to return it to BestBuy.
As I know, in your case, you can have two ways to go on:
1). Back up everything important well, shrink other partition with free space and click “Extend” option by right clicking C drive in Disk Management.
2). Apply a tool to help you. If the firstly way cannot work for your computer, you also can learn to extend your partition by using some partition resizing tool like GParted, IM-Magic Partition Resizer Free, Active Partition Master and more.
No matter which one you choose to use, you’d better make data backups well in advance in case of data loss.
Sorry to necro bump, but this happened to me on a brand new surface pro I bought (300$ on ebay couldn't say no)
I removed the recovery to get the 8 gigs back after upgrading to 8.1 and had to use diskpart to remove partition 5 which was a 450mb recovery between my C and my New Volume. once removed, I deleted the new volume and all 8.x gbs of space was added back to my C drive.
happy happy happy
Got a 128gb sd card, changed the libraries to pool from the D: drive and alls good here
Sorry to necro bump, but this happened to me on a brand new surface pro I bought (300$ on ebay couldn't say no)
I removed the recovery to get the 8 gigs back after upgrading to 8.1 and had to use diskpart to remove partition 5 which was a 450mb recovery between my C and my New Volume. once removed, I deleted the new volume and all 8.x gbs of space was added back to my C drive.
happy happy happy
Got a 128gb sd card, changed the libraries to pool from the D: drive and alls good here
Click to expand...
Click to collapse
What is the command line in diskpart to remove partition 5?
Sent from my SGH-I747 using xda app-developers app
Run command as admin
Disk part
List disk
Select active disk
List partition
Note the 450mb recovery part
Delete partition x (probably 4 but double check)
If it fails (probably) read the error there will be an override command: delete partition x noerr override
This will prevent the system from rejecting the delete.
You can then delete the 8 GB partition as well using the same command and you should have a bunch of free space. You can use diskpart or disk manager to add that to your C
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Sorry to bring up an old thread. I was wondering what the 4th partizione, the one between the main partition and the recovery partition we have now free, contains. Can I delete it with no consequences or not ? Thanks

[Guide][Android-x86] Mount Internal Windows Partition (NTFS) in Android-x86

Mount Internal Windows Partition (NTFS) in Android-x86.
Android-x86 project is one of the new and exciting offshoot of Android platform solely developed by the community. Our Android community has contributed very heavily for the development of Android as one of the most loved platform for both users and the development community as a whole. Custom ROMs such as CyanogenMod, OmniROM, SlimRom, AOKP, Paranoid Android and many more community developed ROM's rock our beloved devices, including latest flagships to aged Legends such as HTC HD2, Motorola Defy(+). One such community developed Android ROM is the Android-x86 Project.
Android-x86 project aims porting the android experience as whole to the x86 architecture platform. This includes our laptops, desktops and x86 based tablets. Although android is a mobile platform specifically developed for phones, tablets and newly introduced wearable devices such as smart watches and Google Glass eyewear, google has not introduced the android as an operating system into the desktop-laptop segment. Google is sticking with its Chrome OS for desktops and is now trying to introduce android app to the Chrome OS. Android-x86 project patches that gap for us.
Android-x86 is like an elixer for our old desktops and laptops wiith lower capability processors and rams, such as pentium and atoms by introducing a modern OS with a lower requirement. It gives those devices a new life. But it is also not perfect yet and has many drawbacks. One such drawback is that it can't mount the internal NTFS partitions of the HDD, in case of the Multibooting Android-x86 with Windows Operating Systems. Many has tried it before but failed. Recently I came upon a chinese website which depicted a process of mounting internal ntfs partitions using a library named mount_nfsd_fuse.
Steps :
1. Download the mount_nfsd_fuse file from the download link provided below or here
2. Place the the downloaded file in the /system/xbin/ folder using a root enabled file manaager, eg. ES File Explorer, Root Explorer and and change to approriate permission.
3. Open Terminal ( If no terminal app installed, download one from Google Play), and obtain Su permission.
4. Mount the NTFS partitions using the code for example :
mkdir /storage/D
mount_nfsd_fuse /dev/block/sda2 /storage/D
format : mount_nfsd_fuse /dev/block/(partition) /(mount point)
5. (Optional) You can automate the process of mounting on boot by adding these lines to the /etc/init.sh file.
6. You can make a Windows style My Computer Icon using ES explorer widget pointing to the mounting folder such as in my example /Storage use it as a my computer alternative for android.
NOTE : All internal HDD partitions are stored at /dev/block/ folder. And so far I have failed mounting C drive , sda1, and sda10 partitions. Feel free to poke around.
Disclaimer : I'm note the developer of this tool and i take no responsibility for any damages caused.
Download : http://www.jemshi101.tk/tools/android-x86/mount_nfsd_fuse.zip
Ref : http://tieba.baidu.com/p/2094586835
[Guide][Android-x86] Mount entire Hard Disk Space using Gparted in Android-x86
The best way to install Android-x86 on any PC is using Gparted. You can download Gparted ISO from it's official site and then write the iso into a USB drive. Now boot from USb drive and then format the newly created partition to ext4. I have found a post related to this on a site called Techposts, you can search this site on google.
Once the partition is formatted to ext4, you can write Android-x86 ISO to USB drive and then follow the installation. The installation on ext4 is differtent so follow the guide to understand how to do it. This way you can get rid of error 17 and also you get the entire partitioned disk space and use it to store files while using Android OS on PC. Below are the screenshots of installtion using GParted!!
All the Best!!:good:
/sys/kernel/debug/ i believe is d...
§Glass<^>Rain§2
checknmater said:
The best way to install Android-x86 on any PC is using Gparted. You can download Gparted ISO from it's official site and then write the iso into a USB drive. Now boot from USb drive and then format the newly created partition to ext4. I have found a post related to this on a site called Techposts, you can search this site on google.
Once the partition is formatted to ext4, you can write Android-x86 ISO to USB drive and then follow the installation. The installation on ext4 is differtent so follow the guide to understand how to do it. This way you can get rid of error 17 and also you get the entire partitioned disk space and use it to store files while using Android OS on PC. Below are the screenshots of installtion using GParted!!
All the Best!!:good:
Click to expand...
Click to collapse
This doesnt mount the entire Hard disk, just the partition in which you have installed the OS
Sparshkr said:
Can you explain Step 4 in detail please? "D" stands for what in step 4? and how to determine in which partition windows is installed?
Click to expand...
Click to collapse
Here the D stands for a custom folder in /storage to mount the corresponding partition in the hard disk.
I've Managed to mount the partition. but the media files inside cant be played for some reason while copying them to android's storage makes them play. any ideas?
checknmater said:
The best way to install Android-x86 on any PC is using Gparted. You can download Gparted ISO from it's official site and then write the iso into a USB drive. Now boot from USb drive and then format the newly created partition to ext4. I have found a post related to this on a site called Techposts, you can search this site on google.
Once the partition is formatted to ext4, you can write Android-x86 ISO to USB drive and then follow the installation. The installation on ext4 is differtent so follow the guide to understand how to do it. This way you can get rid of error 17 and also you get the entire partitioned disk space and use it to store files while using Android OS on PC. Below are the screenshots of installtion using GParted!!
All the Best!!:good:
Click to expand...
Click to collapse
This article was not to share how to make a bootable or infact install the Android-x86 on any PC. It was meant to share the knowledge how to mount an internal NTFS drive after installing Android-x86 using the terminal or any other methods available.
Sparshkr said:
Can you explain Step 4 in detail please? "D" stands for what in step 4? and how to determine in which partition windows is installed?
Click to expand...
Click to collapse
This article was not to share how to make a bootable or infact install the Android-x86 on any PC. It was meant to share the knowledge how to mount an internal NTFS drive after installing Android-x86 using the terminal or any other methods available.
Here D stands for D Drive, It depends on which drives you have. It can be D, E or any other Drives
Help
Hi . My screen started to flicker after i mount the partition . I have tried to change the hdd but it still flickers . It seems to me like the problem isn't from the hdd which i install the android x86 . Any suggestion on how to fix this ? Cant even boot to windows . Blue screen appear if i want to boot to windows .
As of androidx86 ver 6, you do not need a tool as one is now built in.
With su permissions, you can do the following to mount a ntfs partition,
ntfs-3g /dev/block/{partition you want mounted, use sda1 style format} {filepath to mount to, must already be created}
This works for me. There is a single space between the source partition and the destination folder paths.
However, to note, I upgraded to android ver 8, and this works for the terminal emulator, but my file explorer apps read the mounted drive as empty. Additionally, creating a folder in that directory "works" in the file explorer, but doesn't show up in the terminal emulator.
Conclusion, android 6 for x86 works fine without additional tools, though 8 still has problems I haven't solved yet.
tnx bro.
it,s really good work bliss os 9. thank u?
Thanks man for sharing the steps. Works on Bliss OS 11.13. Saves a lot of time from having to switch between OSes just to transfer something from the Android partition and the Windows partition.

Categories

Resources