Ubuntu :: Rule Of Thumb For Swap?
Jun 29, 2011I am installing Ubuntu on a friend's system and I was wondering what is the general rule of thumb for how much I should allocate for the swap partition?
View 7 RepliesI am installing Ubuntu on a friend's system and I was wondering what is the general rule of thumb for how much I should allocate for the swap partition?
View 7 RepliesQuestion (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?
2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?
3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?
4. Any gotchas or issues that I should be aware of?
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies View RelatedRAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
Does one need to Check the Swap filesystem, from time to time
View 4 Replies View RelatedI know it's possible, but does anyone have a URL or tutorial on how to do this?
View 3 Replies View RelatedI was able to read and write to my USB thumb drives until I mounted a USB thumb drive with an autoinstaller, and every since then all of my flash drives show up with the owner as "root". I've tried changing the owner, and I'm not allowed- even with using sudo chown.
I don't get an error with that, but the owner isn't changed. I can read from the drives but not write to them. (I found that I can copy to the flash drive by using sudo cp, but I want to get away from command line stuff. I have too much to do to be constantly dropping into terminal mode!)I had no problems until the very minute I mounted that flash drive.I've read a few threads, and found other people with symptoms similar to mine, but when I try the fixes suggested, they didn't work.I've also not been able to locate anything that the flash drive autoinstaller changed or put in, but I must admit that I still am a relative newbie to Linux (been around computers since the early 70's, around Windows since 92-93, around OS/2 94-96, and Linux for only a year or so- and haven't learned that much command line stuff yet!).
i tried to connect my samsung usb mp3 player and it is not showing up in mycomp. i tried to debug the issue but being a noob i didnt get anywer.
View 2 Replies View RelatedSo i saw a thread somewhere about using a thumb drive to make extra ram for your pc. This was of course on a windows pc. I was wondering if this works on Ubuntu also and if it is really worth it?
Also if you have 4 USB ports could you put in 4 usb thumb drives and have a fantastic amount of ram?
I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.
View 9 Replies View Relatedi inserted a thumbdrive on one of the usb slots on my laptop upon inserting it shows:[sdb] Assuming drive cache: Write through[977.113519] sd 5:0:0:0: [sdb] Assuming cache: Write through
how to read the contents of my thumbdrive?Do i need to mount it first or what should be the procedure?
Running Ubuntu Studio 10.04 with an MS wireless notebook optical mouse 4000. By default, my thumb button is acting as a "Forward" button, but I want it to be my "Back" button. I have not installed anything like imwheel, nor do I want to, especially because the button support is obviously already there, it just needs to be configured to a new command. My xorg.conf looks like this (at least the parts of it that I think are relevant,
[code]....
I have tried messing with Emulate3Buttons and the ZAxisMappings, but there were no changes. Please tell me if I am in the right place? Or is there another program or something running already that is controlling my mouse.
I have a thumb drive that I cannot get a clean format done to use it as a boot device.Is there some way to do a lower level format (I am using Gparted) to get rid of this error?
View 6 Replies View RelatedI want a USB drive for emergency situations. It will have sensitive information, family photos, etc. stored on it. I want it to have one encrypted portion (TrueCrypt) for the sensitive materials. I want the files to be able to be viewed on a Windows machine first and foremost. If no Windows machine is available I would like to have a bootable version of Ubuntu on the USB drive so I can boot it and also view the files.
View 2 Replies View RelatedI want to move 1.2GB of photos onto a 2GB thumb drive, calling up Properties, it says the size on disk is 9.7GB. What is going on? I don't recall discrepencies this huge in previous OS's. What is taking up 7 times more space than my actual files?
View 3 Replies View RelatedI'm going to put Ubuntu on my thumb drive. It's a rather large drive, so I might as well make use of the extra space.
Do I format it to FAT? Never done this before. Also, how do I enable it when I boot up? Do I have to make my computer to boot from the USB drive first in the BIOS settings or is there an easier way to do it (like clicking on an icon inside the USB virtual drive on the desktop).
Have not found this elsewhere so here goes.
I had a friend ask how he could do his electronic banking without a chance of any information being left on his computer once he is done.
I thought of a Ubuntu live CD but have seen the HD activity light flashing when using one. That leads me to believe that some kind of use is made of the HD and that makes a live CD questionable. He wants no information on the HD even in unassigned sectors.
Maybe, better yet would be a USB thumb drive that runs Ubuntu or another distribution that will not use the HD or even require that one be in the computer. A plus with a thumb drive would be that it would only be available on the computer when it is being used so it could contain passwords etc. Of course, it would have to be removed when not in use.
I want to put Ubuntu on my 16 gb USB thumb-drive so that I can use Ubuntu on any computer willing to boot from a USB drive (at my office, my wife's desktop, etc.) I cannot find how to do this. All my search attempts show me how to put an "install disk" onto the USB thumb-drive using the command: System -> Administration -> Startup Disk Creator
I tried the above. The first time I booted from the thumb-drive it asked me whether I wanted to try using Ubuntu from the thumb-drive or install. Having to make that selection with each boot would be a slight pain, but not a deal-breaker. But then the thumb-drive OS detected my laptop's wireless card, asked to install a driver, and then asked to reboot. Now it does some odd blended boot where it skips my hard drive's Grub Loader (so it *is* still booting off the thumb-drive) but goes to my hard drive's account sign-in. How can I make a USB thumb-drive that boots Ubuntu Desktop just as a normal hard drive, with accounts and the ability to install drivers and new software?
I tried to install ubuntu 10.04 to a 16 gig thumb drive and the installation went perfectly. However, when I removed the thumb drive and tried to boot the computer back into windows I saw that the installer had installed GRUB on to the hard drive of the computer. Windows runs fine, but it wont start with out the thumb drive that has the ubuntu install on it, this is very bad for me. Is there a way I can remove GRUB with out messing up windows on the computer? i dont have a windows 7 boot disk so this operation would need to be done either in windows (already booted) or ubuntu.
View 3 Replies View RelatedI formatted a thumb drive on Windows (not quick format) that contains files I need (video files). Unfortunately, my attempt to recover them with both PhotoRec and TestDisk failed: neither of them found the files. I know they are still there because I scanned it with some Windows software (File Scavenger) and it detected them. I'd like to try to do this with Linux, to figure out how to do it, and save money at the same time.
View 4 Replies View RelatedGwenview has no thumbnail previews for videos (any type). I can play videos but its the previews I want so that I can open multiple clips into Openshot.
I have Ubuntu Natty 11.04 and I tried installing Kde multimedia and Kde-resources but to no avail.
Has anyone else had an issue transferring large files to external usb drives ? What seems to be happening is it will float right along until it gets to the last couple of megs and then just sit there for a few minutes. The larger the file the longer it sits there. I am having the problem with both an external 1 gig usb HDD and two separate thumb drives. All of which have been verified as functional and fast under other systems. All of the drives are formatted in NTFS for portability in the field. I also do not believe this to be a hardware issue as it does it on my daily driver as well as my laptop.
This is the kernel I am running
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
All the drives were automounted.
i wonder if i can create an autorun thumb drive in ubuntu.I've tried this in windows, it works. I'm not so sure how to do it
View 7 Replies View RelatedI have a new Giada cube with no hard drive, so my plan is to simply run a Linux/MythTV distro called MythDora from a Patriot 8GB USB stick (this Giada does not PXE boot). I am having trouble figuring out exactly how to make this work. Yesterday, although I have forgotten exactly how, I was able to put a MythDora Live image on the stick and boot up. I went through the initial setup, and then, when I was all done, I rebooted, and..it started all over again...as if I was doing it for the first time. So...What do I need to do to create a proper bootable USB stick?What ISO image should I use? The full DVD? Or the Live ISO? or the Network image?Do I need to partition the stick and load the O/S from one small partition, transferring the installation to another larger one?What utility should I use to create the bootable stick? unetbootin? or similar?Do I have to do anything special to make my O/S and configuration changes persistent on the USB stick?
View 3 Replies View RelatedI want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)
View 8 Replies View RelatedI need to have a web app that is feeding ip camera feeds across internet to a server. Need to have thumb drive preconfigured with cameras prior to shipping. End user plugs in cameras, puts thumb drive in any running PC, have WEB app start with some menu options to like name the feeds. Back at server receiving feeds are broadcasted via secure web site.I have never worked with Linux but have read some incredable things already.
View 1 Replies View RelatedHow exactly do i do it, I can't find any clear step's on it?I got no CD-R's left and can't get to the shops.
View 4 Replies View RelatedWhen I insert a USB thumb drive into a USB socket a "CD-ROM Disc" icon appears on the desktop. When I double-click on the icon I get a "CD/DVD Creator" window. Messages in "/var/log/messages" shows Vendor (Sandisk) and Model (Cruzer) for the USB thumb drive. Those are correct. But for Type it says CD-ROM. What's up with that?
View 6 Replies View RelatedI just install Gnome live 5.0.6 on a USB thumb drive and would like to know how to save my setting?
View 5 Replies View RelatedThe following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:
Quote:
Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.
System was rebooted into the XP install CD.
The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.
The drive partition function in XP deleted the partition table - on the thumb drive.
A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.