Replace Linux with Windows?

Em
3

Hi, I've installed Kali Linux as the 2nd partition on my laptop, but now I just want Linux on the PC, how can I delete Windows that is just Linux on it?

ch

With a live system, for example, delete the Windows Parition & expand the Linux / partition.
The bootloader (GRUB?) Is probably already on the Linux partition anyway (say you do not have to change anything)?

mo

There are several ways.

The easiest thing is to delete everything on the windows partition.
Maybe like this:

mount / dev / sda1 / mnt

(but be careful, check if this is really Windows's)

cd / mnt; rm -rf *

However, since not all file metadata can be accommodated on an NTFS partition, a linux-compliant file system is recommended. For example,
mkfs.ext4 / dev / sda1 (take care here too)
It's a good idea to name a partition:

e2label / dev / sda1 data

Create a mount point (for example, Mkdir / data) and bind the partition firmly through an entry in the / etc / fstab file

LABEL = data / data ext4 acl, user_xattr 1 2

Following the same pattern you can also use them as / home, moving from / home to new is not that easy. I do not want to describe that here.

Al

I have kali Linux installed as a 2nd partition on my laptop

This sentence is nonsense!

maybe you have it installed on the 2nd partition, but certainly not as…

Now I want that only Linux on the pc is how can I delete windows

But that's something else than your headline:

Replace Linux with Windows?

asks - So what exactly do you want now?

The facts:

that you ever ask
then that you ask it here
and as you ask
and what you write

tell me that you do not have the knowledge to use Kali!

Please install Windows, which can serve virtually any Trotter ;-)

Linux Hase