i have a "MyPassport WesternDigital 350GB" HD...The drive was formatted as FAT, to be used for both my macbook and my windows computers. a recent mistake (in-proper/unsafe eject) caused my partition to not be able to mount in mac nor windows, in disk util on my mac, the drive shows up, but is in grey letters and says it cant mount, tried repair/verify disk multiple times, restarting computers and so on...i have found software that shows my partition with my files, but every application ive tried requires a activation key which must be payed for and i dont have $50 to just fork out... Can somebody PLEASE PLEASE help, it is really important that i do not lose my data! too many important files to lose ! :crying::crying::crying::crying:
Thank you!
Try to format the drive using Easeus or use Linux to see the files.
If you format, you will need a tool that finds your files on it, i recommend recuva
Sent from my ST18i using Tapatalk
Try checking errors from windows. Goto start->run and type cmd for command prompt. Type in there chkdsk -r followed by the drive name.
Ex: chkdsk -r h:/
Or chkdsk h: /r
Or chkdsk -r h:
This should work. And if it does not, do the following
Insert windows xp or any linus distro cd/dvd. While the installation process, it generally asks to format a particular disk or reformat it to some other file system type etc. Just format your external hd partition to fat.
Sent from Hell!!
According to me best is to use GParted to format the disk.. It has saved me a lot of times.
Sent from my MK16a using xda app-developers app
Related
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
jook11 said:
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
Click to expand...
Click to collapse
Thanks for your help.
lbcoder said:
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
Click to expand...
Click to collapse
Are these directions explicit/comprehensive? Will I need to partition first? I don't know very much at all about linux, but I've got an ubuntu cd downloading. I've poked at it a little before - I can at least get a terminal and follow your directions, if this is all there is to it.
edit
I'm trying copying things manually in ubuntu's file.. explorer.. thingy. Then I'll partition the new memory stick with gparted and copy the files there.
This seems more natural to me, since I'm not familiar with command-line operations much anyway. Personally, I don't see why it won't work.
edit again:
I don't have permission to copy the folders "app" "app-private" or "dalvik-cache"
How can I do this?
edit edit again
google found me a "sudo nautilus" command which seems to open a file browser window with more permissions. I still can't actually copy the folders I mentioned before, but I recreated them in my backup location and I can copy the contents. Maybe this will take care of it.
update:
nope, that worked for "app" and some (but not all) of "dalvik-cache" but not "app-private"
How do I gain permission to copy it?
I'm willing to go back to the terminal, but I get an error on the tail command. There's nothing found, or somesuch. Sorry, I meant to copy the message exactly but I forgot before I rebooted the computer I was doing it with.
Can anybody help me out a little more with this?
The error I get right off the bat is "tail: cannot open 'dmesg' for reading: no such file or directory"
The only access to linux I have is an ubuntu live CD
Code:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
[email protected]:~$ tail dmesg
tail:cannot open `dmesg' for reading: No such file or directory
[email protected]:~$ _
MontAlbert said:
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Click to expand...
Click to collapse
How do I make use of this? It sounds like it should make Ext2 partitions appear in Windows Explorer just like anything else...
I installed it, but the Ext2 partition still doesn't show when I plug in the SD card. Do I need to do something particular?
I have rebooted.
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
jook11 said:
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
Click to expand...
Click to collapse
Code:
dmesg | tail
All the information to do this has been stated in this thread by now.
I install a lot of application so I constantly run out of space on NAND. So I tried to install Myn's Warm Donut using the following method so the system stuffs will be on NAND and the data will be on the sdcard. It is slower but I can install lots of applications now.
Requirement:
-You have to have Myn's Warm Donut or other android rom installed already on NAND. This means that both the system and the data is on NAND.
-A USB reader for your micro sdcard
Overview:
The main steps are 1) install adb 2) partition your sdcard into three partitions 3) reinstall the rom.
Steps:
1- Install the Android SDK here http://developer.android.com/sdk/index.html. This will give you the adb tool which is a remote terminal program. You will have to locate the adb binary to run it.
2a- Connect you vogue to the desktop. Make sure that USB debug is enable on the vogue. It should be by default.
2b- Run the adb:
Code:
adb shell
2c- Repartition the sdcard using parted. You need some experience with parted which is very popular in linux. Remember, this step will destroy the data on the sdcard.
Code:
parted /dev/block/mmcblk0
print
At this point you should see the list of all partitions on the sdcard. For most of you, there will be one partition. Remove all the partition using the rm command with the partition number.
Code:
rm 1
Now your print should return empty. So create three partitions using the following commands. Basically, you want three partitions. The first one is your sdcard folder which you always had. The third one is for your data. The second one is just filler because the current installer only install to the third partition.
Code:
mkpartfs primary fat32 0 6500
mkpartfs primary linux-swap 6500 6756
mkpartfs primary ext2 6756 8168
set 1 lba
Note that the size is depended on you. I want around 6.5GB on my 8GB card to be the sdcard partition for musics and videos. So what's left is around 1.5GB for the data partition. I just give the filler 256MB so maybe I can do something with it later. The partition number might be different with other rom. You have to play with it.
After this step you should see something like this when you do print:
Code:
Number Start End Size Type File system Flags
1 32.3kB 6500MB 6500MB primary fat32 lba
2 6500MB 6756MB 256MB primary linux-swap(v1)
3 6756MB 8168MB 1412MB primary ext2
Now you can quit parted and exit the console by:
Code:
quit
exit
3a-Turn off your phone and put the sdcard into a USB reader so you can copy the andboot installation files over.
3b-Put the card back, run the installer and choose the data on sdcard option. You should be good to go.
As you usual, you are solely responsible for your phone and your data.
Hope this helps.
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
So you put the apps on to ext2 partion and the data stay in NAND? In that case it would be better. The problem for the vogue is that the installer on the Myn's rom only put everything on the data partition on to an ext2 partition. On the vogue other rom is slow IMO. Maybe someone can separate the data and apps in the next build?
Anyway, do you know how can I extend the system partition so it can span to 256MB? Right now it is only 128MB because the data presumably should extend the other 128MB.
kallt_kaffe said:
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
Click to expand...
Click to collapse
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
When you connect to vogue to your computer, it has to say "USB debugging connect". If it doesn't, maybe you need to enable USB debugging in Settings -> Application Settings -> Development.
Cookiekaikai said:
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
Click to expand...
Click to collapse
partition program
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Hi,
I don't think you can partition the sdcard for the phone using an xp computer. That's why I wrote this instruction. The partition android uses is from linux. You can try a linux machine but i heard that doesn't work. You can still connect to the phone using adb and format the sdcard as I explained.
Cheers
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
You could boot from a Live CD of any Linux distro. Or download and burn Gparted Live CD, all free
So I must have took my sd card out without unmounting it first and now its damaged and won't read.i have so many files onthis thing i can't lose em. So does anyone have any advice on how to fix this or get all my files off and save em is there any programs that anyone knows of that is free or doesn't cost 70 bucks like the only one I could find. Any help is greatly appreciated, thanks
Sent from my SAMSUNG-SGH-I897 using XDA App
Chkdsk should fix some issues...
Sent from my Eris using XDA App
thanks for your reply but that looks like its working for the computer hard drive anyway to use it for sd card, or any other advice
also when i go to sd card properties and try error checking and click start nothing happens the box just disappears
if you can mount the disk on a computer you can use basic disk repair tools.
i dont think i can mount it when i try to open it it just says disk not formatted format now y or n. i imagine thats why error checking is not doing anything
anyone else got anysuggestions????
roadrash7 said:
i dont think i can mount it when i try to open it it just says disk not formatted format now y or n. i imagine thats why error checking is not doing anything
Click to expand...
Click to collapse
IS this using a PC card reader or the phone? If you have a PC card reader then you can run repair/recovery tools. Trying to open it will give you an error, you need to user recovery tools.
Using google, I found this one example:
http://www.cardrecovery.com/
thanks for all your replies. i have a card reader. that card recovery program is 40 bucks which i guess i might have to do huh, there is no way to fix it for free?
roadrash7 said:
thanks for all your replies. i have a card reader. that card recovery program is 40 bucks which i guess i might have to do huh, there is no way to fix it for free?
Click to expand...
Click to collapse
I am sure there are some free tools if you search for them. I was just pointing out an example.
On a pc you can even try the chkdsk command on the drive
Go to a command prompt; then type chkdsk followed by drive letter followed by /r - so if your card is detected as E then do: chkdsk e: /r
There are other free tools out there, but you have to see if any are made for memory cards.
Ok I was just about to buy the 40 dollar program, cheapest one I could find. Then I just saw your last post and I tried that and it says chkdsk not available for raw drives, so should I just buy the program and move on with my life or is there some other trick to get chkdsk to work, thanks again do much for all your help
Sent from my SAMSUNG-SGH-I897 using XDA App
Yeah boy! Chkdsk fixed it. It wouldn't work directly in the pc and it wouldn't work through the captivate, popped it in my wifes blackberry and chkdsk worked. Funny cause I had all my credit card info filled out ready to buy a program and I figured I'd try a little more. Thanks everyone for your help, saved me 40 bucks, or more
Sent from my SAMSUNG-SGH-I897 using XDA App
Gald to hear it. Make sure you back up your SD cards if your data is that valuable.
Some systems are more tolerant of disk errors then others. Sometimes just unmounting and remounting a disk in the same PC will get rid of that RAW disk error.
alphadog00 said:
I am sure there are some free tools if you search for them. I was just pointing out an example.
On a pc you can even try the chkdsk command on the drive
Go to a command prompt; then type chkdsk followed by drive letter followed by /r - so if your card is detected as E then do: chkdsk e: /r
There are other free tools out there, but you have to see if any are made for memory cards.
Click to expand...
Click to collapse
I had the same exact isssue on my vibrant and the chkdsk method fixed it. I had been searching for the fix for couple of days. This method worked for me. I wanted to thank the author for the tip.
Gracias
Ok, so I got an 8g sd card for my nook. It was blank so I didn't do anything to back it up. After writing the nooter image to it, it shows up as a 39m disk, and the windows disk utilities won't reformat it to 8g. How are other people doing it?
I used the following software: partition-tool.com/personal.htm
It is free for home use.
I used a partition software like JoshMiers did, but somewhere on here under the android development section other people were just using the NC itself. Remove the SD card, boot up the NC, put back in the SD card, then unmount and format the SD card.
OK got this solved. Here's what I did:
- Put the sd card into the nook & go to an adb shell
- `mount` to get the device file for the sd card. Mine was at /dev/block//vold/179:17
- unmount /sdcard
- `dd if=/dev/zero of=/dev/block//vold/179:17 bs=1024 count=2` to wipe the header
- Insert into a windows machine and format
It's all good after that.
edembowski said:
OK got this solved. Here's what I did:
- Put the sd card into the nook & go to an adb shell
- `mount` to get the device file for the sd card. Mine was at /dev/block//vold/179:17
- unmount /sdcard
- `dd if=/dev/zero of=/dev/block//vold/179:17 bs=1024 count=2` to wipe the header
- Insert into a windows machine and format
It's all good after that.
Click to expand...
Click to collapse
or just put it into the nook and go to settings>device info>sd card> unmount, then format from the same screen
You can also use diskpart in windows to fix the sd card.
If your running windows 7 you should have it.
califrag said:
or just put it into the nook and go to settings>device info>sd card> unmount, then format from the same screen
Click to expand...
Click to collapse
This is what I did.
jameswei said:
You can also use diskpart in windows to fix the sd card.
If your running windows 7 you should have it.
Click to expand...
Click to collapse
Yeah I was kinda irked at this as well. Diskpart fixed it up right quick and in a hurry. Amusingly enough I bought this thing specifically to read the Windows 7 Admin guide and happened to come across the info about diskpart for USB installs of Win 7, helped out quite nicely.
OK... Since nobody else has posted this, I will...
The reason that your SD shows up as 40M (no matter what its physical size) after going through the nooter rooting process is:
The .img file that you dd to your SD card writes not only the data on the SD card but also the partition table. The partition in the nooter .img file is ~40M in size. The Nook Color doesn't look at the physical device but rather the partitions on the device. Since the partition is ~40M, that's what shows up.
/me is praying for the day that people RUN SCREAMING away from Microsoft operating systems.
Just FYI... Android == Linux. Embrace your inner n3rd.
johnopsec said:
/me is praying for the day that people RUN SCREAMING away from Microsoft operating systems.
Just FYI... Android == Linux. Embrace your inner n3rd.
Click to expand...
Click to collapse
I'd rather use both. Anything Linux based I can load up in VMware and use. Of course I have a vested business interest in MS, they help pay the bills at the very least.
I used WinImage to copy the image file, can you use that to remove the partition as well? Windows 7's option to delete the partition is grayed out for me.
Okay in the disk management MMC snap in check the volume number of your SD card. It'll say something like Disk 1 or something similar. Make sure you get the right one cause this is pretty much a low level format that you'll do.
Open up a command prompt in Win7
Type diskpart into your command prompt
once you see the diskpart prompt type - select disk - n being the volume number 0,1,2,3 etc. and hit enter
once you've selected it just type format and hit enter
it'll take it a few minutes to go through, once done just type exit and you're done.
Now you'll be able to re-create a partition in your disk management MMC.
You can do all that stuff in diskpart as well, just type a ? and it'll give you a list of things you can do with it.
My external hard drive was not detected in raspberries?
thank u
rrhp said:
My external hard drive was not detected in raspberries?
thank u
Click to expand...
Click to collapse
I haven't had a problem writing ext3/ext4 formatted drives with my pi.
Is the drive hardware recognised?
What is the output of the lsusb command from a command prompt (using a linux distribution)?
Assuming that you have a usb external drive:
Run this command once it is plugged in:
Code:
sudo ls /dev/sd*
and get the name of the drive
then run the following replacing [USB_DEVICE_NUMBER] with the name of the drive.
Code:
sudo mount -t vfat /dev/[USB_DEVICE_NUMBER]/mnt/usb
Let me know if that works.
If it doesn't your usb drive might require more power in that case you need a powered usb hub,
tmaino stands
If you use an NTFS formatted disk then use not "-t vfat"
Use "-t ntfs" or "-t ntfs-3g" instead.
Precondition: NTFS Driver from package "ntfs-3g" is installed.
If you have an unformatted disk I would recommend to format it with EXT4 (if you use it only with linux machines)
Then...
"-t ext4"
can not set up the external drive on samba!!
Hi guys, I have a problem with external drive...now I using only sd card in raspberry. I would like to change this to external drive....I allready install samba...the final step when I kill and run samba again I get two times green OK...becouse of this I assume it is everything ok....I have a problem when I must find in my computer under network, share folder.I dont see him and I dont know where the issue is...mybe I was doing something wrong, when I must change in nano a skript ( I dont know how is call) where I must change media, global,loging, authentical...I dont know it is everything OK in this script....can somebody paste me the correct one please or if you have mybe other idea where the issue is...
Thanks a lot of helo, I realy dont know where can I find the correct answer for my trouble.
Hi Guys, any news about my problem?? Now I am already made a fresh instal...but still I can find under the network external sd....what can I do...any sugestion?