#[SOLVED] Removing arch linux from dual boot

239 messages Β· Page 1 of 1 (latest)

lunar kelp
#

I'm having dual boot of windows 11 and arch linux.. and removing arch linux

brisk brookBOT
#

what does efibootmgr output on arch

lunar kelp
#

Disk 0 partition 5.. this one to remove right??

lunar kelp
brisk brookBOT
#

the fifth one it should be and yes first reboot to arch

lunar kelp
#

Partition 5.. can I remove right now?

#

Or do something else first?

#

@Sparkles @ Namsis

modest trout
#

remove the 300GB one

brisk brookBOT
#

not now

#

you first need to remove the bootloader entry

#

what does efibootmgr output

lunar kelp
#

Or login in arch

brisk brookBOT
#

no

#

you need to be in a running linux system

lunar kelp
#

Ok just a sec

brisk brookBOT
#

nvme0n1p4 is particularly scary
because it might or might not be shared with windows

lunar kelp
#

Okk

#

Help

#

It's always opening windows 11 after startup

#

Not going into grub

#

How to do

#

😭

#

@Sparkles @ Namsis

#

Now what to do??

#

@modest trout

modest trout
#

uh

#

what did you do? are you in linux now?

lunar kelp
#

Efibootmgr

#

I did

#

In konsole

#

@modest trout

modest trout
#

stop pinging me

lunar kelp
#

πŸ˜­πŸ€•

modest trout
#

do you see the Boot0002? It has "GRUB" next to it, that's your linux efi entry. You need to remove it with efibootmgr:

sudo efibootmgr -b 0002 -B

#

I was simply looking it up to make sure I was correct

lunar kelp
#

Okk

modest trout
#

after that, you can remove GRUB from your EFI System Partition (ESP) if you want, but I don't think it really matters

modest trout
#

ok, now run efibootmgr again to verify that it doesn't appear

lunar kelp
#

Now its not there

modest trout
#

that's good, that means you deleted it correctly. And your windows boot managers are still there, which is great. Now you can boot back into windows and remove the linux partitions if you want

lunar kelp
#

Okk

modest trout
#

actually,

lunar kelp
#

Thanks

modest trout
#

don't do that just yet

lunar kelp
#

Means

modest trout
#

what is on partition 4?

#

are there any windows boot entries on it?

lunar kelp
#

Which partition 4??

modest trout
lunar kelp
#

/boot one??

modest trout
#

yes

lunar kelp
#

Idk what's that

#

Isn't of windows??

modest trout
#

that's the EFI System Partition that Linux is using

lunar kelp
#

Oo

modest trout
#

but it may or may not be seperate from the one Windows uses

lunar kelp
#

So what to do?

modest trout
#

if you check the contents of /boot, do you see anything related to windows in there?

lunar kelp
#

How tocheck??

#

πŸ€•

modest trout
#

you can go into your file manager

#

or use ls

lunar kelp
#

Then

modest trout
#

... we can skip this for now, I suppose. I don't know exactly what Windows calls its efi file or where in the ESP it is or anything, and you don't seem experienced enough to inspect it in a way that inspires confidence. Out of a concern for safety, we can leave it for now. It can be removed later if it is safe to. You can go into Windows now and delete partition 5

lunar kelp
#

Okk thanks

brisk brookBOT
#

if there is something related to windows it's in FS0:\EFI\Microsoft\

Pascal ↩️

[Reply to:](#1380463624103133235 message) if you check the contents of /boot, do you see anything related to windows in there?

modest trout
#

noted, thanks

lunar kelp
#

I want to extend C: but can't

#

Since the unallocated one is not adjacent to it

#

What to do now

brisk brookBOT
#

oops it's FS0:\EFI\BOOT\Microsoft

Sparkles @ Namsis ↩️

[Reply to:](#1380463624103133235 message) if there is something related to windows it's in FS0:\EFI\Microsoft\ πŸ“Ž

modest trout
#

this is windows territory now so I can't help much cause idk how to use windows

lunar kelp
#

Okk

brisk brookBOT
#

windows, unlike what we do with btrfs on linux, wont't let you virtually combine two non-adjacent partitions in one

Pascal ↩️

[Reply to:](#1380463624103133235 message) this is windows territory now so I can't help much cause idk how to use windows

modest trout
#

ah rip

#

you'll probably need to make sure partition 4 is safe to delete in that case

lunar kelp
#

So what's that middle one partition??

#

Of 1gb

modest trout
#

thats the ESP of Linux you were using

#

I suspect that Windows doesn't use that, but you should check to make sure

brisk brookBOT
#

(the ESP of windows and linux is one and the same)

#

at least in his setup

lunar kelp
#

What's the last partition then??

#

Of 1.95gb

modest trout
#

oh? It says there are 2 ESPs

#

ah, well you know better than I

brisk brookBOT
#

oh wait

lunar kelp
#

Wait that's not visible in pic

brisk brookBOT
#

they are distinct ESPs

#

sorry

modest trout
#

no worries

brisk brookBOT
#

then you can nuke one of the two

lunar kelp
#

See now

#

The last one

brisk brookBOT
#

what you do now is doing mountvol /s Q: in an admin cmd

modest trout
#

do you see the 1GB partition to the left of the one you just deleted? That's the one you want to delete, but you should make sure it's safe to do so first

#

i.e. it doesn't have the windows bootloader on it

brisk brookBOT
#

the one that does not get attached to a drive letter will be the linux ESP

Sparkles @ Namsis ↩️

[Reply to:](#1380463624103133235 message) what you do now is doing mountvol /s Q: in an admin cmd

lunar kelp
brisk brookBOT
#

mountvol /s

#

it attaches one of the two ESPs

lunar kelp
brisk brookBOT
#

swap /s and Q

lunar kelp
#

Wait

#

It showed something

#

Lemme send

brisk brookBOT
#

pick an unused drive letter of your choice

#

I usually use Q because that's what is unused on my system

lunar kelp
#

z?

brisk brookBOT
#

sure

#

mountvol Z: /s

lunar kelp
#

okk

#

done

brisk brookBOT
#

one of the two partitions should be assigned a letter now

lunar kelp
#

no

#

its the same

brisk brookBOT
#

can you at least dir Z:\

lunar kelp
lunar kelp
brisk brookBOT
#

the windows one is likely the first one

lunar kelp
#

it showing here.. Z:/

#

😐

brisk brookBOT
#

that is your ESP

#

you need to keep that one

#

does disk management show a partition attached to Z now

lunar kelp
#

no

brisk brookBOT
#

aw :<

#

there should not be anything related to grub in Z:\

lunar kelp
lunar kelp
#

I have installed deleted many time.. linux

#

but happened before

#

liek this

brisk brookBOT
#

ya you want to delete the 4th partition

#

the first one belongs to windows

#

the fourth one belongs to linux

lunar kelp
#

which one can i delete??

brisk brookBOT
#

search for grub in Z

#

Z is the first one

#

you delete the fourth one

lunar kelp
#

how

brisk brookBOT
#

via file explorer

lunar kelp
#

found none

brisk brookBOT
#

then you can delete the fourth one

lunar kelp
#

disk 0 partition 4.. right?

brisk brookBOT
#

right.

lunar kelp
#

is it safe??

#

I can't afford losing data :\

brisk brookBOT
#

they dont hold data

#

both partition 1 and partition 4 hold nothing that is not related to boot

lunar kelp
#

oops.. can't

brisk brookBOT
#

aw

lunar kelp
#

T-T

brisk brookBOT
#

diskpart should help

lunar kelp
#

what to do

#

tell commands

brisk brookBOT
#

if you have sudo, sudo diskpart
if you dont have sudo, cmd as admin -> type diskpart

lunar kelp
#

yes done diskpart

#

now

brisk brookBOT
#

select disk 0

lunar kelp
#

then

brisk brookBOT
#

list partition

#

(that is the command)

lunar kelp
brisk brookBOT
#

we want to delete partition 4

#

select partition 4

#

delete partition

lunar kelp
#

wait

#

whats offset 300gb of it?

#

😐

modest trout
#

its just 300GB from the start of the drive

brisk brookBOT
#

approximately 300 GB worth of partitions precede it

lunar kelp
#

okk

brisk brookBOT
#

aaa

lunar kelp
#

:\

#

what to do

brisk brookBOT
#

i dont know

lunar kelp
#

T-T

#

can we revert things?

brisk brookBOT
#

not much

#

you didnt delete part 4 by the way

lunar kelp
#

like.. i don't like this seeing Z:

brisk brookBOT
#

unmount it

lunar kelp
#

and in starting also.. there wasn't particular partion like this

brisk brookBOT
#

it was to check which partition was used by windows and which one is not

lunar kelp
#

how to??

#

unmount

brisk brookBOT
#

and you want to delete partition 4

Sparkles @ Namsis ↩️

[Reply to:](#1380463624103133235 message) you didnt delete part 4 by the way

lunar kelp
#

yea ik

#

btw i once tried some app.. which used to extend partition by shifting.. something like this

#

i would use that

#

to extend C:/

brisk brookBOT
#

mountvol /p Z: it should be

lunar kelp
#

okk

brisk brookBOT
#

it's d not p

lunar kelp
#

okk

brisk brookBOT
#

also a reboot should unmount Z

❱❭ Hemant ❭❱ ↩️

[Reply to:](#1380463624103133235 message) okk

lunar kelp
#

ig I would reboot then

#

since it also didn't work

brisk brookBOT
#

windows is particularly annoying to administer

lunar kelp
#

T-T

lunar kelp
#

hey

#

how to

#

not have this

#

since its kinda annoying to see every day

#

it was never before ever

#

@Sparkles @ Namsis

strange mulch
#

@lunar kelp why are you removing arch?

lunar kelp
brisk brookBOT
#

wait

❱❭ Hemant ❭❱ ↩️

[Reply to:](#1380463624103133235 message) since its kinda annoying to see every day

#

do the same mountvol /s command

lunar kelp
#

mountvol Z: /d
worked βœ…

brisk brookBOT
#

did you succeed in nuking arch altogether by now

❱❭ Hemant ❭❱ ↩️

[Reply to:](#1380463624103133235 message) mountvol Z: /d
worked βœ…

strange mulch
#

... solved

dusty eagleBOT
#

#9742 πŸ“£ If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

lunar kelp
#

see this

#

[Solved] Removing arch linux from dual boot

#

[SOLVED] Removing arch linux from dual boot

#

thanks to everyone who all helped..