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.
Wish to set up partitions to seperate user activity. Got Peppermint-os distro with pre-installed LVM partition tool. Partitions & LVM is new to me. Noticed many people talking about Gparted. My goal is that every user of the home computer get his own operating system separate from others so that any mods/viruses stay isolated from other users & wipe-able. The computer is too weak for Qubes-os(which i hear people say is the boss). How would you suggest i set this up ?
I was thinking using a super light distro for the partition tool install & then into partitions bigger distros. Example: Peppermint-os(or lighter)=partition tool install & then bigger distros like mint/manjaro in user partitions. Not sure how it goes, thinking hard.
What you think,what do you do ?
Thanks for reading, your knowledge & advice would be greatly appreciated!
Last edited by Lx_Pollywog; 10-09-2020 at 04:30 AM.
Reason: detail in explanation
Distribution: Ubuntu based stuff for the most part
Posts: 1,177
Rep:
Quote:
Originally Posted by Lx_Pollywog
My goal is that every user of the home computer get his own operating system separate from others so that any mods/viruses stay isolated from other users & wipe-able.
I have seen this done before using PXE booting, but that requires multiple systems and seems like you only have one.
If you want to have a virtual machine for each person to use, then you don't need partitions, just separate disk images.
Thanks. So what's the difference between a VRmachine & a real install, mostly the same no? I like the idea of a "pick your name" general login screen vs vr's into a folder, although not obligatory.
Quote:
Originally Posted by uteck
Maybe you should just upgrade the system to run Qubes-OS?
I was expecting that one, my computer is too cheap & right now is not possible.
This guy "Chris Titus Tech" says you need a beast to run Qubes(i sync't it for you):
Qubes OS Tutorial | Install, Config, and Introduction https://youtu.be/Aghj8MyDF4I?t=55
Last edited by Lx_Pollywog; 10-09-2020 at 11:34 AM.
Reason: detail
Learnt that using virtual machines is more resource needy because it implies running the host + virtual= 2 systems. With partitions it only runs 1. Ok but i think i have more to learn, before really knowing the main points, somebody wanna add some info here ?
With all the add-ons,downloads,app sampling i personally love to wipe out my system regularly but still have another os available. This i why i like light weight distros like ppmint.
Being a linux pollywog i have much riff-raff to explore about all these surprise subjects. Someone brought me to absolute basics & noted that i can simply create users with a "adduser" Terminal line...and that there is a way(although i still don't know) to enforce the isolation between user spaces. Except this way users are all on the same distro so if something messes, example: makes Gimp unstable with bad mods every user suffers.
So create users & keep some separate disk space to play with partitions as learning material is a good kiss"keep it simple stupid" plan for the moment but would still like to upgrade the know-how of things.
Last edited by Lx_Pollywog; 10-10-2020 at 09:41 AM.
Linux is designed as a multi-user operating system. It's designed to have one operating system and as many users as desired. Each user gets a separate home directory, which could be a separate partition if desired. Without the root password or sudo privileges, the users cannot bork the system, and any malware or other problem would be confined to their home, which can be easily wiped and rebuilt. I suggest you do this the way it has always been done, and was designed to be done. You have the OS installed, all you need to do is add users as desired, DO NOT give them the ability to become root, and let them go. Without becoming root they cannot touch anything outside of their home. You can allow some sudo commands to allow installing programs if you want, but it's not necessary. You don't need virtual machines or anything else, just Linux. That's how Linux works, it's not Windows.
If you are using Linux, you don't need to give different users separate OS's for them to be safe. Each user's filing system is closed to other users, and the programs and OS can only be altered by the administrator. Where Windows started out as a system for personal computers, Linux implements a Unix environment, which was originally designed for mainframes and so has isolating multiple users as a basic feature.
Personally, I'd steer clear of LVM. It's great on servers, where you have multiple disks and aren't sure in advance how much space various things will need. For a PC it's more trouble than it's worth. All you need is four partitions:
a little EFI one
the root partition, for the OS and software
the swap partition, in case you run out of memory
the home partition, where each user gets their own directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.