LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-02-2022, 01:36 PM   #1
pinguin20
Member
 
Registered: Jan 2022
Posts: 36

Rep: Reputation: 0
Is there a correct way to install distros or can I install them the way I like?


I, for example, don't understand anything about partitioning and I avoid it because it's the step of the installation that I hate the most. So, if I install the way I like, even without advanced knowledge about installation, can I end up facing problems like random system freezes in the future?
 
Old 02-02-2022, 03:41 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Best thing to do it read the installation docs for the distro that you want to install. Yes, partitioning is a real important step. So is putting a file system on the partitions, installing a bootloader etc.
 
Old 02-02-2022, 03:59 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
It really isn't that complicated. Generally, you can use one partition for the entire system plus a swap for most systems. Many users now will have a smaller partition for the system and a larger partition for the /home or a /data partition for personal data. The first option is obviously the easiest. If you do an online search for 'standard linux partitioning' you should get any number of sites such as the one below. The second link below is the GPArted manual which is the standard Linux graphical partitioning software. Most newer drives now are GPT so you should understand the difference between GPT/UEFI and the older msdos partitioning.

https://www.howtogeek.com/howto/3567...your-linux-pc/

https://gparted.org/display-doc.php%...%3Dhelp-manual
 
Old 02-02-2022, 04:07 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by pinguin20 View Post
I, for example, don't understand anything about partitioning and I avoid it because it's the step of the installation that I hate the most. So, if I install the way I like, even without advanced knowledge about installation, can I end up facing problems like random system freezes in the future?
As long as the way you like gets it installed, you (or the installer) did the partitioning well enough. It cannot cause random freezes in the future.

What could it affect:
If you have any OS there already, doing things wrong could wipe them or overwrite them.
If you don't put bootloader/grub on the right drive, your might not be able to start your OS.
If you install on a really tiny partition, you might run out of space.
If you don't create a swap partition, then if you dual boot other linux distros you're wasting space as they'll each have their own swapfile, instead of sharing one swap partition.
If you create a swap partition then hibernate, then boot another distro, you'll kill your hibernated state.
If you create separate home and root partitions, and one gets full later, have to resize partitions to resolve.
If you don't create a separate partition for home, then you can't remove or replace the OS/apps without wiping your personal data.

Last edited by enigma9o7; 02-02-2022 at 04:19 PM.
 
Old 02-02-2022, 04:19 PM   #5
pinguin20
Member
 
Registered: Jan 2022
Posts: 36

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by enigma9o7 View Post
As long as the way you like gets it installed, you (or the installer) did the partitioning right. It wont affect random freezes in the future.

What could it affect:
If you have any OS there already, doing things wrong could wipe them or overwrite them.
If you don't put bootloader/grub on the right drive, your might not be able to start your OS.
If you install on a really tiny partition, you might run out of space.
If you don't create a swap partition, then if you dual boot other linux distros you're wasting space as they'll each have their own swapfile, instead of sharing one swap partition.
If you create a swap partition then hibernate, then boot another distro, you'll kill your hibernated state.
If you don't create a separate partition for home, then you can't remove or replace the OS/apps without wiping your personal data.
If you create separate home and root partitions, and one gets full later, have to resize partitions to resolve.
If the installer gives me a default setup and I choose it without partitioning by myself then in the future everything is going to work fine?
 
Old 02-02-2022, 04:30 PM   #6
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 480

Rep: Reputation: 179Reputation: 179
Quote:
If the installer gives me a default setup and I choose it without partitioning by myself then in the future everything is going to work fine?
Yes.... IF you allow the installer to wipe the whole disk (clean install) and lay down the new OS. That is what I do as I only have one base OS installed on the computer. Any additional OS's will be loaded in a VM if desired.

Last edited by rclark; 02-02-2022 at 04:32 PM.
 
Old 02-02-2022, 04:32 PM   #7
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Quote:
Originally Posted by pinguin20 View Post
If the installer gives me a default setup and I choose it without partitioning by myself then in the future everything is going to work fine?
Only if the default setup is going to work best for you.

Have a look at the links in yancek's post above. Note that partitioning is also important in a ms-windows environment.

Also, bear in mind that having a separate /home partition won't necessarily guarantee your data's safety when updating, upgrading, reinstalling an existing OS or installing a new one - always back up first.
 
Old 02-02-2022, 04:46 PM   #8
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
How big is your hard drive and how much ram do you have?
 
Old 02-02-2022, 05:05 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
For the clueless coming from some other operating system other than Linux.

https://www.linuxliteos.com/manual/
 
Old 02-03-2022, 03:58 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by teckk View Post
Best thing to do it read the installation docs for the distro that you want to install.
Always.
 
Old 02-03-2022, 04:15 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by pinguin20 View Post
I, for example, don't understand anything about partitioning and I avoid it because it's the step of the installation that I hate the most. So, if I install the way I like, even without advanced knowledge about installation, can I end up facing problems like random system freezes in the future?
I, for example, hate fuels, and I want to avoid it because it stinks pretty much. Can I end up facing problems like random stop in the future?
 
Old 02-03-2022, 07:01 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
In the short run (for home machines), default is usually fine, but in the long run partitions are worth learning about.
It's not that complex for the basiscs.

If you want , do a default install and then post what you get (eg lsblk) here for comments.
 
Old 02-04-2022, 07:22 AM   #13
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
If you can spare a hundred, get an old laptop and experiment by installing a few times with different partitioning schemes. This way you will learn about partitions. When I say a few times I mean more than five. Use the same distribution to have consistent effects.

For example, my main system is setup with three partitions: / (root), /home and swap. It is my usual setup and I like to keep this system simple. In case of a screw up I believe I can reinstall and keep my /home partition intact. And yes, I do have backups and so should you.

My experimental laptop (about a hundred, maybe more) has six partitions:
Code:
sda1	/boot		 1.00 GiB	fat32		Boot (EFI common)
sda2		/		45.00 GiB	ext4		Arch
sda3		/home		52.00 GiB	ext4		HomeArch
sda4		/		55.00 GiB	ext4		LFS
sda5		/home		62.00 GiB	ext4		HomeLFS
sda6		swap		 8.57 GiB	swap		Swap (common)

Last edited by Debian6to11; 02-04-2022 at 07:24 AM.
 
Old 02-04-2022, 08:22 AM   #14
pinguin20
Member
 
Registered: Jan 2022
Posts: 36

Original Poster
Rep: Reputation: 0
Guys, I decided to install linux lite os and I chose ''Erase disk and install Linux''. I don't know why but like any other distros it freezes randomly as well but not frequently
 
Old 02-04-2022, 02:46 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,979

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Freezing is generally not an issue related to the OS. Could be hardware or firmware or power or drives or almost anything.

To start, how much ram do you have. Did you run memtest for a few days? Did you test hard drive for a few days?
 
  


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] Is there a way to show only ACTUAL normal mounted devices? Lot of distros seem to put lot of stuff in there Red Squirrel Linux - Software 14 05-25-2020 02:16 AM
Distros, distros, distros...slight rant.. Jamesb427 Linux - Distributions 1 05-31-2007 03:10 PM
LXer: See distros. See distros run. Run, distros, run. LXer Syndicated Linux News 0 06-13-2006 01:24 AM
Fedora Core 1 RPM files - when I run them, I can't read them! [42]Sanf0rd Linux - Software 0 05-30-2004 05:00 PM
there are a lot of linux games out there how do i download and install them AndytheBrave Linux - Software 3 09-18-2003 06:23 PM

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

All times are GMT -5. The time now is 06:16 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