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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304
Rep:
Does it Matter What Order Partitions Show up In?
I partitioned my Mint Install;
First I created a "/" partition, then a "Swap" partition, then a /home Partition with all the (biggest) space I had left over.
So the order I had while looking at it was
/dev/sda1 ext4 /
/dev/sda5 swap
/dev/sda6 /home
When I look at other schemes, I see a different order. I see;
/dev/sda1 ext4 /
/dev/sda5 ext4 /home
/dev/sda6 swap
The "/home" and "swap" are switched around. I knew how much I wanted for my /. I knew how much I wanted for swap, but wanted all the left over space for /home. It was easier to do it that way.
Does it matter what order the /home and swap are in?
No.
People used to worry about such things, but that time is long gone. I always stick swap way out the end to get it out of the way - especially if I later need to resize/move partitions around.
LVM avoids such concerns at all.
I've had trouble with /boot location or other first start type things when on some older systems.
Good thing about swap is that you can do a lot with it both in file and partition after the system is up. Same with /home. You can usually move it around later.
The very first partitions are the ones closest to the end of the disk and they get faster read/write, so it makes sense to put swap not very far from it.
Quote:
ocd+2mb=stress
I fell ya. Fortunately my first partition is created 2048 MB after the first track so the partitions align properly (my HD has physical sectors of 4096 bytes and logical sectors of 512 bytes). Creating partitions with fdisk makes sure that no free space exists in the end of the disk.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Rep:
Quote:
Originally Posted by happydog500
I partitioned my Mint Install;
First I created a "/" partition, then a "Swap" partition, then a /home Partition with all the (biggest) space I had left over.
So the order I had while looking at it was
/dev/sda1 ext4 /
/dev/sda5 swap
/dev/sda6 /home
When I look at other schemes, I see a different order. I see;
/dev/sda1 ext4 /
/dev/sda5 ext4 /home
/dev/sda6 swap
The "/home" and "swap" are switched around. I knew how much I wanted for my /. I knew how much I wanted for swap, but wanted all the left over space for /home. It was easier to do it that way.
Does it matter what order the /home and swap are in?
Thank you,
Chris.
it goes by the order you create them in.
had you did it like this
create /
create /home
create swap
then it'd look something like this
Code:
/dev/sda1 /
/dev/sda2 /home
/dev/sda3 swap
Are you not creating them all primary drives? you got a jump from 1 to 5 in there. you can have up to 4 primary drives before you have to go to extended.
It is usually the rest of the track/cylinder that the tables occupy which cannot be used, though it may also be some at the end of the drive since some file systems won't use the last bit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.