I want to Remove Windows 10 without re-installing Manjaro

So I have Windows 10 and Manjaro installed, but since the first install I never used Windows, so I was wondering if I could remove the Windows partition without re-installing Manjaro.
Also I was wondering if I could format one of the drives that Windows uses, from NTFS to ext4, so I could have a better use of it.

Here’s some better information about the drives and partitions

Model: ATA SanDisk SSD PLUS (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  120GB  120GB  primary  ext4


Model: ATA ST1000DM003-1ER1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size   Type     File system  Flags
 1      1049kB  525MB   524MB  primary  ntfs         boot
 2      525MB   107GB   106GB  primary  ntfs
 3      107GB   107GB   528MB  primary  ntfs         msftres
 4      107GB   1000GB  893GB  primary  ntfs

If you need any more information I will provide.

Thank you all for the help!

Solution:
On Gparted unmount and delete the partition, create a new one with the free space and follow the commands bellow.

Is this an mbr system or uefi, if the latter you have no boot/efi partition for linux so it may be shared with windows?

It’s an MBR system I believe, is there a way I can check?

Hello @Intergalactic_Apple :wink:

Please add this output:

LANG=C sudo parted -l

since not everyone can read your language :slight_smile:


On /dev/sda you installed Linux on a ms-dos partition table with MBR and it seems in /dev/sdb it is the same way with windows.

If you installed grub on the MBR of /dev/sda, then you can fully wipe /dev/sdb if you need to without problems. But i guess it is the case here.

Oh yeah sorry about the language thing :sweat_smile:
Here’s the output:

Model: ATA SanDisk SSD PLUS (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  120GB  120GB  primary  ext4


Model: ATA ST1000DM003-1ER1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size   Type     File system  Flags
 1      1049kB  525MB   524MB  primary  ntfs         boot
 2      525MB   107GB   106GB  primary  ntfs
 3      107GB   107GB   528MB  primary  ntfs         msftres
 4      107GB   1000GB  893GB  primary  ntfs

Thanks… ok now it is clear. You can wipe /dev/sdb without problems, but to ensure you really installed the MBR on /dev/sda do this:

sudo grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sda

and

sudo update-grub

Then delete windows and reboot to check if booting is working.

So I can delete /dev/sdb but there is a drive there, the one with 893GB or sdb4, that has some important files in it, and a I have no means of backup right now, can I just delete the other parts of the partition? Or do I have to delete it fully?

No, you can skip /dev/sdb4, and delete only the other partitions. That makes no difference. Then create a new partition with ext4 at the beginning and move the files from /dev/sdb4 to the new one.

Also, after mounting the new ext4 partition, set the permissions:

sudo chown  -R $USER:$USER /path/to/partition/mountpoint

and if everyone should able to read and write there, do this:

sudo chmod  -R 777 /path/to/partition/mountpoint

Ok, how do I go about deleting partitions? On Gparted it doesn’t let me delete them, do I have to unmount first?
I know this is a noob question, but I am new to this partition thing :sweat_smile:

Yes, you can’t act on hardware level, if the partition is connected. Unmount it first :wink:

No problem, everyone did their first steps before they were running :slight_smile:

Ok just unmounted sdb1 and sdb2, now I just delete them?

Yes, unmount it and mark it to delete. Then “apply all operations” OR CTRL+RETURN

Ok do I have to unmount sdb3 and sdb4 too? Or i just leave them there?

Only the ones which need to be deleted…

Ok just deleted them, now what do I have to do? What do I put on free space before and after?

Just add a new partition, type a name, set how much space you want to allocate, choose the filesystem ext4 and create. Then “apply all operations”. Now there should be a new partition at your file manager. There you can mount it, copy the path and set the permissions as described above.

Ok done the path is this one: /run/media/fernando/Disco de Coisas/
So the permissions would be:

sudo chown  -R $fernando:$fernando /run/media/fernando/Disco de Coisas/

And

sudo chmod  -R 777 /run/media/fernando/Disco de Coisas/

Is that correct?

Almost… because of the lmitation of the terminal spaces have to be escaped and $USER is a variable fr the current user. It should be like that:

sudo chown -R $USER:$USER /run/media/fernando/Disco\ de\ Coisas/

OR

sudo chown -R fernando:fernando /run/media/fernando/Disco\ de\ Coisas/

AND

sudo chmod -R 777 /run/media/fernando/Disco\ de\ Coisas/

test the variable yourself:

echo $USER

Ok, done both commands did not return any output, however after typing there was a folder created on the partition named “lost+found”, I guess it worked then?

Yeah if you can create folders there, then it is definitely done. Now you can copy files there…