The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
5answers
23k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
1
vote
1answer
354 views

Problem with formating Flash Disk

I have intsalled Arch Linux ISO file into Flash disk through following command : dd bs=2M if=~/archlinux-2013.11.01-dual.iso of=/dev/sdd Now, I'm trying to format flash disk with following command ...
0
votes
0answers
33 views

impossible to make fsck

I'm trying to make a fsck to a pendrive and it says me: e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Error reading block 40402759450689 (Invalid argument). Ignore error? ...
0
votes
2answers
80 views

Use/See whole the flash memory space

When we bought a N Giga Byte flash memory, the free space that the OS provide for us, is less than N GigaBytes. For example, for a 2 GB flash memory, total space that we can use, is 1.86 GB. As far ...
6
votes
5answers
12k views

How can I low-level format flash memory in Linux?

My friend was having problems with a USB flash drive, and I suggested he do a low-level format. Then it occurred to me that I don't even know how to do that in Linux. So... how can I low-level ...
2
votes
0answers
69 views

Reduce cache size of flash storage devices

For various benefits Linux uses a memory cache for writes to removable stogare devices like memory sticks. This cache seems to be quite large on my system, which leads to some annoying behavior. For ...
0
votes
1answer
222 views

What do these errors mean in sysbench disk test?

I have been running a continuous test of sysbench disk tests on my Linux system that uses compact flash. I am seeing some errors in the output, as shown below. What do these errors mean exactly? Do ...
0
votes
1answer
56 views

btrfs confused about subvolumes

I'm starting out with btrfs on my embedded Linux system. My system currently has a single SD card used for the rfs. What I'd like to do is have a way to snapshot both the system files (currently ...
1
vote
1answer
196 views

What actually happens when the checksum fails for a file using btrfs?

I'm testing using btrfs on my embedded Linux system. It uses a uSD card for the rfs. This system is remotely deployed so there's no human sysadmin to take care of it. My question is what happens ...
0
votes
2answers
336 views

Kernel does not skip bad blocks when mounting filesystem

I am developing for an embedded Linux application using friendlyARM's micro2440. It runs on a Samsung s3c2440 ARM processor and uses squashfs in its NAND flash. Recently, some flash blocks went bad. ...
2
votes
1answer
220 views

btrfs on SD card, what does “Btrfs detected SSD devices, enabling SSD mode” mean exactly?

I'm experimenting with using btrfs on my Debian Linux armhf system. The rfs is on a micro SD card. On bootup I get the message "Btrfs detected SSD devices, enabling SSD mode". What features does ...
1
vote
1answer
82 views

How can I determine the cause of CF card corruption?

I installed qnx in my CF card and made it bootable and it was working well. However, yesterday it stopped working while my system was running. Checking the filesystem revealed that it was corrupted. ...
0
votes
1answer
89 views

How to detect imminent MTD device failure

We write software that runs in third party devices. On one of the devices we support, the manufacture tells us not to write to the flash drive, or we risk using up the limited write operations it ...
0
votes
0answers
66 views

Unable to make file system writtable no matter what

I have a flash card SanDisk of a camera which I plug in into my computer: $ lsblk mmcblk0 179:0 0 3.7G 1 disk └─mmcblk0p1 179:1 0 3.7G 1 part $ mount /dev/mmcblk0p1 on ...
3
votes
0answers
113 views

Is `UDIF read/write image` bootable on non-Apple hardware?

Some guides on the internet suggest that it is possible to convert ISO disc image files (.iso) into an non-.iso image format (.img or .dmg) with hdiutil on OS X. However, the manual page for hdiutil ...
3
votes
1answer
385 views

rootfs.jffs2 files system won't fit in mtd3

I have a files system that I am trying to put in flash memory mtd3 partition. I first boot using uboot and then do run sdboot to boot using SD card as shown below: U-Boot-PetaLinux> ...
1
vote
2answers
192 views

Could not mount UBIFS on SD card

I guess this is not a big problem, still I can't see what's the matter. I'm building Images for an Embedded Linux (2.6.39) ARM9 System with Buildroot 2013.11, which is booting from an SD card. I was ...
1
vote
1answer
34 views

Is it okay to run my system off a flash drive?

I've been running my main system off a Linux persistent LiveCD flash drive for a couple months. The drive has a 2 GiB fat32 boot partition, and a 12.91 GiB ext2 casper-rw partition. I'm ...
3
votes
1answer
79 views

How to determine how many bytes / hr are being written to my SD card

I have a Debian embedded Linux system that uses an SD card as the RFS. What is a reliable way to determine how many bytes / hr are being written to the SD card?
1
vote
1answer
443 views

Memory display using md in u-boot

U-Boot-PetaLinux> md 0xc 0000000c: 2201c2a0 1a8441c5 90031018 52011010 ...".A.........R 0000001c: 0045c903 022c19ae 01077620 ca173dc0 ..E...,. v...=.. 0000002c: 0804e426 15dd0c12 201092c1 ...
2
votes
3answers
10k views

Run CentOS 6 from a USB flash drive

I have a 16 GB USB flash drive that I would like to install CentOS 6 on so that I can boot into it on other computers. The reason for this is because I am going to be upgrading to VPS hosting and I ...
3
votes
2answers
739 views

How can I find the actual (dd) size of a flash disk?

When I put a flash disk into a card reader and make an image with dd, I see the actual size of the disk, like 512483328 bytes in the following example: 1000944+0 records in 1000944+0 records out ...
1
vote
1answer
96 views

flash_erase & nandwrite seem to work, but uname -a shows the same kernel version

I've seen this question: How can I flash_erase mtd0? I have a similar problem with my mini2440. When I use flash_erase /dev/mtd2 0 0 and then nandwrite -p -N /dev/mtd2 uImage-mini2440 ...
2
votes
2answers
287 views

Understanding smartctl output for a CF card

I'm testing SMART support on some Compact Flash cards. After running smartctl -A on my card I'm getting the output below (also available here: http://pastebin.com/BX8GcLCX). The UPDATED column says ...
2
votes
1answer
547 views

Do I need to format a CF before installing Linux?

I recently purchased an 8GB Patriot CF card, like this one . I also have a Syba CF/Sata adapter. I put these together into my mini-itx computer (connected via Sata cables, not USB) and booted an ...
1
vote
1answer
1k views

How can I flash_erase mtd0?

I am trying to find a way to nandwrite my mtd0 partition which contains my u-boot environment. When I try to flash_eraseall /dev/mtd0 though I get: flash_eraseall: /dev/mtd0: Permission denied ...
7
votes
4answers
1k views

Run entire OS from flash drive

I am looking for a distribution that can run the entire OS from a flash drive. This question is NOT about being simply able to boot and/or run OS from a USB stick: what I am looking for is a ...
44
votes
2answers
3k views

What NOT to put on an SSD?

I bought an SSD and I am going to set up my desktop system with a completely fresh Linux installation. SSDs are known to be fast, but they have a disadvantage: The number of writes (per block?) is ...
8
votes
2answers
360 views

Connect alauda driver to an mtd device

I have a USB card reader, an Olympus MAUSB-10. It provides direct flash access to SmartMedia or xD cards, using the Linux alauda driver. This is different from a typical card reader which just ...
0
votes
1answer
183 views

GET flash memory type: SLC or MLC

Just for my knowledge, I would like to know whether the type of flash memory used in my pendrive is SLC or MLC. Is there a way to find it out? I googled but found nothing.
0
votes
2answers
286 views

Memory Stick Partially Corrupt

My memory stick has recently become partially corrupt and has slowly been getting worse. About a week ago or so I unzipped a Windows .rar archive and placed the contents unto the flash drive, I ...
3
votes
1answer
6k views

Convert .ISO to .IMG in terminal (Mac) (Linux)

I am trying to make a bootable flash drive with Linux on it for my Mac. I have Ubuntu desktop downloaded, and it is in my downloads. The instructions on the Ubuntu website tell me I need to convert ...
3
votes
0answers
484 views

Are there any tools to test MTD/JFFS2 for Linux 2.4 kernels

I have some issues with a platform I support and I suspect memory problems. I wanted to check the Flash parts using some MTD JFFS2 test tools, I found a link to a bunch on this site. However they ...
0
votes
1answer
2k views

Where can I find storage integrity (write/read) test tools?

I am in need of tools to verify data integrity of local harddrives, usb-drives, etc. I am looking for a solution like the famous www.heise.de/download/h2testw or something that is at least common ...
0
votes
1answer
43 views

Don't create partition schema in external devices

Is right to create a filesystem without to create a partition table in external devices non-boot? I've created directly a filesystem into a memory card (SD) and it has been mounted automatically when ...
1
vote
1answer
88 views

Location on disk to write a byte-flag?

I am writing an update utility for an embedded Linux device for which I am responsible. I'm creating a basic side-by-side setup, where updates are applied to a staging partition and then the ...
6
votes
3answers
2k views

Which Linux file systems for USB sticks?

For Linux desktops, when Windows compatibility is not an issue, which file system is preferred for USB sticks? For example ext2, ext3, ext4, btrfs, nilfs, or even NTFS? Would journaling wear them out ...
1
vote
2answers
514 views

Embedded device: How to do raw reads and write to flash (emmc/movinand) bypassing file system cache

I have an embedded device with a flash memory running linux. I want to do raw read writes on the flash part but I also want to avoid any file system cache. How can I do this? Any pointers?
1
vote
0answers
413 views

format / rewrite old ide flash module

I have an old PC where the disk is a 32mb IDE flash module. BIOS boots the Flash, works good. But if I am in a Linux distro (tinycore/arch/puppy) the flash module is not recognized nor mountable. ...
1
vote
1answer
139 views

# of reads/writes for LVM vs. “regular” partitioning?

I am going to be installing linux to a USB flash drive (an actual install, not a "live usb"). I need it to be completely portable, so I can't realistically have the high-access partitions (swap, var, ...
5
votes
2answers
2k views

Files copied to flashdrive only on unmount

I use Debian wheezy with KDE4. Most of the time when I copy something to a flashdrive, the write does not actually take place until I unmount. This even happens with relatively large amounts of data ...
3
votes
5answers
815 views

Using a differencing, aka overlay, aka union, file-system with commit capability

I work in two PCs and I sync all my files from my primary PC to a USB flash memory. In my second PC, I mount the USB flash memory to the same path to work on my files as I were on my primary PC. Now ...
5
votes
2answers
1k views

How to tweak Linux to run reliably on flash memory?

Since flash memory only has a limited number of writes, what tweaks are necessary for installing a Linux system onto flash media so that the OS can run reliably for a long period of time? Some ...