How to remove Win10 from dual boot SSD

I recently installed Manjaro on a 20gb partition on my 500gb SSD. I have never used LInux before but I have always been pretty savy with computers and this installation was a breeze.

I hardly ever boot into Win10 for any reason now, so it is finally time to say goodbye. As plenty of other die hard Linux fans have said many many times before, “It is inevitable”.

I looked for similar topics on this forum as well as others online but I haven’t found any that specifially point to same situation that I find myself in.

If there are Linux wizards who would like to instruct me on removing Win10 from my SSD safely so that I can then expand my ROOT partition to the remainder of the SSD, I will be forever grateful.

Again, I originally partitioned 20gb for Manjaro and 4gb for Swap on my 500gb SSD. If any further information is required before I receive an instructional answer, I will be happy to do so.

Just use something like gparted to format/merge the windows partitions, then reconfigure GRUB to remove the windows entry.

First, provide some info of your system:

sudo fdisk -l
sudo blkid
sudo efibootmgr -v
cat /etc/fstab

Also let us know if you think you run BIOS or UEFI firmware.

The problem with your request is that the root partition UUID - most likely - will change if you resize to the west and this will invalidate your grub root partition UUID.

But if you if you are using Windows $esp you should be able to remove all other partitions - then use the gparted gui to extend your root partition.

This is not going to happen if GParted is used.

That is good if it is so - trust is good verification is better - please do double check - the grub config.

After moving the start sector of the / partition a restore of the grub bootloader is needed, indeed.

Here is the system information. Apparently I partitioned only 10gb for Manjaro instead of 20. Im not sure how I glanced over that when writing my original post.

fdisk –

Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860
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: gpt
Disk identifier: 501381D7-05F5-4B9D-B459-1AB118D7A1EE

Device Start End Sectors Size Type
/dev/sda1 2048 616447 614400 300M Windows recovery environment
/dev/sda2 616448 819199 202752 99M EFI System
/dev/sda3 819200 1081343 262144 128M Microsoft reserved
/dev/sda4 1081344 2002943 921600 450M Windows recovery environment
/dev/sda5 2002944 947258903 945255960 450.7G Microsoft basic data
/dev/sda6 975687680 976773119 1085440 530M Windows recovery environment
/dev/sda7 947258904 969543679 22284776 10.6G Linux filesystem
/dev/sda8 969543680 975687679 6144000 2.9G Linux swap

sudo blkid –

/dev/sda1: LABEL=“Recovery” BLOCK_SIZE=“512” UUID=“50FE1513FE14F2C8” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“d57f5661-4ac1-4b2c-82fa-4ab21b8b255e”
/dev/sda2: UUID=“6C17-47C0” BLOCK_SIZE=“512” TYPE=“vfat” PARTLABEL=“EFI system partition” PARTUUID=“f9e5b96f-6a44-4a43-81d9-7c609de98837”
/dev/sda3: PARTLABEL=“Microsoft reserved partition” PARTUUID=“cbb96e38-c1b5-4672-b507-a34ae5d01a3d”
/dev/sda4: BLOCK_SIZE=“512” UUID=“CEF2331CF23307EB” TYPE=“ntfs” PARTUUID=“c16bb164-5268-4226-b3d3-4bccec654983”
/dev/sda5: BLOCK_SIZE=“512” UUID=“34B21DEBB21DB1FA” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“0203bad8-29e1-4dcf-901c-397153e447f4”
/dev/sda6: BLOCK_SIZE=“512” UUID=“4AECBAEBECBAD105” TYPE=“ntfs” PARTUUID=“3f6bc038-fe9c-46eb-affa-363f022264a7”
/dev/sda7: UUID=“d1c631ee-2c41-4b20-a968-47c11b09118e” BLOCK_SIZE=“4096” TYPE=“ext4” PARTUUID=“1c2a0acc-8bea-1840-ae29-e8219c1e44af”
/dev/sda8: UUID=“b555e09f-823f-44b4-be9e-5f6e1d8949e3” TYPE=“swap” PARTUUID=“49f3dfaa-19ae-3b49-937f-72a3a7a29686”

sudo efibootmgr -v

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* Windows Boot Manager HD(2,GPT,f9e5b96f-6a44-4a43-81d9-7c609de98837,0x96800,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.}…e…
Boot0001* Manjaro HD(2,GPT,f9e5b96f-6a44-4a43-81d9-7c609de98837,0x96800,0x31800)/File(\EFI\MANJARO\GRUBX64.EFI)
Boot0002* Hard Drive BBS(HD,0x0)…GO…NO…u.S.a.m.s.u.n.g. .S.S.D. .8.6.0. .E.V.O. .5.0.0.G.B…A…>…Gd-.;.A…MQ…L.3.S.1.Z.B.N.K. .D. . . . …BO

cat /etc/fstab

UUID=6C17-47C0 /boot/efi vfat umask=0077 0 2
UUID=d1c631ee-2c41-4b20-a968-47c11b09118e / ext4 defaults,noatime 0 1
UUID=b555e09f-823f-44b4-be9e-5f6e1d8949e3 swap swap defaults,noatime 0 2
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

I also have completely backup all my data from my SSD on an external from both Win10 and Manjaro.
I still have my Bootable USB as well so if need be, I am willing to do a full wipe of the SSD and install Manajro clean onto the SSD.

But if there is a method for clean off Win10 and expanding Manjaro to the whole SSD, that would be perferred.

I prefer separate disks for each operatingsystem…
Otherwise one “may” delete the other (preferable Wind**fs does) - or you
“must aufpassen wie ein Schießhund (watch out like a shooting dog)”.

The tool “Disks” helps finding out which partition belong to windows. Delete with “gparted”.
Boot USB-Live-stick and extend Manjaro with “empty” places?!

OK, you should boot into a fresh live ISO (should not be too old as you have to update the packages) to perform the following activities.This is needed as all Linux partitions must be unmounted.

When running the live ISO, set-up your network connection and install GParted if it’s not part of the live ISO by

sudo pacman-mirrors -f && sudo pacman -Syyu gparted --needed

Open GParted and make unformatted the partitions sda3, sda4, sda5 and sda6, execute the commands. sda1 is so small that I would keep it to avoid that you need to move your efi partition.

Then mark them for deletion and execute the commands.

Now, you can move and resize your Linux partition and your swap partition. Execute the change. You also could create further data partitions if you want.

After that, leave GParted.

Open a terminal window and restore the grub bootloader::

sudo manjaro-chroot -a 

(if 0:0 is offered select 1 )

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
sudo update-grub

After exiting chroot (but still in the terminal window) run

systemctl poweroff

Remove your live ISO USB stick and then start your PC normally.

1 Like

Thank you! I will give this a shot and I will let you all know how it goes.

I would reinstall and start all clean and fresh.