view the rest of the comments
Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
Mint is a great distro for beginners. Coding is not required, but coders prefer Linux because it makes our lives easier in some ways.
I would like to take the opportunity to give you two advices that I think everyone who wants to use Linux should hear:
Install from package manager
In windows the way to install something is to look it up on a browser, open a sketchy website, downloading a binary and executing it on your machine. That is definitely NOT the way to do stuff on Linux. Think on Linux the same way you do Android (which is actually a Linux distro), if you want to install something you look it up on the play store, and only if it's not there you consider alternatives like downloading a random .APK from the internet. Linux should be the same, except there are several alternatives before downloading a binary from the internet, like adding a PPA in debian based distros (Mint is based on Ubuntu which is based on Debian, so this applies to you) which essentially gives extra packages to the package manager or using flatpak/snaps (two different technologies that try to do the same, i.e. a new way of packaging software for Linux)
Keep /home in a different partition
In Linux any folder can be in any hard-drive/partition. So it's possible when you're installing your system to have what you would normally think as
C:\
(which is called/
in Linux) in one partition and/home
(i.e. the folderhome
inside/
) in another. This is great because it allows you to reinstall or change your Linux distro without losing your personal data.Ok, wait...I thought a partition meant that it was in effect a wall between different OSs if you had multiples on one computer, not like separate folders like in Windows Explorer (which is what I'm getting from this comment, if I'm wrong please let me know).
A partition is a dedicated space on a disk. In windows there's not much use to partition a disk, but it can be done, and you would have a C: and D: drives with only one physical disk. I used to do that back in the day to have a partition for backups.
If you only have one disk and want to have multiple OS, you need to partition the disk, so that each OS can write their data without interfering with one another. Essentially what you're doing is, like you said, putting a wall between areas in the disk, but you can do that regardless of having different OS in each side.
In Linux things are a bit different, the representation of your disks is a file inside
/dev
, for example the first disk (non-nvme) Linux finds will be/dev/sda
, the next one will be/dev/sdb
so on and so forth, but since disks can be partitioned the first partition in your first disk is/dev/sda1
, then/dev/sda2
, etc. Then there's a file called/etc/fstab
that has lines like/dev/sdb3 /home
, this means that the 3d partition in the second disk will be accessible in the folder/home
. You don't really need to worry about this file in general, during the installation there will be a nice GUI to let you say which partition goes where.How is that useful? Well, if you have the system in
/dev/sda2
and your/home
folder in/dev/sda3
you can format/dev/sda2
and reinstall the system or change the distro entirely without losing your data stored in/home
.PS: I'm simplifying some stuff, but for reference :
/dev/hda1
, this is because the s in sda refers to SATA, which essentially all disks are nowadays/dev/nvme0n1
/etc/fstab
has other parameters to tell it certain flags like mount read-only. Also it rarely used/dev/sda1
style naming because that might change if you swap the cables in your computer, instead it uses a unique identifier that's points to the correct partition regardless of order.but all that's besides the point.