Install linux mint debian along windows

Archived topics about LMDE 1 and LMDE 2
Locked
Fwission

Install linux mint debian along windows

Post by Fwission »

So I completed a mint debian install from my hardrive and it was pretty successful, I installed the boot loader to /boot and had a /. The problem came on reboot where my computer could not find ANY boot loader, giving me the generic Grub> This forced me to reinstall the windows boot loader. Is there any way I can get linux mint debian to boot alongside windows with either a mint loader or windows loader?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
hal8000
Level 4
Level 4
Posts: 436
Joined: Sun May 04, 2008 2:04 pm
Location: UK

Re: Install linux mint debian along windows

Post by hal8000 »

When you install grub in a boot partition, it still has to write the bootloader into the MBR. I think something went wrong
when you installed grub, so I'd reinstall it again.
User avatar
tdockery97
Level 14
Level 14
Posts: 5058
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: Install linux mint debian along windows

Post by tdockery97 »

Yes, if you want Grub to control all the booting on your computer, you need to install it to /dev/sda (which is where the MBR is located).
Mint Cinnamon 20.1
HughT

Re: Install linux mint debian along windows

Post by HughT »

You can re-install grub as follows: from a live CD

Code: Select all

sudo mount /dev/sdXY /mnt
replace X and Y with the appropriate drive and partition for Mint boot partition.

Code: Select all

sudo grub-install --root-directory=/mnt /dev/sdX
note - there's a gap between =/mnt and /dev, and no partition number after sdX
re-boot into Mint then

Code: Select all

sudo update-grub
Next time you turn on your PC you should see a grub screen giving the option of booting to Windows or Mint.
User avatar
xenopeek
Level 25
Level 25
Posts: 29595
Joined: Wed Jul 06, 2011 3:58 am

Re: Install linux mint debian along windows

Post by xenopeek »

Moved here by moderator. Reason: LMDE.
Image
Locked

Return to “LMDE Archive”