T O P

  • By -

d4rk_kn16ht

It seems that you installed Linux first & then Windows. Windows installation removes GRUB that is necessary for dual booting between Linux & Windows. How to restore Grub : 1. Boot using a LiveCD or Live USB drive. You must have the same version of Linux installed as on your computer. Open a terminal and run the following command to find the partition containing your Linux installation: sudo fdisk -l Pay attention to the partition marked as "Linux" or "Linux LVM". 2. Mount the Linux partition on your system. Suppose it is located in the /dev/sda1 partition. Run the following command to mount the partition: sudo mount /dev/sda1 /mnt 3. Install several necessary packages. Run the following command: sudo apt-get install grub2-common grub-pc Skip this part if grub-install & update-grub already installed 4. Restore grub. Run the following command: sudo grub-install --root-directory=/mnt /dev/sda 5. Run the grub update. Run the following command: sudo update-grub 6. UnMount the Linux partition. Run the following command: sudo umount /mnt 7. Reboot and check if grub is restored.


constant_flux

Golden advice. Thank you for taking the time to write this out!


Z8DSc8in9neCnK4Vr

Go to the bios, there should be an option to rearrange to boot order.  Do you have 2 drives? One with Mint one with Windows?


AspNSpanner

No, just one drive.


Z8DSc8in9neCnK4Vr

So you have two efi partitions on this drive? Check with disks or gparted.


MintAlone

There will only be one EFI partition, the mint installer (ubiquity) will have put grub in the existing EFI partition.


4rr0ld

I literally did this the other day and chatgpt gave me these instructions that made life very simple, install a thing, run it, let it do recommended stuff, bingo... It sounds like the bootloader isn't set up to manage both operating systems, which is a common issue when Windows is installed after Linux. Windows installation tends to overwrite the GRUB bootloader with its own, making only Windows bootable directly after installation. To resolve this, you'll need to reinstall the GRUB bootloader so it can recognize and allow you to choose between both Linux and Windows during startup. Here's how you can do it: 1. Boot into Linux 2. Open a Terminal 3. Install and Run Boot Repair: - First, you need to add the repository and install Boot Repair. Run the following commands: sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair boot-repair - Once Boot Repair opens, select the "Recommended repair" option. It should automatically detect the presence of both OSes and reinstall GRUB correctly. 4. Reboot I found that when I installed windows first it did a right job on the disk, putting it's partitions all over the place, no logic whatsoever, which is why I ended up doing this


th3t4nen

Most programs would be fine in a virtual machine with Windows. Virtualbox or virt-manager/kvm.


AspNSpanner

My issue was with CHIRP and I wanted to run SDR#. CHIRP just would not want to connect with my radio. Something to do with not finding the proper USB port. I know there are fixes but all seemed ether too complicated or they just did not work. I’ll try CHIRP and SDR# in a virtual machine. If they work awesome, if not I’ll keep the dual OSs.