LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-25-2019, 11:49 AM   #16
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled

Your root partition is /dev/sda3, and your swap partition is /dev/sda2. In other words, your root partition is not immediately followed by a swap partition, so deleting /dev/sda2 will not free up space that could be used to extend /dev/sda3.
 
Old 09-25-2019, 12:06 PM   #17
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,805
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
sda2 can be deleted, sda3 moved to the start of freed space, then sda3 can be extended to use the freespace following.

To keep the names and partitions in logical order, sda2 could be deleted and recreated to a small size, e.g. 8MB, sda3 moved to start of freed space, then sda3 extended to use the freespace following.

With either approach, bootloader should be updated after the reconfiguration, and fstab's swap entry.
 
  


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
How can i merge two ext2 linux partition without loosing any data amitkjain_crld Linux - General 6 12-24-2022 01:04 AM
How to resize root partition without loosing data? mukesh_4967 Linux - Newbie 2 06-14-2009 09:05 PM
Howto UNinstall software RAID 1 without loosing data carlosruiz Linux - General 1 05-28-2006 09:10 PM
Can i resize my partition without loosing data? byen Linux - General 4 05-25-2005 07:39 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM

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

All times are GMT -5. The time now is 09:17 AM.

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