I installed Ubuntu 18.04.01 LTS alongside Windows 10 but GRUB doesn't have an option to boot Windows.  When I hold shift to bring up GRUB there is no option for Windows 10.  I tried to boot to the Windows drive from BIOS and it just opened GRUB and booted Ubuntu instead, so then I used boot-repair to restore the MBR and booted straight to the Windows drive and it said, "Operating System not found".    This answer recommended creating a custom entry at /etc/grub.d/11_windows using this code:  #! /bin/sh -e echo "Adding Windows" &gt;&amp;2 cat &lt;&lt; EOF menuentry "Windows 10" { insmod ntfs insmod chain insmod drivemap set root=(hd0,1) drivemap -s (hd0) (hd1) chainloader +1 } EOF   When I loaded it from GRUB it said something like, "error: invalid signature".  Since none of that worked I used boot-repair's recommended repair and now it's back to booting Ubuntu when I try to boot the Windows drive.  Here's the pastebin it generated:   Sorry if this seems like a duplicate question, but I've tried all of the answers I can find, and none of them have worked.  Update  I can't find them all but here's a few of the answers that I have tried:   (When I loaded this answer from GRUB it said something like, "error: invalid signature".)   (This issue isn't exactly the same as mine, my Windows drive is not empty from Ubuntu. But update-grub didn't change anything when I rebooted.)   (os-prober gave no response when I used it here. Then update-grub didn't change anything.)   (The approved answer didn't work for me, I think because my PC isn't running UEFI. Karel's suggestion to use boot-repair to fix Windows boot files didn't work either, it still boots into GRUB with no Windows option when I load either hard drive.)   (When I make and load a custom entry, like in this answer, it says, "error: file "/bootmgr" not found".) Here is the code I used at /boot/grub/custom.cfg:  menuentry "Windows 10" --class windows --class os {    insmod ntfs    search --no-floppy --set=root --fs-uuid 4A42271C42270C6F    ntldr /bootmgr }   Update 2  I loaded up the Windows Recovery drive and tried the following:  C:  Bootrec /fixmbr “This operation completed successfully.”  Bootrec /fixboot “The volume does not contain a recognized file system.”  Bootrec /rebuildbcd “Scanning all disks for Windows installations. Total identifies Windows installations: 1 [1] C:\windows Add installation to boot list?” Yes “This volume does not contain a recognized file system.”  bcdedit “The boot configuration data store could not be opened. The system cannot find the file specified.”    I found this forum where they seem to be having a similar issue, and recommend using “chkdsk C: /r” so I tried that and it returned:  “Windows has scanned the file system and found no problems.”
I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back?
Website with a collection of sci fi stories set in the same universe; powerful AIs being regarded as Gods, one named Gaia, and a "technopocalypse" There is a site with lots of stories all set in a future with super powerful AIs regarded as Gods, the most powerful being matrioshka brains. They have a specific terminology but I can't remember their names. Earth has been converted into a similiar godlike computer called "Gaia" and has expelled all humans creating a dystopian exodus across the solar system. And something about rogue Von Neumann machines causing a huge crisis dubbed the "technopocalypse". To do a patch manually I must type this command   sudo ./playback_delete_data_patch.sh 09_delete_old_data_p.sql     There is a space just before the 09:   sudo ./playback_delete_data_patch.sh [space] 09_delete_old_data_p.sql   How can I run this inside a script?  There are also several other commands but this one is giving trouble. Maximum value of $\sin A+\sin B+\sin C$? How to prevent search engines from indexing a single page of my website? How can I develop for iPhone using a Windows development machine? Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows?  The only other way I can think of doing this is to run a Mac VM image on a VMWare server running on Windows, although I'm not too sure how legal this is. Expected Value of Max of IID Variables What is the expected value of the maximum of 500 IID random variables   with uniform distribution between 0 and 1?   I'm not quite sure of the technique to go about solving something like this. Could anyone point me the right direction?  Thanks Is there an alternative to DVD-Shrink, that can compress a DVD image to a smaller size to fit on a writeable DVD? Is there a linux alternative to the Windows application DVD-Shrink, that can compress a DVD image to a smaller size to fit on a writeable DVD?  In backing up some DVD's the ripped ISO file size is over 7000MB is there an alternative linux software, similar to Windows "DVD Shrink" that can compress this to fit on a writeable DVD which is about 4000MB Help removing subsection and subsubsection numbers from Table of Contents TOC Hello I am trying to further modify my TOC.  I got an answer  as to how I could remove the \section numbers on the left side of the TOC and now I would like to expand that.  I would like to remove the left-hand numbering for \subsection and \subsubsection as well but I do not know how.  (I also want to keep these numbers out of the document and I am using \def\sectionformat{} to do that)  Also, my TOC is slightly over one page and so I would like to adjust the spacing from 2 to 1.5,  is there any way to do this?    \documentclass[12pt, a4paper, twoside]{article}     \usepackage{baskervald}     \usepackage[margin=1in,bindingoffset=15.5mm,heightrounded]{geometry}     \usepackage[T1]{fontenc}     \usepackage[notes]{biblatex-chicago}     \usepackage{filecontents}     \usepackage{microtype}     \usepackage{url}     \usepackage{makeidx}     \usepackage{indentfirst}     \usepackage{setspace}     \usepackage{chngcntr}\counterwithin*{footnote}{section}     \newcommand*{\textsubscript}[1]{$#1{}$}     \DefineBibliographyStrings{english}{references = {Works Cited}}     \DeclareBibliographyCategory{primary}     \makeindex     \addbibresource{bibliography.bib}     \makeatletter     \let\latexl@section\l@section     \def\l@section#1#2{\begingroup\let\numberline\@gobble\latexl@section{#1}{#2}\endgroup}     \def\@seccntformat#1{\ifcsname #1format\endcsname\else\csname the#1\endcsname\quad\fi}     \def\sectionformat{}     \def\subsectionformat{}     \def\subsubsectionformat{}     \makeatother     \author{}     \title{\vspace*{36 pt}\textbf{\emph{\Huge{Big Important Title}}}\vfill}     \date{}     \begin{document}     \tableofcontents     \section{Part I}     Hello World     \end{document} Resizing Mac OS partition - macOS High Sierra Equation with high exponents Solving the complex equation $\sin(z) = \cos(z)$ To find the complex numbers z satisfying $\sin(z) = \cos(z)$, can I say: $$\sin(z) = \frac{(e^{iz}-e^{-iz})}{2i}=\frac{(e^{iz}+e^{-iz})}{2}$$   and solve for z? So we then reduce this to $$-e^{-iz} = e^{-iz}$$ but this doesn't look right Uniformly Continuous Function sending Bounded Set to Unbounded One Let $(X,d)$ and $(Y,\rho)$ be metric spaces, and let $f: X \to Y$ be a uniformly continuous function. If $A \subset X$ is bounded, must $f(A) \subset Y$ be bounded?  It is clear to me that in metric spaces that satisfy the Heine-Borel property, such as $\mathbb{R}^{n}$, the answer to this question is yes. However, I can see no reason why this should hold for arbitrary metric spaces. Any ideas? Thanks! How can I find the location of an icon of a launcher in use? Why isn't an upgrade to 20.04 from 18.04 available yet? How can I get a new browser session when opening a new tab or window on Firefox/Chrome? When opening new Internet Explorer window, a new browser session is issued. Therefore you can login with two different accounts on the same service (let's say ). The same does not apply when opening a new tab in the same window in Internet&nbsp;Explorer.  How can I get a new browser session when opening a new tab or window on Firefox?  How about Google Chrome? In Terraria, is there an order in NPC appearance in addition to the minimum requirements for each one? I noticed a strange thing about Demolitionist that I do not see mentioned on .  Practically on my world I created immediately a good number of houses with  needed to accommodate an NPC.  The first NPC that arrived was the Nurse. Then I found many bombs but Demolitionist never came. He arrived just immediately  Merchant came, when I finally got the 50 silver coin needed for him.  Is this behavior correct? Is there and order in NPC appearance in addition to the minimum requirements for each one? Using echo "20+5" literally produces the text "20+5".  What command can I use to get the numeric sum, 25 in this case?  Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(.  I am looking for answers using either the basic command shell ('command line') itself or through using languages that are available from the command line. How to install .bundle packages in Ubuntu? "would rather" + subject + past subjunctive What is the difference between:   The company would rather each employee be provided with ID card.  The company would rather each employee were provided with ID card. I really enjoyed that site. I've only posted on it once, but I enjoyed seeing other people's posts and appreciated reading about entrepreneurial dilemmas.