#[SOLVED] How to have Windows in grub menu
177 messages · Page 1 of 1 (latest)
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.
.aw os-prober
.aw grub
The thing I enabled
.aw dual boot
Read grub wiki entry. It tells how to fix it. Same with dual boot
Be sure you have os prober installed
What? Just read archwiki grub page
I clicked on the link
This one
Wrong one
.aw grub
Emm
Ok
Sounds simple
Except that I need to check how to mount
.aw mount
Mhm
It's not that hard
This confuses me
Am I simply supposed to run mount /dev/<the name of the drive>?
Or you can use your file manager to mount it
I don't think I have a file manager
Even gparted/gnome disks tool can mount it
I didn't install one
But is that the correct command or not?
You can do mount /dev/sdX /mnt/mountingpoint
Don't I have to tell what drive somewhere?
Ofc you have
Where?
That's up to your drive layout
What do you mean?
.aw dual boot
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)
Os prober should auto detect your windoz drive
Just edit grub config then update it
.aw grub
I'm so confused now
I thought I was supposed to mount the drive
And I already edited the grub config
No need based on dual boot article
Just update your grub config after enabling os prober
That should do it
Isn't it in the grub config that you enable the os prober?
Wdym
You have to do what the wiki says on grub article
.aw grub detecting other
No results found
I remember having to go in the grub config and write or uncomment
Disable os prober = false or something like that
You saved the changes?
Then update grub config
But I didn't know I had to install os prober
I thought it was part of grub
Lol nope
Update it?
You have to install it
Yes
You have to update grub config after editing it
Idk if you used vim or nano, but after editing grub config and saving it you have to update grub config to appt the changes
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
Ok
That should make windoz appear in your grub menu
Ok so no need to mount anything even though what you sent me told me to
.aw grub
the steps are under detecting other operating systems
sounds like you already got it but just ping me if you don't
Did it work?
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
Tnx
That command should take only a min
Same with reboot
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
lmao
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
Is this what I'm supposed to run?
Strange. Uncommenting os prober and having it installed should do the trick. Also updating grub config
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
@short kettle time to help you. It works ootb on my end
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
@pearl whale :this:
yes
I know, that's why like I said, I checked my firmware setting
and they are fine
just making sure because i couldnt tell
(and sorry for the late reply, I didn't get pinged somehow)
well i didnt ping u so that's probably why
but they did
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
can i see it anyways? idk german but maybe something can help
Btw I just noticed that it says os-prober is used to check for other bootable partitions
yea that's what I wanted to see
u can boot into windows through the windows bootloader right?
Yes
might as well try mounting the windows boot partition then
How?
u can find the partition through lsblk
mount /dev/<name of drive from lsblk> /<mountpoint>
just a folder where u mount the drive to
And in this case? What folder do I need to mount this to?
it could really be anywhere but /mnt is kinda like a "designated place"
find it using lsblk
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
do you know which drive windows is on?
Not if it's a windows boot partition or whatever
Yes
I literally sent a picture of the 4 partitions in that drive
And asked which one is the right one
Here
ah i cant rlly tell either tbh
lsblk -a will give a more detailed output
yea it's probably nvme1n1p1 then
FAT32 file system and ESP partition type are all things a UEFI boot partition usually has
Ok
great
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
alr good luck with that
Thanks