LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-03-2021, 07:48 PM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Rep: Reputation: 44
Partition question


I'm using Disks app

Is it possible to make just 1 partition on my backup hard drive?

Right now there are 3 partitions.

See screenshot.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-02-03 20-45-42.jpg
Views:	40
Size:	71.7 KB
ID:	35488  
 
Old 02-03-2021, 07:59 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,897
Blog Entries: 28

Rep: Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347Reputation: 6347
Looking at the picture, it looks as if there is one partition already. The remainder is free, that is, unpartitioned space, a little bit on one end and about 8GB on the other.

This article should help: https://linoxide.com/how-tos/find-al...d-space-linux/
 
Old 02-03-2021, 08:13 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Don't forget "partitioning" meaning is cutting into pieces. If you need just one piece then there is no need for partitioning and you can lay the filesystem directly to the device, as it was done in past with floppy disks. When you create filesystem without partitioning the whole drive will be used and there won't be any waste.
 
Old 02-03-2021, 08:17 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,384

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Whilst I agree with Emerson, it leads to confusion for most users - (almost) all the articles found online reference partitions and how to list them (as per the reference from frankbell).
Best to use gparted to absorb the free space at the end of the disk - the 8.5G. The space at the start is negligible but is usually for alignment - if you attempt to absorb that, you will likely badly affect performance. Leave it alone.
 
Old 02-03-2021, 08:55 PM   #5
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by frankbell View Post
Looking at the picture, it looks as if there is one partition already. The remainder is free, that is, unpartitioned space, a little bit on one end and about 8GB on the other.

This article should help: https://linoxide.com/how-tos/find-al...d-space-linux/
Well, I used the Disks app and formatted the drive, and it only has one partition now. I don't know if this is a good idea, as the drive may need some free space?

It's not the primary drive.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-02-03 21-53-43.png
Views:	17
Size:	70.7 KB
ID:	35489  
 
1 members found this post helpful.
Old 02-04-2021, 03:43 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,384

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by Michael Piziak View Post
Well, I used the Disks app and formatted the drive, and it only has one partition now.
So why did you bother asking us for input ?.
 
Old 02-04-2021, 07:48 AM   #7
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 44
Well, I did a bit of reading, and it is recommended that you do have a "swap" partition, so I used a program called gparted partition editor to create one.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-02-04 08-46-31.png
Views:	21
Size:	72.0 KB
ID:	35494  
 
Old 02-04-2021, 10:22 AM   #8
TorC
Member
 
Registered: Dec 2020
Location: as far S and E as I want to go in the U.S.
Distribution: Fossapup64
Posts: 224

Rep: Reputation: 78
Quote:
Originally Posted by syg00 View Post
So why did you bother asking us for input ?.
Reassurance? Many newbies are intimidated by it due to M$ condidtioning.



With 8GB RAM, I just create a 'token' swap partition of about 512-768MB to satisfy any distro that 'looks' for a swap prior to install. FYI -- partitioning in slackbook
 
Old 02-05-2021, 05:39 PM   #9
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix, antiX
Posts: 252

Rep: Reputation: 73
Quote:
Originally Posted by Michael Piziak View Post
Well, I used the Disks app and formatted the drive, and it only has one partition now. I don't know if this is a good idea, as the drive may need some free space?

It's not the primary drive.
No need of any unallocated space for this data disk. In case of GPT (GUID partition table) you need just 1 MiB for alignment + partition table at the beginning and 1 MiB at the end for the partition table backup copy. These are automatically left free by GParted.

If a swap partition is really needed, then I would prefer it on the SSD system drive, not in the slower data HDD. Anyway, swap partition was more important in the past, as RAM was expensive. Now it is much easier and cheaper to have lots of RAM even in a home pc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Partition Table vs Partition Scheme vs disklabel/bsdlabel : noob question 1 el barto *BSD 2 01-04-2021 11:55 AM
How to re-size root partition without loosing any data if the root partition is immediately followed by swap partition thebiggiantmouse Linux - Hardware 16 09-25-2019 12:06 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
How to add new partition before Linux partition in an existing Linux box? ashutosh Linux - Software 3 04-23-2002 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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