LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-09-2020, 04:19 AM   #1
Lx_Pollywog
LQ Newbie
 
Registered: Oct 2020
Posts: 9

Rep: Reputation: Disabled
Newbie disk partition LVM Gparted. Advice needed


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
 
Old 10-09-2020, 09:54 AM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Quote:
Originally Posted by Lx_Pollywog View Post
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.
 
Old 10-09-2020, 10:06 AM   #3
Lx_Pollywog
LQ Newbie
 
Registered: Oct 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for reply. Can you please explain me what " separate disk images" means? I'm really new at this.

Last edited by Lx_Pollywog; 10-09-2020 at 10:07 AM. Reason: more detail
 
Old 10-09-2020, 11:09 AM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Maybe you should just upgrade the system to run Qubes-OS?

A disk image is a virtual hard drive file for a virtual machine.
 
Old 10-09-2020, 11:20 AM   #5
Lx_Pollywog
LQ Newbie
 
Registered: Oct 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
No, Qubes system are too expensive at the moment.

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 View Post
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
 
Old 10-10-2020, 08:41 AM   #6
Lx_Pollywog
LQ Newbie
 
Registered: Oct 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-10-2020, 11:32 AM   #7
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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.
 
Old 10-10-2020, 11:32 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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:
  1. a little EFI one
  2. the root partition, for the OS and software
  3. the swap partition, in case you run out of memory
  4. the home partition, where each user gets their own directory
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LVM with partition >2TB and gparted swilsy Linux - Server 4 08-23-2016 12:26 AM
How dangerous to shrink system LVM partition a little bit with gparted? [CentOS 7] ohmster CentOS 21 05-30-2015 10:20 PM
LXer: GParted Live Switches to Systemd, Includes GParted 0.22.0 LXer Syndicated Linux News 0 03-25-2015 08:03 AM
LXer: GParted Live CD 0.13.0-1 Is Based on GParted 0.13.0 LXer Syndicated Linux News 0 07-16-2012 04:40 PM
Mounting LVM Disk to non-LVM disk gak_92 Linux - Hardware 1 08-07-2009 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration