Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had to give in and install windows on the old laptop, and now I've got very little hard drive left. I wondered if I could squeeze a light distro onto it (I love Antix Mepis) and use a USB stick for /home and /swap partitions.
Will that work or will there be issues with mounting the USB stick?
And no, I can't do a boot from USB (that's how old it is!) and live CDs run way too slow.
I also have a multi card reader built in and could use the SD card.
Any advice on this would be most welcome. (and on how much drive space I can get away with for root, home and swap partitions. Machine has just under a gig of RAM.)
While you could use an USB memory stick or memory card to house the /home partition, I strongly recommend you do not put the swap on that type of flash memory. With the frequent writes that using it as a swap partition means you would probably write destroy the memory card or USB stick within days. Built-in SSD's, at least those of higher quality, deal with frequent writes in a different way and will last longer, but memory cards and USB sticks will simply stop working gradually if you write to them often enough.
OK, enough of that.
I suggest you use /home on the USB stick or memory card and mount it with the "noatime" option in fstab. This will cut down on the number of writes to the flash memory and hopefully prolong its life, at least for a bit. While some people may (or will?) argue that you shouldn't use a journaling file system on flash memory, I think you should. It might save you when flash memory starts failing and allow you to make a backup before replacing the flash memory with a new one. This comes from first hand experience.
But with 1GB of bona fide RAM you should be able to run without any swap at all. Don't run tons of different apps at the same time or edit huge video or image files, but 1GB should be plenty for a small distribution.
But with 1GB of bona fide RAM you should be able to run without any swap at all. Don't run tons of different apps at the same time or edit huge video or image files, but 1GB should be plenty for a small distribution.
I suggest you use /home on the USB stick or memory card and mount it with the "noatime" option in fstab. This will cut down on the number of writes to the flash memory and hopefully prolong its life,
thanks for your advice; I hadn't thought about the wear issue. Interesting; one of my USB sticks is being used on my daughter's computer to 'speed up performance' in Vista; I wonder if it is effectively using it as swap and burning it out. It's only a cheapie so in a way it doesn't matter, so long as I don't forget and go putting anything important on it.
Actually, I bet plop bootmanger can boot that old computer
it boots all mine 3 that wont boot from usb
I would suggest, modestly, that you try my ThorsHammer
Oh this sounds interesting - anything called ThorsHammer has GOT to be worth a try. PLoP has a far less attractive title but if it works I'm all for it.
I hope your documentation is reasonably n00b proof. A couple of hours of tinkering shall be my reward for getting my work done by lunchtime.
My entire OS is mounted on 4 GB flash drive and 8 GB sd card.... Since my computer is newer and have enough ram... I hardly touch either..... I heard about noatime, with your suggesting, i'll add that option to my fstab, for more on the safe side... I knew you can wear them out, I just figure, it would slow them down... I didn't know it could eventually fail...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.