#[SOLVED] How to have Windows in grub menu

177 messages · Page 1 of 1 (latest)

minor warren
#

.s litany

vagrant wadiBOT
# minor warren .s litany

Please follow the Standard Litany when asking a question:
What was your environment? What was your operating system, configuration?
What did you do? What did you run or test? Where?
What actually happened? What were the exact results, complete log contents, exact error messages?
What did you expect? What were you aiming to achieve? What result were you looking for?

Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.

Also see this similar guide on how to ask smart questions.

minor warren
#

.aw os-prober

vagrant wadiBOT
minor warren
#

.aw grub

vagrant wadiBOT
pearl whale
minor warren
#

.aw dual boot

vagrant wadiBOT
minor warren
#

Be sure you have os prober installed

pearl whale
#

Installing Arch on an Apple computer?

#

Wat

minor warren
pearl whale
#

I clicked on the link

pearl whale
minor warren
minor warren
vagrant wadiBOT
minor warren
pearl whale
#

Emm
Ok
Sounds simple
Except that I need to check how to mount

vagrant wadiBOT
pearl whale
#

Mhm

minor warren
#

It's not that hard

pearl whale
#

This confuses me
Am I simply supposed to run mount /dev/<the name of the drive>?

minor warren
pearl whale
#

I don't think I have a file manager

minor warren
#

Even gparted/gnome disks tool can mount it

pearl whale
#

I didn't install one

pearl whale
minor warren
pearl whale
#

Don't I have to tell what drive somewhere?

minor warren
#

Ofc you have

pearl whale
#

Where?

minor warren
#

That's up to your drive layout

pearl whale
#

What do you mean?

minor warren
#

.aw dual boot

vagrant wadiBOT
pearl whale
#

I thought I could simply run a command and put nvme1n1 in it
Or nvme1n1p1, nvme1n1p2, nvme1n1p3 and nvme1n1p4
(My windows drive and it's partitions)

minor warren
#

Just edit grub config then update it

#

.aw grub

vagrant wadiBOT
pearl whale
#

I'm so confused now

#

I thought I was supposed to mount the drive

#

And I already edited the grub config

minor warren
#

Just update your grub config after enabling os prober

#

That should do it

pearl whale
#

Isn't it in the grub config that you enable the os prober?

minor warren
#

You have to do what the wiki says on grub article

#

.aw grub detecting other

vagrant wadiBOT
pearl whale
#

I remember having to go in the grub config and write or uncomment
Disable os prober = false or something like that

pearl whale
#

But that was a few days ago

#

Well yeah

minor warren
pearl whale
#

But I didn't know I had to install os prober
I thought it was part of grub

minor warren
#

Lol nope

pearl whale
pearl whale
#

Yes

minor warren
pearl whale
#

How?

#

Do you mean saving it?

#

ctrl+o?
In nano

minor warren
pearl whale
#

Ok

#

How

minor warren
# pearl whale How

You did sudo nano /etc/default/grub
Now after editing OS prober config inside grub config, run
sudo grub-mkconfig -o /boot/grub/grub.cfg then reboot to see changes

pearl whale
#

Ok

minor warren
pearl whale
#

Ok so no need to mount anything even though what you sent me told me to

short kettle
#

.aw grub

vagrant wadiBOT
short kettle
#

the steps are under detecting other operating systems

#

sounds like you already got it but just ping me if you don't

pearl whale
#

Ok

#

Tnx

pearl whale
#

Sorry I'm forced to try to repair a wash machine older than me even though I don't think I can fix it

#

Which means I haven't dons it yet

#

And I'm generally trying to do a lot of stuff at the same time right now

short kettle
#

oof

#

good luck

pearl whale
#

Tnx

minor warren
#

Same with reboot

pearl whale
#

But if I'm not near to my pc it's going to be hard to run a command

#

Especially on the other side of the Appartment

short kettle
#

lmao

pearl whale
#

Ok I'm rebooting

#

And there is only arch, arch advanced options and firmware settings

#

Ok so I read the wiki

#

And I did everything except mount the partition windows is on

pearl whale
minor warren
pearl whale
#

I did all that

#

I'll check if acer changed my firmware settings again
But probably not because otherwise the drives wouldn't show with lsblk

minor warren
pearl whale
#

My settings are fine

#

Any ideas?

#

How to have Windows in grub menu

vapid bear
#

do ur drives show up on lsblk?

#

if not could i see the settings related to drives in ur firmware? I had that happen once due to a firmware setting

minor warren
#

@pearl whale :this:

pearl whale
pearl whale
vapid bear
#

just making sure because i couldnt tell

pearl whale
#

(and sorry for the late reply, I didn't get pinged somehow)

vapid bear
#

well i didnt ping u so that's probably why

pearl whale
vapid bear
#

oh

#

so what's the output of the command that regenerates the grub config?

pearl whale
#

idk

#

nothing special

#

wait I'll go back into arch

#

And I'm in

#

How do I regenerate it?

#

I don't remember

#

Wait found it

#

Everything looks normal to me

#

No error messages or anything

#

Half of it is german so idk if making a picture of my screen would help

#

I think I should change the lange back to English later

vapid bear
pearl whale
#

Btw I just noticed that it says os-prober is used to check for other bootable partitions

vapid bear
#

u can boot into windows through the windows bootloader right?

pearl whale
#

Yes

vapid bear
#

might as well try mounting the windows boot partition then

pearl whale
#

How?

vapid bear
#

u can find the partition through lsblk

pearl whale
#

Yes

#

But how do I mount it?

vapid bear
#

mount /dev/<name of drive from lsblk> /<mountpoint>

pearl whale
#

What is the mountpoint?

#

And what partition is it?

vapid bear
pearl whale
vapid bear
#

it could really be anywhere but /mnt is kinda like a "designated place"

pearl whale
#

Ok

#

Now how do I know what partition is the boot partition?

vapid bear
#

find it using lsblk

pearl whale
#

I know how to use lsblk but that doesn't tell me which one is the boot partition

#

It only lists them to me and tells me how much storage they have

vapid bear
#

do you know which drive windows is on?

pearl whale
#

Not if it's a windows boot partition or whatever

pearl whale
#

And asked which one is the right one

pearl whale
vapid bear
#

ah i cant rlly tell either tbh
lsblk -a will give a more detailed output

pearl whale
#

Nope

#

It's the exact same

vapid bear
#

oops wrong one

#

lsblk -f?

pearl whale
#

Ok yeah that gives me new info

vapid bear
#

yea it's probably nvme1n1p1 then

pearl whale
#

Could you tell me how you know?

#

Pls

vapid bear
#

FAT32 file system and ESP partition type are all things a UEFI boot partition usually has

pearl whale
#

Ok

vapid bear
#

so mount that and try to regenerate the grub config

#

ill be back in a little bit

pearl whale
#

Ok

#

Windows boot manager is there now

vapid bear
#

great

pearl whale
#

Nice, thank you

#

So I did need to mount the partition

#

Now ima check my internet speeds and complain to my provider because this isn't normal lol

vapid bear
#

alr good luck with that

pearl whale
#

Thanks