Hardware :: Memory Sticks For Running Distros?
Mar 15, 2011How good are USB memory sticks for running operating systems from, and the ones based in micro sd cards?
View 2 RepliesHow good are USB memory sticks for running operating systems from, and the ones based in micro sd cards?
View 2 RepliesI'm trying to get away from FAT and FAT32 for my memory sticks. Is ext2 really a suitable option for usb memory sticks?
I don't want to use ext4 because of journaling, as it's simply not required for usb sticks.
I have tried to write my files to 2 (2GB each) USB sticks and both turned into a Read-Only-File-System. Then I tried with my Memory Stick Duo and it also turned into that. So I give my last try with my SanDisk HC Memory Card (from photo camera) and resulted the same. I can copy the files of those portable storages into my HDD fine but not write into them or delete any files inside those portable storages.
View 9 Replies View RelatedI'm interested in testing Maverick, (or the next release, or the one after that) but always run into a problem with testing that runs alone the lines of.I have my current install (10.04) I have two partitions, / and /home, it works well.As soon as I add a new version it seems to be recommended NOT to have them both point to the same /home partition, the problem is, if I don't do that I don't have all my files, and it's a pain in the rear to setup.So what I was thinking is to have three basic partitions,
/
/home (for config files, and true HOME files)
/data (for all my actual data)
Create links from say /home/james/documents to link to /data/documents that way I can get to my documents.This way if I add a new version I can setup either the same (two partitions, / and /home and point /home/xyz/documents to /data/documents) or keep it slightly simpler for testing, just have one partition and repoint /home/xyz/documents to /data/documents.The main one I can think of would be permissions for files/folders?
I really do not know how to phrase this question properly. I am quite unaware of the PC jargon. But I have Ubuntu as the main OS and Mandriva is the second OS on the same hard disk. The boot loader is the Ubuntu. When I want to switch to Mandriva, on boot up I press Shift and then select the kernel.However, if I am on Ubuntu and want to run an application which resides on Mandriva, how do I do that? My fstab file does not even mention Mandriva. However, the file system does show up that file and I can open any files I need by clicking on GUI "Places". But when I try to run any of its applications by clicking the appropriate file on its /bin file nothing happens. A pop-up window briefly flashes and disappears. So my questions are:
1. First how can I change directory so that I am on Mandriva. Can' cd ...something' take me to that file because I see it in "Places" as a 36Gb file system?
2. How can I run an application which resides on that file system e.g., R or Octave which I do not have installed on Ubuntu, without rebooting into Mandriva.
3. Can I do this from command line.
4. And finally, can I do the same from Mandriva i.e., access Ubuntu from it.
I did read quite a bit about mounting files and fstab, but the fstab does not show the file system I am talking about. These are the outputs from Ubuntu os.
I have tried many distros and get the same message faulty hard drive SATA the computer was running Windows Vista just fine. I changed the Bios for SATA to be ATA instead of ACHI..
View 1 Replies View RelatedI would like to know if there is a linux command to verify the amount of memory used by a program. The programs I am using were compiled with gfortran.
View 2 Replies View RelatedI'd like to build a compact x86 host running off a CompactFlash or some equivalent solid-state memory instead of from a SATA disk, to reduce the risk of failure once they're deployed at customers' premises. Those are SOHO users, so performance is not an issue, but stability is (The less I have to drive to replace faulty hardware and restore data, the better.)
Do you know if the usual suspects (Ubuntu, CentOS, Gentoo, etc.) can easily be made to run from solid-state memory, and if yes, is there some good documentation to customize them thusly?
I assume it's just a matter of tweaking /etc/fstab, but it could be more involved.
Something is running my memory up and causing my load to crash my forum. I keep noticing this error and have no clue really how to go about fixing it.
Quote:
%CPU PID USER COMMAND
1.2 2978 mysql /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/server.forumnameremoved.com.err --pid-file=/var/lib/mysql/server.forumnameremoved.com.pid
Could this be causing my CPU to run high? How would I go about fixing an error like this or is it even doable?
Before running SOSreport, the free physical memory is 5389Mb out of 8Gb.
After running SOSreport, the free physical memory is 3229Mb.
Why is this so? how we can free up the physical memory.
I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.
However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.
I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.
I am trying to run a simple perl program that requires getting stock price data from yahoo for just 1 ticker symbol, and it was running fine till this morning, wherein it froze and displayed the message: Out of memory!
I cleared my cache by running the following:
Code:
$sync
$sudo echo 1 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 2 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 3 |sudo tee /proc/sys/vm/drop_caches
but it hasn't helped.
Even Firefox has been freezing, so I basically cannot do anything on my computer.
Due to a ton of research I believe I now understand the output of ps, top, and free better than ever, and also have a relatively decent grasp on memory management (virtual address space, etc.) than I ever did before. With that being said, my server is super low on available memory and I can't make 1+1=2 on why it is. I suspect it's Tomcat/JVM (which I admittedly know precious little about). I am rebuilding this server (for a number of reasons) and plan to install 8GB but solving this mystery is key to supporting/promoting my design plans.
Relevant info So, I have very little memory left, I am swapping pretty hardcore, and even though I suspect it's the Tomcat/JVM stuff, it sure doesn't look like it from the memory tools. For that matter though it looks like "nothing" is using memory, or certainly not enough to cause such a low memory problem. The server was rebooted 24 days or so ago because it actually ran out of all virtual memory. How do I solve this mystery? Am I using the wrong tools? Am I misunderstanding my tools? What can I do to track down the processes depleting my memory?
What would be the best way to determine memory consumed by each application running on the server?
View 7 Replies View RelatedI have an Acer Aspire netbook with 1GB RAM and 1.6 GHz dual-core 32-bit x86 chips. The KPackageKit / yum / rpm chain is running too slow for me. In addition to the time required to download any new packages or updates, it seems to require at least one full minute of processing time to install each package, update, or bug fix, no matter how small. Another full minute is consumed for each package in "cleaning up."Running yum from the command line takes nearly the same amount of time.During this time, I cannot run any other applications without severe thrashing. It seems that a full gigabyte of memory is in use with some 100M swapped out to disk.
Is there any way to reduce the running time and memory requirement of the update process?While not updating or installing software, I do not normally run out of memory (i.e. begin thrashing) until I have about a dozen browser tabs open, or the like.
I run alot of Linux running in memory. Mainly by PXE booting a kernel and the entire OS as the "initrd" file.
I have a RHEL6 image running as a VirtualBox guest and the entire OS (minimal) is contained withing 1GB of disk. I wan't to boot the entire /dev/sda1 "/" (its the only partition on the drive, no swap) as the initrd file and run everything from memory. But grub won't let me. So before I try and re-invent the wheel I thought to post here first.
Details. RHEL 6 as guest in VIrtual BOX. configured with 3Gb memory. HD is single partition and known as /dev/sda1.
at the grub console. I issue
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-19.el6.x86_64 root=/dev/ram0
initrd (hd0,0)
But the grub windows just freezes. Apparently it doesn't like the fact that I've referenced the entire partition (hd0,0) as the initrd. Any thoughts? Or any better boot loader like SYSLINUX?
BTW, I am not worried about the /etc/fstab mentioning /dev/sda1 at this point, I have a fix for that already. I would like to see grub load up the partition as an initrd.
I need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
Are there any tools to view/edit user space memory of running processes on Linux?
It would be a great learning tool.
just installed Xubuntu on 2 computers and they're both not picking up my jump drives or my card readers, or anything usb...
View 1 Replies View RelatedI to am trying to put a memstick in my Ubuntu 10.01. I can't seem to find anything basic enough. I am still a real dummy about Linux.
View 2 Replies View RelatedWhen first a regular HDD boots up, the BIOS passes control over to the first 512 bytes of the disk, so long as the disk has the magic number (correct signature) at the end of this first sector. The BIOS doesn't 'care' what is in this first sector; it just passes control over to the code within it and hopefully boot-up is underway. Other boot instructions may commonly lay elsewhere on the disk, which is fine, since the boot sector code will point to them and the process goes on.
Now, what happens when you boot from a CD or a USB stick? Not quite the same thing happens, does it? What I need to know is, when booting from alternative media, what is the BIOS 'looking for' and whereabouts on these new media does it expect to find the boot code? I've looked at the directory structures of CDs and sticks and there doesn't seem to be any common factor in the files and directories there that I can identify, unlike when I examine a regular HDD and its partitions with a hex editor.
I am running a dual boot system Ubuntu 10.04 (32 bit) and Windows 7 Home Premium (64 bit) on a Dell Inspiron 540s. I currently have an 8 GB USB stick inserted in a 4 port USB hub. I can read files on the device but I cannot write to any of the files. Using the ls and chmod commands I get the following outputs. Note that after assigning rwxr to all users nothing changes. Incidentally, since I could not write to the stick I created a text file in windows and saved it to the USB stick as a text file.
ubuntu:~$ ls -l /media/usb/file3.txt
-rwxr-xr-x 1 root root 6 2011-05-27 15:17 /media/usb/file3.txt
ubuntu:~$ sudo chmod 777 /media/usb/file3.txt
[code]...
i have a dell laptop with an nvidia card (proprietary drivers from sbo) running 13.1. all of a sudden a random image from firefox would 'stick' on the display and it would be visible on other applications. for example, a yellow rectangle would appear wherever you go with firefox (on top of every page), on top of word documents (ms word is running under crossover), but it would not be visible on the kde desktop of dolphin.
View 4 Replies View RelatedHow does one train a digital camera and USB stick to accept user access? Basically, this involves transferring photos from my camera to my machine, sorting and then moving favourites to the USB stick. Or moving selections that others have sent me to the USB stick. I am constantly changing ownership and permissions and it's driving me nuts. How can I send anything to a USB stick as a user?
View 10 Replies View RelatedI used to use Unison to synchronize files between various Unix/Linux computers. I've an USB stick onto which i put files I've to keep with me (when I work outside home). When I get back home I'll like to synchronize with my laptop running Fedora 11. If the file is on the usb stick no problem, it gets copied onto my home directory and everything is fine.
But if the file has to go onto the stick, Unison complains it can't set the file's permission (of course, on a Vfat file system) and refuse to copy it. Question : Do you know a way to avoid setting irrelevant permissions on a file with Unison or an other utility of this kind ?
Is there a way to test the integrity of USB sticks?
View 4 Replies View RelatedI am running a dual boot system Ubuntu 10.04 (32 bit) and Windows 7 Home Premium (64 bit) on a Dell Inspiron 540s. I currently have an 8 GB USB stick inserted in a 4 port USB hub. I can read files on the device but I cannot write to any of the files. Using the ls and chmod commands I get the following outputs. Note that after assigning rwxr to all users nothing changes. Incidentally, since I could not write to the stick I created a text file in windows and saved it to the USB stick as a text file. code...
I continuously receive the statement only root has the priviledge of writing etc. to the files on the USB stick. I have the same problem when I insert a card reader with an SD card. It is recognized but I do not have write priviledges.
To start with I know this is not a linux problem, it is purely hardware.After the computer has been on for a while and then restarted bios does not detect in POST the usb sticks that it is supposed to use to boot from. his is obviously a problem as bios can't use something it can't see to boot from.I'm wanting to know if anyone else has had a problem like this with my hardware? I suspect it is the Asus M4A78LT-M LE that has a usb detection problem, since I've tried plugging the same sticks in to another pc and they do not have the same issue on that pc.
root@dlnas:~# lshw
Code:
dlnas
[code]...
I have a VPS that has 512MB of ram. I'm using it as a mail/web server. It keeps running out of memory. I know amavis/clamav are memory hogs, but I checked my ps aux and found 100's of instances of "apache-init-server" running. I killed them all, and they keep spawning back. What could be causing this. I've never seen this on a webserver before. OS: CentOS 5.5
View 10 Replies View RelatedI installed F13 on a few ACER desktops with 4 GB ram. Recently I tried to upgrade the RAM to 8 GB. But after I plugged in the extra two 2GB ram sticks inside, the system still feels 4 GB. I had double checked with ACER and confirmed that 8 GB is supported by the motherboard. Is there any shortcuts to let the system recognize all the 8GB ram rather than reinstall the whole system.
View 13 Replies View Related