Ubuntu :: Cannot Delete Files From Flash Drive Without Reformatting
Nov 7, 2010
When I try to delete files form my flash drive, the file picture goes away, but the actual data does not. Lets say I put a 900mb file on my 4gb flash drive, then I delete it. It will still ll me that only 3100MB are left in free space. If I try to add more than that it tells me the drive is full. I keep reformatting and reformatting into all different types on file systems but nothing works.
I'm having difficulty repairing/reformatting a USB drive. I've yet to explore and get me on the right track. I'm sure I'm missing something obvious. I have a generic USB drive, 4GB, currently formatted FAT. I can't save files to it, can't format it using Ubuntu's Disk Utility. Attempts to format using Disk Utility return the following error:
Error creating partition table: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb: Input/output error Yesterday I got fed up and tried to just zero the thing out using a dd command... ran it in verbose, the right stuff returned to screen, still no dice. I can't get it to a point where I can format it either using Disk Utility or mkfs.
I got a free flash drive from Columbia College that has some files I want to remove. I did the right click thing and they are read only. I tried to change to read and write but I got. Sorry, could not change the permissions of "ColumbiaCollegeViewbook.pdf": Error setting permissions: Read-only file system
Now this thing only shows up as 5.4 MB Yea that is right Megabytes! But I have a plan for it. So is there any way to get the files off so I can put mine on it?
I've lost my admin password on my current Windows OS and would like to install Linux Ubuntu or a similar user-friendly distro of Linux alongside, see how that goes and possibly reformat my PC with Linux as I was told it would convert NTFS formatted drives to ext3, not delete them.
When i delete files from USB, they don't go to wastebasket. Files are moved to .Trash-uid directory on USB flash. How can i fix this. Offtopic: With Gnome 3 i have feeling that my hands are tied.
I need to re-format an external drive. All the instructions I have found start with figuring out where the drive is mounted (sda, hda, etc.). However, as soon as my RH Linux machine sees the drive's format (ntfs) it decides it won't even mount it in the first place. Gives me an error message. Also, the drive doesn't show up at all via "df -k". how to convince RHL to be a little more accepting?
My wireless connection has always slow on my ubuntu desktop. I have always thought this was a matter of hardware, but after reformatting my harddrive because of recent problems, the wireless has slowed to point of ridiculousness. I would guess I had a dial-up connection if I didn't know better. I've tried simple things like rebooting and removing add-ons, but nothing seems to work.
I am using FC11 and have an external USB drive attached which was originally formatted and used with OS X. I'm pretty sure it's an HFS+ filesystem, but fdisk-l simply reports "unknown". I moved a ton of files to it from an older OS X drive, including a bunch of backups that were done with Time Machine in OS X.
Now I've moved them all back to where I want them (onto an EXT2 formatted drive) and I'm trying to clear those Time Machine files off the HFS+. The drive will ultimately be used with a Mac, so I don't want to wipe the whole disk (aside from the fact I have a ton of other stuff on there that I don't want to move).
The problem is that I cannot get FC11 to delete the Time Machine files. When I try to delete the top level folder ('rm -rf topfolder'), the command looks like it's running (and goes load crazy on the CPU), but I left it running all night, then cancelled it this morning, no files were deleted. It just sits there. When I try to delete folders a little lower in the tree using 'rm -rf myfolder' I get an error telling me the folder is not empty. When I go down to the lowest level folder, I can only find DS_Store and .localized files in it. The properties are rather odd... output of ls -als is this:
I am trying to install freeBSD on F14 (with LUKS encryprion). freeBSD doesn't detect hard-drive, probably coz of LUKS? Now what can I do within F14 to format harddrive and remove LUKS to get in a shape that I can install freeBSD or other OS.
I have dual boot ubuntu 10.10 and Windows XP and Accidently, Some files in XP system drive files got deleted and now canot boot into Win XP,These are the files left and nothing happend to folder....
I have a Dell Netbook which came with Ubuntu Linux 8.3 (I think) in 2008. The drive is a SSD 3gb unit and the drive was nearly full when I received it. There was only 758mb free on the drive and I wondered why they would sell a computer with so little free space on it. When the updates was installed the drive was full. Is there a way to retrieve some space on the drive without deleting programs which came with the computer? I have tried ordering a new drive online without getting one, including Dell itself. In Windows you can delete old files which will free up some space and is wondering if the same thing is possible under Linux?
i have a 4gb kingston 'ur drive' usb stick but i am unable to delete files from it. i have another usb stick a PNY 8gb stick whick works ok, but not the 4gb.
I experienced a full hard drive yesterday due to a massive error_log. We took care of the errors, but later found out we were missing files, including a MySQL database table. Having a shopping cart and ecommerce stuff on the site, we found that some of those files were missing, too.Does RHEL 5 have some sort of feature for automatically deleting files when the partition is full? If it does, I want to turn it off.
When I delete files from my usb flash drive on my Karmic laptop (press del key), the properties of the drive remain unchanged (available space/used space). It looks like the files/folders have been deleted, but when I go to my windows machines, the files and folders are now in a folder marked "Trash".Am I missing a step when attempting to delete the information when connected to my ubuntu laptop?
I recently decided to install Ubuntu (ubuntu-10.10-desktop-i386.iso) to my 16GB flash drive (was fat32 originally, tried ntfs as well had boot issues,went back to fat32) to boot from it using the method on this page using the Universal USB Installer. Install worked great, Ubuntu works great, problem is I can't see the rest of the files on my flash drive.
I want to use my flash drive, but I had files I put on using Ubuntu a few weeks back. Now I can only open them in read only copies and can't remove them, from the flash drive. I also have had some issues with file permissions on the hard drive. I was planning on reinstalling after a backup but now I don't know if that would be logical because the files might all be locked. I wanted to reinstall because I have issues with USB and these file issues.
still would like to see some actual LAB DATA - but the info here is satisfactory as a "general rule of thumb". I was wondering if I put files on a USB flash drive & left it sit on the shelf, how long it would be before those files would start to deteriorate? - This would have nothing to do with the read/write cycle as in the "shelf time" it wouldn't be used.
I keep a backup of a bunch of files on a flash drive, so that whenever I change distributions I can just restore all my Android stuff (saves on re-downloading everything). One of these is the Android SDK.
In my ~/.bashrc I add the paths to some executables in the SDK, only if the directory exists, and only if the path is not already in $PATH. For the Android NDK this works fine, but for the SDK I get this:
Code: snfo@snfo:~$ adb devices bash: /home/snfo/Android/sdk/platform-tools/adb: No such file or directory snfo@snfo:~$ ls -F /home/snfo/Android/sdk/platform-tools/adb /home/snfo/Android/sdk/platform-tools/adb*
Everything else is fine though, just that one path is causing trouble.
Now, I've saw something similar to this before whenever you move an executable from one place to another. If you don't re-source your bash config it will continue to keep looking wherever it used to be located. But I've never moved these files.
I know it is possible to boot Ubuntu Live from a Flash drive. But it just boots up and runs like its a CD. When you shut down the computer, the changes are all lost.
Is there any way to use the flash drive as a Hard Drive? like install Ubuntu on the flash drive and have the flash drive act as a hard drive - so that if I boot with the flash drive in the computer I can boot of of the flash drive and it would act as a hard drive?
Could I just setup Ubuntu and select the flash drive as the install directory? would that accomplish this?
So I made a text file on a windows machine and brought it home on a flashdrive. When I opened it in PCMan File manager it did not show, but executing ls in a terminal shows the text file just fine. It is the only one that appears to be missing in PCManfm. I've had a similar problem going the other direction (Linux to Windows, but with pdfs) many months ago. here is ls -l
Code: Select all/media/FE32-A2F6/Translation/Kevin$ ls -l total 2344 -rw-r--r-- 1 feelactthink feelactthink 2374182 Feb 19 11:19 Artigo 3-SAGE V4.docx -rw-r--r-- 1 feelactthink feelactthink 3686 Feb 19 15:21 HP Cable Recall -rw-r--r-- 1 feelactthink feelactthink 3686 Feb 19 15:21 HP Cable Recall.txt -rw-r--r-- 1 feelactthink feelactthink 4891 Feb 20 17:58 Translation.txt
The file is Translation.txt. What is different about this file that it would do such a thing? It doesn't look at all different from above.
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system? I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
I made a persistent install of Ubuntu on a flash drive. I made changes to that installation. The software (Unetboontin) sets this all up. I think it partitions it for you. How do I image that flash drive to another flash drive?
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
Back in Febuary, my wife bought a Toshiba Satilite from Wal-Mart and a few days ago the hard drive got toasted. So now I'm using an 8gig usb drive as the boot drive. I also have 2 other flash drives for downloads and such but overall I am very pleased.
I'm running 11.04 32 bit and was wandering if 64 bit made a difference. I've got 4 gigs of ddr3. It's slow to boot, but once it's running, it's faster then Windows 7. Very nice.
Is there anything I should chage, use, since I'm running it off a flash drive??
I have 3 seperat drives, 2 x 16 gigs and an 8 gig, and was wandering which one would be best for booting off of? What do I look for??
Here's what I got:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge 00:01.0 PCI bridge: Toshiba America Info Systems Device 9602 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)