# \[SOLVED\] ubuntu and win 10

**URL:** <https://onehack.st/t/solved-ubuntu-and-win-10/58059>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [September 18, 2019, 2:33pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059 "2019-09-18T14:33:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 18, 2019, 2:33pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/1 "2019-09-18T14:33:06Z")

</div>

hi all 🙂  
i install ubuntu and use it for some months then i install win 10 on ubuntu but when i run the laptop win10 automatic run and i can’t access ubuntu os  
thank you

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 18, 2019, 2:37pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/2 "2019-09-18T14:37:34Z")

</div>

Hold on a second, You installed Windows 10 On Ubuntu as In?

1. Didn’t you Clean install windows 10?
2. If not then did your machine have dual Boot option, I mean it can run 2 OS’es?
3. If yes, then you must See the option to Run windows or Ubuntu at Boot-up, if there is no option then Probably you did what I have mentioned in number 1.

Kindly clarify. because when you’re looking for help you better Explain what have you done and what you’re looking for. Proceed…

---

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 18, 2019, 2:45pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/3 "2019-09-18T14:45:58Z")

</div>

if i understand your first note \> i install win 10 and work on it but after i install it the option of select ubuntu or win 10 isn’t appear now

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 18, 2019, 2:48pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/4 "2019-09-18T14:48:53Z")

</div>

> [@mohammed98](#):
>
> the option of select ubuntu or win 10 isn’t appear now

Let’s make it simple \> Did you Formatted and Installed the Windows 10 on the same Partition where Ubuntu was Installed recently?

---

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 18, 2019, 2:56pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/5 "2019-09-18T14:56:10Z")

</div>

no , i install win 10 on specific partition c: , and i don’t change any partitions of ubuntu

 ![Capture](https://onehack.st/uploads/default/original/3X/2/b/2bf6a32d9fa095631f666ee1ca387398f8af0cbe.png)

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 18, 2019, 3:05pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/6 "2019-09-18T15:05:27Z")

</div>

**Ubuntu** (Linux) is an operating system - **Windows** is another operating system… they both **do** the **same** type of work on your **computer** , so you **can**'t really **run** both a once. However, it’s possible to set-up your **computer** to **run** “dual-boot”. … At boot-time, you **can** choose between **running Ubuntu** or **Windows**. Go to the Bios and see under Boot option if your system have Dual boot option in it. Enable and try again. If the option not there, then I cannot run Ubuntu and windows 10 separately.

And If you want to run Ubuntu on windows 10 then Try Virtualbox, or VMPlayer to do the deed.

---

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 18, 2019, 3:08pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/7 "2019-09-18T15:08:47Z")

</div>

ok thanks i will check the bios ,  
thank you mr sam 🥰

---

<div class="post-metadata">

**Author:** ![G\_SHOCK](https://onehack.st/user_avatar/onehack.st/g_shock/32/23892_2.png) [@G\_SHOCK](https://onehack.st/u/G_SHOCK)\
**Post date:** [September 18, 2019, 5:33pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/8 "2019-09-18T17:33:13Z")

</div>

Try this steps

1. Run Command Prompt in administrator mode
2. Copy and paste the command **bcdedit /set {bootmgr} path EFIubuntugrubx64.efi**  
3.Press **enter**  
4.restart the pc

---

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 18, 2019, 6:12pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/9 "2019-09-18T18:12:27Z")

</div>

Thanks @G_SHOCK

@mohammed98 don’t get confused, this command will set the dual boot (if available) Here’s the Proper command to revert it back if the set command not works:

```auto
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

```

You don’t need to enter a password or anything like that. The command should run just fine given that your account has admin rights.

Restart and you’ll be welcomed by the familiar Grub screen. I hope this quick tutorial helped you to fix the Grub issue.

### It did not work?

If the above entry didn’t change anything, you can reverse it using the command below:

```auto
bcdedit /deletevalue {bootmgr} path \EFI\ubuntu\grubx64.efi

```

Even if the above command didn’t work, try the command below to set the boot back to Windows.

```auto
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi

```

If you are not able to boot into Windows installation, plug in the Windows installation disk and there you’ll have access to the command prompt.

Good luck!

---

<div class="post-metadata">

**Author:** ![G\_SHOCK](https://onehack.st/user_avatar/onehack.st/g_shock/32/23892_2.png) [@G\_SHOCK](https://onehack.st/u/G_SHOCK)\
**Post date:** [September 18, 2019, 6:30pm UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/10 "2019-09-18T18:30:35Z")

</div>

Thanks @Aina for correct the steps right

---

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 22, 2019, 7:03am UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/11 "2019-09-22T07:03:44Z")

</div>

thanks i access ubuntu , but win 10 don’t open so i come back and active c : partition from ubuntu os , i will plug the debian os , so laptop will read ubuntu os and show me Grub screen then i can choose win10 or ubuntu

---

<div class="post-metadata">

**Author:** ![goku\_pistol](https://onehack.st/user_avatar/onehack.st/goku_pistol/32/24327_2.png) [@goku\_pistol](https://onehack.st/u/goku_pistol)\
**Post date:** [September 22, 2019, 7:38am UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/12 "2019-09-22T07:38:18Z")

</div>

> [@mohammed98](#):
>
> but win 10 don’t open so i come back and active c : partition from ubuntu os , i will plug the debian os

??

If windows is not showing in the GRUB you can try following in terminal:  
`sudo os-prober`  
If windows entry is shown in output run following:  
`sudo update-grub`  
This should add windows to grub list

---

<div class="post-metadata">

**Author:** ![mohammed98](https://onehack.st/user_avatar/onehack.st/mohammed98/32/16672_2.png) [@mohammed98](https://onehack.st/u/mohammed98)\
**Post date:** [September 23, 2019, 11:06am UTC](https://onehack.st/t/solved-ubuntu-and-win-10/58059/13 "2019-09-23T11:06:38Z")

</div>

yes it finally work 😀😀😀 really thank you mr SAM , mr G\_SHOCK  
and mr gouku\_pistol very much ❤❤
