Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm trying to install Red Hat enterprise linux as v4, my disk is 135Gb size, and I decided to create these filesystems using LVM:
/
/boot
/home
/opt
/tmp
/usr
/var
and swap.
What recommended sizes could be for these, except /boot and swap partitions(I already decided for those).
why split your disk into so many partitions? separate /home is very wise, and /boot is sometimes good, but the others? I could understand it if you had several smaller (physical) disks, but with only one, this will likely work against you later. At least on debian, /opt and /var are not very big. no need to separate them out.
I would probably make a 40-50GiB /home (just to be sure not to run out of space), 1.5-2 times memory in swap and put the rest in /. possibly 100-300 MiB in /boot, but that is not critical unless you plan to use a strange filesystem.
there is nothing forcing you to keep the partitioning scheme the same even if you copy another machine. just make your own scheme, copy files into the appropriate directories independent of partitions. then modify /etc/fstab. that should do the trick.
to make the system bootable, you will probably need to boot with some livecd and chroot to the new system and install the mbr. the simplest solution might be to do a clean install and just copy /home to the new disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.