#Dual booting with different harddisks.

39 messages · Page 1 of 1 (latest)

manic finch
#

I want to have two OS:ess one is arch (btw) and the other i want to be win10-11. I have already got another empty disk for putting it on. I think I got the knowlage but I do not want to find out I don't when it is too late.

I want to select which one to boot with grub and the hardisk is 120GB.
And to clarify I have arch already set up and done. Jus' need windows for some windows specific shtuff!

steel portal
#

that's the exact setup i have, arch in a disk and windows in the other, heres how i did it

install linux first, set up grub and everything

with the linux disk disconnected install windows, it will install in the only drive on the computer and setup it's bootloader and stuff

back onto linux mount the windows boot partition anywhere and install os-prober

redo grub config, it will find windows and add it automatically

#

.aw dual boot with windows

steel portal
#

you will need ntfs-3g and os-prober

#

with them in separate drives it's very easy since you can just disconnect one

manic finch
lost finchBOT
#

quollveth received a thank you cookie!

manic finch
#

And I'm having problem getting a bootable USB

#

with win

#

dows

steel portal
#

the wiki has the commands, I'm not on my pc rn so I can't check the actual things easily

manic finch
#

mm

#

I'm kind of new to his atm. Would you be so kind and get back to me later when you are on your computer?

#

Also the bootable USB

#

I tried a tutorial but all of them start on windows

frosty bison
#

Im stuck at the same step for a whole day, so im interested too

manic finch
#

yah

steel portal
#

so these are my drives
you can see nvme0n1 has 3 partitions, efi, swap and some other stuff, that's my linux install
sbd has 3 partitions as well, but isn't mounted, that's my windows install in a separate drive

#

sdb1 is the windows bootloader, the 100mb one
this can be confirmed by running blkid and seeing it has the EFI system partition label

#

so all i have to do is mount the windows efi partition somewhere, like /mnt/winboot

#

install the os-prober package and run the grub config

#

it automatically finds windows and adds it to the settings

#

see how it says 'Found Windows Boot Manager'

#

so now when i boot grub will have the options to boot into arch or boot into windows

#

@manic finch

frosty bison
#

Mine detect the window EFI file and boot into it

#

But the second reboot the file somehow is deleted and not found

#

I have to remount in linux and then reboot for it to work

manic finch
lost finchBOT
#

quollveth received a thank you cookie!

manic finch
#

ge those cookies

frosty bison
steel portal
#

yes unless you add it to your fstab the system won't know it needs to mount it, and you don't have to, it only needs to be done once

#

you may want to mount the windows data partition, in my example it is sdb3, if you want to share data, but it's also not needed, i didn't

frosty bison