How to partition file system for linux installation?
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.
How to partition file system for linux installation?
Hi,
I have a 8 GB pen drive, where i am planning to install scientific linux. I need guidelines and help to partition this 8GB drive. I will be using it for programming java with the help of eclipse IDE.
So after the installation SC Linux, i will install JDK and Eclipse IDE only. Please help me at the earliest.
With only 8GB of space, I would install just a 500MB swap partition and the rest as root. This will give you 7.5GB for the root partition, which should be enough as long as you do not install lots of data on the home folder.
If you plan to install data, then perhaps you could mount a partition on the internal hard drive under media to store your data.
With only 8GB of space, I would install just a 500MB swap partition and the rest as root. This will give you 7.5GB for the root partition, which should be enough as long as you do not install lots of data on the home folder.
If you plan to install data, then perhaps you could mount a partition on the internal hard drive under media to store your data.
500MB swap on a USB Memory? Dont think its a good Idea.
I would simply start the live CD and it should automatically suggest a partition (probably with a menu USB install).
Or install it with unetbootin ? (use of the full size)
You don't want your system swapping to a slow pen drive, for performance reasons. So I'd configure minimal swap, and then add more physical memory to your computer so you can (for the most part) alleviate the need for frequent swapping. How much memory does your computer currently have?
For a pen drive installation, everything should just go under /root. No need for seperate partitions for the various filesystems.
There are other considerations beyond partition types and sizes, such as if the drive will take partitions at all. Some do not. I personally don't worry about partitioning USB drives, and certainly not swap space as that would probably just wear out the drive. You do not need a /boot partition.
You seem to want it bootable, which means you need to know about the target machine and if it's a UEFI machine, which will determine your filesystem and bootloader. There is also the target CPU architecture to consider. (x86, x86_64, ARM, whatever)
Another idea is to track down a copy of Qemu (or similar) which will run in the host OS and load your Linux in that. I like to do that, as well as make the stick bootable. If you set it up right, they can both use the same kernel.
You will probably also want some outside storage to back up on. Anything from FTP to Dropbox would work.
Basically, I would put "just enough" on the USB drive to make it functional, and do the rest online.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.