UbuntuThis forum is for the discussion of Ubuntu Linux.
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 have bought a 4 GB USB flash memory and I want to have linux on it. I have been running Gentoo for some years but I will need a temp folder when I compile applications and that temp folder would be many GB big, so Gentoo is not an option for my 4 GB memory stick. I need a distribution that is using binaries. I have run Ubuntu before, but what about Xubuntu? Would that be a better choice?
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
If you are going to run a distro on a flash drive, you want to choose a distro that has been designed to do so, mostly because you don't want your flash drive having a swap file being writen to 1000's of times a day. It would ruin your flash drive pretty quick. You want something like DSL or Puppy Linux.
They wouldn't take up more than 100Mb vs 2 gigs+ even for Xubuntu, so you would still have space for your data/apps.
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
I don't think Xubuntu would work well on a bootable flash drive, unless someone had modified it to not write to swap very often, specifically for this type of use. I haven't run across that yet. Xubuntu might not be a very good distro for that type of use, as it is only lightweight compared to a distro that uses KDE or Gnome as it's default desktop.
So a USB version is like a live-CD? So the idea of using linux on USB is not to format the USB pen with ext3 or something similar and use it as a harddrive?
But is it still possible to save files and condigurations on the USB, so I donīt need to reconfigure the system each time I boot linux from USB?
Is it possible to upgrade the kernel on USB versions of linux?
I have now tested DSL but it has not support for my network card, so I will test something else.
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
Yes, linux can be installed to a usb flash drive, and it works like a live cd version, but you can write back to the flash drive, it isn't read only, so you can save your own files and install new software, it's very similar to a regular hard drive installed distro, but lower power consumption, but you need to install a distro that doesn't write to swap very often, or at all really, if you can. There are live cd distro's that can write back to the cd that they booted from, so it isn't just read only. Puppy linux can do it, and probably a bunch of others I haven't heard of. Knoppix(from the cd) can write to your usb flash drive, to save settings, and use it as a /home.
The only fly in the ointment would be that your bios has to support booting from usb. Most new boards already do, most older motherboards don't. Quite a few anyway. If your bios doesn't support booting from usb, you can always set it up so the bios boots to your cd-rom drive, or floppy drive, which then can chain load your usb flash drive distro.
You can store other files on the usb drive usually, but anything on the drive gets written over when you install linux on the drive. You'll want to check the docs on any distro you choose to use, to make sure this is true of whatever distro you go with.
You can update the kernel, or install new software. You can also unplug it from your pc, and just put it in any other computer, and if the bios supports booting from usb, there all your software and settings are, ready to use.
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
Yes they can, as long as your bios supports booting from usb. Most newer motherboard bios's do. You wouldn't need one of these specialised distro's to use on a usb external hard drive though, any linux distro would do just as well, with the external hard drive, how often you write to swap wouldn't be an issue, as any ordinary hard drive (magnetic rather than flash based) would be able to handle it just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.