Dual Booting NixOS and Windows 10. Can it be done easily if NixOS is installed first?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have an SSD with NixOS installed on it and an HDD that is currently a LUKS encrypted data store. I want to put Windows 10 on part of the HDD.
Since I've already installed NixOS, does this work.
Usually, when I've done dual boots I remember installing Windows first.
I plan on referencing this.
https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows
Thanks.
dual-boot nixos
add a comment |Â
up vote
0
down vote
favorite
I have an SSD with NixOS installed on it and an HDD that is currently a LUKS encrypted data store. I want to put Windows 10 on part of the HDD.
Since I've already installed NixOS, does this work.
Usually, when I've done dual boots I remember installing Windows first.
I plan on referencing this.
https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows
Thanks.
dual-boot nixos
1
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools likeefibootmgr
can be used change the default bootmanager back tosystemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.
â Emmanuel Rosa
Apr 6 at 12:14
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an SSD with NixOS installed on it and an HDD that is currently a LUKS encrypted data store. I want to put Windows 10 on part of the HDD.
Since I've already installed NixOS, does this work.
Usually, when I've done dual boots I remember installing Windows first.
I plan on referencing this.
https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows
Thanks.
dual-boot nixos
I have an SSD with NixOS installed on it and an HDD that is currently a LUKS encrypted data store. I want to put Windows 10 on part of the HDD.
Since I've already installed NixOS, does this work.
Usually, when I've done dual boots I remember installing Windows first.
I plan on referencing this.
https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows
Thanks.
dual-boot nixos
asked Apr 2 at 20:14
David West
1155
1155
1
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools likeefibootmgr
can be used change the default bootmanager back tosystemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.
â Emmanuel Rosa
Apr 6 at 12:14
add a comment |Â
1
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools likeefibootmgr
can be used change the default bootmanager back tosystemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.
â Emmanuel Rosa
Apr 6 at 12:14
1
1
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools like
efibootmgr
can be used change the default bootmanager back to systemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.â Emmanuel Rosa
Apr 6 at 12:14
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools like
efibootmgr
can be used change the default bootmanager back to systemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.â Emmanuel Rosa
Apr 6 at 12:14
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You could install Windows and allow it to overwrite your boot partition.
Then you could use a NixOS live-cd to reinstall your NixOS bootloader.
Therefore first mount your system as you have done for installation to /mnt
. Then run nixos-install
again. Running nixos-install
is idempotent so your nixos install is not in danger - your system will be re-installed based on your configuration.nix. After that you should be able to append the windows bootloader as described in the wiki
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You could install Windows and allow it to overwrite your boot partition.
Then you could use a NixOS live-cd to reinstall your NixOS bootloader.
Therefore first mount your system as you have done for installation to /mnt
. Then run nixos-install
again. Running nixos-install
is idempotent so your nixos install is not in danger - your system will be re-installed based on your configuration.nix. After that you should be able to append the windows bootloader as described in the wiki
add a comment |Â
up vote
0
down vote
You could install Windows and allow it to overwrite your boot partition.
Then you could use a NixOS live-cd to reinstall your NixOS bootloader.
Therefore first mount your system as you have done for installation to /mnt
. Then run nixos-install
again. Running nixos-install
is idempotent so your nixos install is not in danger - your system will be re-installed based on your configuration.nix. After that you should be able to append the windows bootloader as described in the wiki
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You could install Windows and allow it to overwrite your boot partition.
Then you could use a NixOS live-cd to reinstall your NixOS bootloader.
Therefore first mount your system as you have done for installation to /mnt
. Then run nixos-install
again. Running nixos-install
is idempotent so your nixos install is not in danger - your system will be re-installed based on your configuration.nix. After that you should be able to append the windows bootloader as described in the wiki
You could install Windows and allow it to overwrite your boot partition.
Then you could use a NixOS live-cd to reinstall your NixOS bootloader.
Therefore first mount your system as you have done for installation to /mnt
. Then run nixos-install
again. Running nixos-install
is idempotent so your nixos install is not in danger - your system will be re-installed based on your configuration.nix. After that you should be able to append the windows bootloader as described in the wiki
answered May 22 at 14:39
Mic92
1612
1612
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f435122%2fdual-booting-nixos-and-windows-10-can-it-be-done-easily-if-nixos-is-installed-f%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
In the past with BIOS/MBR systems what would happen is Windows would override the Linux bootloader, which would have to be restored after the fact to boot Linux. With UEFI systems the same could happen, but tools like
efibootmgr
can be used change the default bootmanager back tosystemd-boot
. I had trouble setting the default on my system (Dell Latitude) so I installed rEFInd.â Emmanuel Rosa
Apr 6 at 12:14