My operating system is windows 10 which is in sda2 partition. I have installed xubuntu as another OS. grub is showing that windows 10 is in sda1. So when i press enter on windows 10 loader dev/sda1 then it is not opening. a grub rescue mode is opened up because windows 10 is in sda2 partition...how to fix it from xubuntu ...i have no windows 10 installation disk. Please help me..thank you
Hi there.
1) Download the windows media creation tool from Ms and make either an ISO or USB -- USB is better if your machine boots from a USB.
2) Boot the install media created.
3) at the prompt chose REPAIR your system and follow the instructions.
Note - the repair will probably wipe GRUB off the partition so you'll have to re-install Linux (or at least GRUB again) if you want to keep using it.
Cheers
jimbo
here is a good guide to Repair Master Boot Record (MBR) in Windows 10 / 8 / 7
Hi there
While in theory a good suggestion - in this case it won't work --since if you UNDERSTOOD what the OP's problem actually was or at least what he posted was :
1) Couldn't boot windows (GRUB problem)
2) He didn't have any windows install media
So how - and pray with what is the OP going to be able to issue those commands.
That's why I suggested he obtains the media device creator from Ms and creates a bootable install DVD or USB. Then you can get into command mode etc.
Cheers
jimbo
it was just some information for the mbr to be repaired if needed I thought would be helpful after if he sorted out what you suggested because it explains how to repair the mbr. I had the same issue and used the method on the link and it sorted it.
Hi there
Not intending to have a go at you of course and the suggestion was valid. However booting into an OS is the first requirement for doing any repairs of course !!!!.
Cheers
jimbo
I duel boot with th linux distros and have learnt to just unplug drives and plug in the drive you wish to instal the distro on before installing. and just set bios to boot in preferd operating system and when you wish to boot to other do it manually. grub is a nightmare.
I'm no Linux expert, but why couldn't the OP just edit the Grub entry for Windows 10 to point to the correct partition - like one would edit the BCD in Windows? Is there no program like EasyBCD for Grub, like an EasyGRUB?
Hi folks
Slightly OT but IMO here's a much safer way to boot Linux systems -- since on the whole the OS is much smaller and resource less hungry than Windows - why not install the Linux OS on an external USB 2 or even better a USB3 device and boot it when you want it -- Linux boots easily from external USB. If you've an old spare SSD connect a SATA-->USB2 or USB3 cable to it and plug into a USB 2 / 3 USB port.
Boot time is fast - especially with an SSD and you can get access to any of the internal HDD's these days with any decent distro just by clicking on the appropriate device -- depending on your GUI of course. Linux reads and writes NTFS these days -- no prob (warning --if you use CENTOS install NTFS-3g package though - most others have this already installed).
Then you will never hose up your internal HDD boot mechanism. When installing the Linux OS simply create a /boot mount point at installation time and tell the bootloader (GRUB) to install to it on the external device.
I always use this method to test Linux stuff when I need to try it on REAL hardware and with a Windows VM installed on the Linux external USD device also makes a good portable system. An old laptop HDD also makes a good external device for this if you haven't got a spare SSD -- same as before use SATA-->USB2 / USB3 adapter cable to plug into USB port.
(If you have an external sata connection on the PC -- even better !!!).
If you don't need the Linux system to run on real hardware installing in a VM is another solution - avoids dual booting at all.
Cheers
jimbo