case310350
New Member
I loaded windows on the m2 ssd. like to load linux on the second external drive. I do not want to pull the m2 drive . looking for a way to bypass the m2 when needed
You shouldn't have to pull the m2.I loaded windows on the m2 ssd. like to load linux on the second external drive. I do not want to pull the m2 drive . looking for a way to bypass the m2 when needed
sudo update-grub
grub-mkconfig -o /boot/grub/grub.cfg
May not even have to go that far, although it will work.
What Linux distro and version are you considering, @case310350 ?
Chances are you can choose within the installation process to install it on the second drive, and then during the installlation it will run os-prober, detecting what is on the other drive, and generate a Grub Menu.
When you reboot, the Grub Menu will have Linux on top of it, and a reference further down on Windows Boot Manager, which is your entry to Windows.
HTH
Chris Turner
wizardfromoz
The only problem I have with that is one is an external drive. In my mind I figured It might get removed. I'm not sure if linux wasn't installed second that grub would be installed on the second drive. The thought of merely taking the windows drive offline while installing linux on the external drive would allow for that drive to be removed at anytime without hosing things up. Boot order would take care of the situation. I would also say if its a windows OS using some flavor of bitlocker that you decrypt first temporarily if you are dual booting. I just went through a dual boot exercise a few months ago and ran into all kinds of interesting issues. I would suggest anyone doing this walk through a few different tutorials just so they know some of the things they may run into.May not even have to go that far, although it will work.
What Linux distro and version are you considering, @case310350 ?
Chances are you can choose within the installation process to install it on the second drive, and then during the installlation it will run os-prober, detecting what is on the other drive, and generate a Grub Menu.
When you reboot, the Grub Menu will have Linux on top of it, and a reference further down on Windows Boot Manager, which is your entry to Windows.
HTH
Chris Turner
wizardfromoz