#[SOLVED] Trying to dualboot windows and arch linux

1 messages · Page 1 of 1 (latest)

swift turret
#

I should say that grub stopped loading after I used this command:

sudo mount /dev/nvme0xxx (windows efi) /mnt
#

I still hae a live USB with arch on it. I won't touch anything until someone is kind of enough to guide me through this.

#

I should say that I've already installed arch linux properly and sway and configured it all out, so it would be really nice if I could recover and get into grub somehow instead of having to wipe and restart

#

The only part I messed up was figuring out how to mount windows efi so grub could detect windows boot manager, that seemed to break it

#

and I think it's because I used /mnt instead of /boot/efi

trail stirrup
#

ok

#

dual booting with windows isnt as difficult as it can seem

#

first of all

#

will u use different disks for linux and windows or do u want to install them on the same disk

#

?

swift turret
#

I only have 1 ssd

#

so It would be the same one

trail stirrup
#

ok nice

#

first of all u need to boot into windows

#

and go to the disk manager

#

u can open it by pressing win + r

#

then type diskmgmt.msc

swift turret
#

okay let me clarify: I've done all of the steps you're about to mention, I've created a new partition, used rufus to get arch on my usb, installed arch linux, setup user and all of the things mentioned in thsi video here up to 18:16 https://www.youtube.com/watch?v=NxqU1G8hKWk

Dual Boot Arch Linux and windows 11/10 . Install Arch Linux With GUI alongside windows 11. This is a complete step by step tutorial of Arch linux installation 2024. This video shows you how to install Arch Linux With Plasma Desktop and dual Boot with windows 11. Using dual boot you can setup windows 11 and arch Linux on the same drive. #DualBo...

▶ Play video
trail stirrup
#

ok so u are quite done

#

then

#

what do u have left to do?

swift turret
#

almost, because grub didn't detect windows boot manager, so I tried the os-prober thing and uncommented something in a file

#

but it still wouldn't detect windows

trail stirrup
#

ahhh ol

#

ok

#

one sec

#

i cannot help a lot with the os prober cause i just do not use it

#

i prefer just selecting the OS with the boot menu in my uefi

#

i think its the best option cause it is just simple

swift turret
#

Fair enough, but now I have another problem which is that grub doesn't load

#

so if we can just fix that then I will also just stick to uefi

trail stirrup
#

ok i can help with that

trail stirrup
trail stirrup
#

it does not boot?

swift turret
#

so I'm only able to load into windows if I turn on safe mode or secure boot (whatever it's called)

#

and then I can use windows

dark moth
#

instead of 11 which requires secure boot

swift turret
#

yea fair not but the issue right now is still that grub doesn't load

#

what do you recommend?

swift turret
#

could you please read the entire thing I wrote above

#

if you intend to help atleast

dark moth
swift turret
#

after inserting that command yes

#

it's still in the BIOS settings

dark moth
swift turret
#

I can see it in the boot order part of the bios

#

is what I meant

#

but I cant actually boot into it

#

because it just crashes and sends me to diagnostics

dark moth
#

you can boot into a live cd and install

#

grub

swift turret
#

sure I can do that yea

#

but I would have to start from scratch then no?

#

wipe the partition

#

and reinstall arch?

dark moth
#

well I think this would be the best solution

swift turret
#

damn

#

unfortunate

#

well anything I should keep in mind to do this properly next time?

#

because I spent pretty much my entire day today trying to dualboot

dark moth
swift turret
#

yes, that's what I did initially and then I uncommented the line at the bottom of the grub config file

#

which still didn't detect windows boot manager

#

which led me to believe that the efi of windows wasn't mounted properly

#

for grub to detect it

#

so I used that command u see above

dark moth
swift turret
#

yes'

dark moth
#

in this case, you most likely did something wrong when installing it

swift turret
#

installing arch or ?

dark moth
#

yes

swift turret
#

you're probably right

#

but are there any guides you can recommend, I'm almost certain I did everything in accordance to the video I followed

dark moth
#

if you're having trouble installing arch properly because it's actually supposed to install, you might want to try a more user-friendly method

swift turret
#

you mean the script?

#

archinstall script?

dark moth
swift turret
#

what other ways are there?

#

that are user friendly?

dark moth
swift turret
#

not sure if it's userfriendliness I need or just a proper guide

dark moth
#

I think the graphical installer will install correctly

swift turret
#

Alright, I'll try this tomorrow, hopefully it works. This is also Arch Linux right?

dark moth
swift turret
#

Sounds good, thank you

swift turret
#

@dark moth after installing arch linux again using this gui, how would I configure dualbooting with os-prober?

#

is it just as simple as installing os-prober and running the command sudo grub-mkconfig -o /boot/grub/grub.cfg

dark moth
silver pagoda
#

grub found entry of windows already!? if yaa mark this as [SOLVED] - thanks:)

swift turret
#

nope, still struggling

#

anyone awake?

#

the acli didn't work unfortunately.

#

I'm getting "Failed to mount 'UUID***'"

swift turret
#

I'm trying to completely uninstall grub now but it's still in my bios

#

not sure why it's there

#

It's in the Boot Sequnce

#

Sequence*

#

Don't know how to remove it

spring river
#

i still have ubuntu in my boot menu from a long gone installation too

swift turret
#

Okay I found out you can delete them with Visual BCD

spring river
#

oh cool

swift turret
#

Do you know what this Arch Linux Calamares is?

spring river
#

nope

#

i don't use linux, i'm still on windows until moza racing, fanatec, and oculus support linux because i have $4k+ worth of sim racing hardware and vr headsets that aren't linux compatible

swift turret
#

I think I'll just drop dualbooting

#

and stick to arch linux

#

this is my 'play' laptop anyway

#

I just want to use it for pwn challenges