How to Increase dev/sda2 in linux (Debian) using Gparted or teminal [on hold]











up vote
0
down vote

favorite












Practically, I'm new to Linux and I have issues, increasing the size of my sda2 partition where Linux is running. I also have tried several fixes, but it's not working completely.



>> fdisk -l

Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbfed78a3

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 308826119 308826057 147.3G 7
HPFS/NTFS/exFAT
/dev/sda2 * 308828160 390719487 81891328 39.1G 83 Linux


Then I proceeded with this...



 >> e2fsck -f /dev/sda2
e2fsck 1.44.2 (14-May-2018)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.


Then this:



>> resize2fs /dev/sda2
resize2fs 1.44.2 (14-May-2018)
The filesystem is already 10236416 (4k) blocks long. Nothing to do!


I'm out of Options myself, How do I go about it?










share|improve this question













put on hold as off-topic by DK Bose, guiverc, karel, Fabby, muru Dec 6 at 10:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – DK Bose, guiverc, karel, Fabby, muru

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Possible duplicate of How to resize partitions?
    – Kulfy
    Dec 5 at 3:05






  • 1




    The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
    – user535733
    Dec 5 at 3:23










  • Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
    – guiverc
    Dec 5 at 6:42










  • Thank you @user535733
    – Precious Tom
    Dec 5 at 23:15















up vote
0
down vote

favorite












Practically, I'm new to Linux and I have issues, increasing the size of my sda2 partition where Linux is running. I also have tried several fixes, but it's not working completely.



>> fdisk -l

Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbfed78a3

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 308826119 308826057 147.3G 7
HPFS/NTFS/exFAT
/dev/sda2 * 308828160 390719487 81891328 39.1G 83 Linux


Then I proceeded with this...



 >> e2fsck -f /dev/sda2
e2fsck 1.44.2 (14-May-2018)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.


Then this:



>> resize2fs /dev/sda2
resize2fs 1.44.2 (14-May-2018)
The filesystem is already 10236416 (4k) blocks long. Nothing to do!


I'm out of Options myself, How do I go about it?










share|improve this question













put on hold as off-topic by DK Bose, guiverc, karel, Fabby, muru Dec 6 at 10:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – DK Bose, guiverc, karel, Fabby, muru

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Possible duplicate of How to resize partitions?
    – Kulfy
    Dec 5 at 3:05






  • 1




    The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
    – user535733
    Dec 5 at 3:23










  • Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
    – guiverc
    Dec 5 at 6:42










  • Thank you @user535733
    – Precious Tom
    Dec 5 at 23:15













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Practically, I'm new to Linux and I have issues, increasing the size of my sda2 partition where Linux is running. I also have tried several fixes, but it's not working completely.



>> fdisk -l

Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbfed78a3

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 308826119 308826057 147.3G 7
HPFS/NTFS/exFAT
/dev/sda2 * 308828160 390719487 81891328 39.1G 83 Linux


Then I proceeded with this...



 >> e2fsck -f /dev/sda2
e2fsck 1.44.2 (14-May-2018)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.


Then this:



>> resize2fs /dev/sda2
resize2fs 1.44.2 (14-May-2018)
The filesystem is already 10236416 (4k) blocks long. Nothing to do!


I'm out of Options myself, How do I go about it?










share|improve this question













Practically, I'm new to Linux and I have issues, increasing the size of my sda2 partition where Linux is running. I also have tried several fixes, but it's not working completely.



>> fdisk -l

Disk /dev/sda: 186.3 GiB, 200049647616 bytes, 390721968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbfed78a3

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 308826119 308826057 147.3G 7
HPFS/NTFS/exFAT
/dev/sda2 * 308828160 390719487 81891328 39.1G 83 Linux


Then I proceeded with this...



 >> e2fsck -f /dev/sda2
e2fsck 1.44.2 (14-May-2018)
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.


Then this:



>> resize2fs /dev/sda2
resize2fs 1.44.2 (14-May-2018)
The filesystem is already 10236416 (4k) blocks long. Nothing to do!


I'm out of Options myself, How do I go about it?







dual-boot grub2 partitioning gparted debian






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 5 at 2:40









Precious Tom

12




12




put on hold as off-topic by DK Bose, guiverc, karel, Fabby, muru Dec 6 at 10:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – DK Bose, guiverc, karel, Fabby, muru

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by DK Bose, guiverc, karel, Fabby, muru Dec 6 at 10:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – DK Bose, guiverc, karel, Fabby, muru

If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of How to resize partitions?
    – Kulfy
    Dec 5 at 3:05






  • 1




    The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
    – user535733
    Dec 5 at 3:23










  • Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
    – guiverc
    Dec 5 at 6:42










  • Thank you @user535733
    – Precious Tom
    Dec 5 at 23:15


















  • Possible duplicate of How to resize partitions?
    – Kulfy
    Dec 5 at 3:05






  • 1




    The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
    – user535733
    Dec 5 at 3:23










  • Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
    – guiverc
    Dec 5 at 6:42










  • Thank you @user535733
    – Precious Tom
    Dec 5 at 23:15
















Possible duplicate of How to resize partitions?
– Kulfy
Dec 5 at 3:05




Possible duplicate of How to resize partitions?
– Kulfy
Dec 5 at 3:05




1




1




The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
– user535733
Dec 5 at 3:23




The problem is that /dev/sda2 is mounted. NEVER try to run fsck or resize mounted partitions - you will damage them quite horribly (which is why those applications refuse to work when the partition is mounted).
– user535733
Dec 5 at 3:23












Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
– guiverc
Dec 5 at 6:42




Possible off-topic question - Debian is not Ubuntu, nor an official flavor of Ubuntu thus off-topic (refer to askubuntu.com/help/on-topic)
– guiverc
Dec 5 at 6:42












Thank you @user535733
– Precious Tom
Dec 5 at 23:15




Thank you @user535733
– Precious Tom
Dec 5 at 23:15















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局