#[SOLVED] Removing arch linux from dual boot
239 messages Β· Page 1 of 1 (latest)
what does efibootmgr output on arch
Disk 0 partition 5.. this one to remove right??
I closed arch.. π
Should I go back to it again??
Partition 5.. can I remove right now?
Or do something else first?
@Sparkles @ Namsis
remove the 300GB one
not now
you first need to remove the bootloader entry
what does efibootmgr output
Can I try this on windows 11?
Or login in arch
Ok just a sec
nvme0n1p4 is particularly scary
because it might or might not be shared with windows
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
Yes
Efibootmgr
I did
In konsole
@modest trout
stop pinging me
ππ€
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
Okk
after that, you can remove GRUB from your EFI System Partition (ESP) if you want, but I don't think it really matters
I did this
That it right??
ok, now run efibootmgr again to verify that it doesn't appear
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
Okk
actually,
Thanks
don't do that just yet
Means
Which partition 4??
in here
/boot one??
yes
that's the EFI System Partition that Linux is using
Oo
but it may or may not be seperate from the one Windows uses
So what to do?
if you check the contents of /boot, do you see anything related to windows in there?
Then
... 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
Okk thanks
if there is something related to windows it's in FS0:\EFI\Microsoft\
[Reply to:](#1380463624103133235 message) if you check the contents of /boot, do you see anything related to windows in there?
noted, thanks
I want to extend C: but can't
Since the unallocated one is not adjacent to it
What to do now
oops it's FS0:\EFI\BOOT\Microsoft
[Reply to:](#1380463624103133235 message) if there is something related to windows it's in FS0:\EFI\Microsoft\ π
this is windows territory now so I can't help much cause idk how to use windows
Okk
windows, unlike what we do with btrfs on linux, wont't let you virtually combine two non-adjacent partitions in one
[Reply to:](#1380463624103133235 message) this is windows territory now so I can't help much cause idk how to use windows
ah rip
you'll probably need to make sure partition 4 is safe to delete in that case
thats the ESP of Linux you were using
I suspect that Windows doesn't use that, but you should check to make sure
oh wait
Wait that's not visible in pic
no worries
then you can nuke one of the two
what you do now is doing mountvol /s Q: in an admin cmd
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
the one that does not get attached to a drive letter will be the linux ESP
[Reply to:](#1380463624103133235 message) what you do now is doing mountvol /s Q: in an admin cmd
How to make sure that?
Parameters incorrect
swap /s and Q
pick an unused drive letter of your choice
I usually use Q because that's what is unused on my system
z?
one of the two partitions should be assigned a letter now
can you at least dir Z:\
wait
the windows one is likely the first one
that is your ESP
you need to keep that one
does disk management show a partition attached to Z now
no
Z:/ which is showing here...
it was never like these ever...
I have installed deleted many time.. linux
but happened before
liek this
ya you want to delete the 4th partition
the first one belongs to windows
the fourth one belongs to linux
which one can i delete??
how
via file explorer
found none
then you can delete the fourth one
disk 0 partition 4.. right?
right.
they dont hold data
both partition 1 and partition 4 hold nothing that is not related to boot
oops.. can't
aw
T-T
diskpart should help
if you have sudo, sudo diskpart
if you dont have sudo, cmd as admin -> type diskpart
select disk 0
then
its just 300GB from the start of the drive
approximately 300 GB worth of partitions precede it
aaa
i dont know
unmount it
and in starting also.. there wasn't particular partion like this
it was to check which partition was used by windows and which one is not
okk
and you want to delete partition 4
[Reply to:](#1380463624103133235 message) you didnt delete part 4 by the way
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:/
mountvol /p Z: it should be
it's d not p
okk
also a reboot should unmount Z
[Reply to:](#1380463624103133235 message) okk
windows is particularly annoying to administer
T-T
hey
how to
not have this
since its kinda annoying to see every day
it was never before ever
@Sparkles @ Namsis
@lunar kelp why are you removing arch?
It's of zero use for me.. and I wanted to increase by windows 11 storage by 300gb which I allocated to arch linux when installing
wait
[Reply to:](#1380463624103133235 message) since its kinda annoying to see every day
do the same mountvol /s command
mountvol Z: /d
worked β
did you succeed in nuking arch altogether by now
[Reply to:](#1380463624103133235 message) mountvol Z: /d
worked β
yess
... solved
#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