Jump to content

Hi,

I recently installed kali Linux on a partition on the same hard dive that windows 10 is installed on. I hardly ever used it so I decided to delete it. I looked up how to do it properly online and I said to delete the kali partition and then to delete the partition grub is installed on. I did everything it said but when I rebooted I got (and still am) getting a grub rescue message. I then went into command prompt and typed this command "bootrec.exe /fixmbr” which was meant to fix the windows boot loader. Now I'm still getting the same rescue message and everything I've tried hasn't worked.

I'm going to try a clean install of windows 10 by creating installation media on a USB drive and I was wondering that if I do this will it remove everything from my hard drive (including grub) and all other partitions? If it does remove all the partitions will windows create a new recovery partition?

 

Any help would be greatly appreciated,

Thanks in advance.

Link to comment
https://linustechtips.com/topic/684124-help-removing-grub-bootloader/
Share on other sites

Link to post
Share on other sites

6 minutes ago, andrew.f said:

Hi,

I recently installed kali Linux on a partition on the same hard dive that windows 10 is installed on. I hardly ever used it so I decided to delete it. I looked up how to do it properly online and I said to delete the kali partition and then to delete the partition grub is installed on. I did everything it said but when I rebooted I got (and still am) getting a grub rescue message. I then went into command prompt and typed this command "bootrec.exe /fixmbr” which was meant to fix the windows boot loader. Now I'm still getting the same rescue message and everything I've tried hasn't worked.

I'm going to try a clean install of windows 10 by creating installation media on a USB drive and I was wondering that if I do this will it remove everything from my hard drive (including grub) and all other partitions? If it does remove all the partitions will windows create a new recovery partition?

 

Any help would be greatly appreciated,

Thanks in advance.

yea reinstalling windows should fix it, make sure to reformat the drive though.

Link to post
Share on other sites

8 minutes ago, andrew.f said:

Hi,

I recently installed kali Linux on a partition on the same hard dive that windows 10 is installed on. I hardly ever used it so I decided to delete it. I looked up how to do it properly online and I said to delete the kali partition and then to delete the partition grub is installed on. I did everything it said but when I rebooted I got (and still am) getting a grub rescue message. I then went into command prompt and typed this command "bootrec.exe /fixmbr” which was meant to fix the windows boot loader. Now I'm still getting the same rescue message and everything I've tried hasn't worked.

I'm going to try a clean install of windows 10 by creating installation media on a USB drive and I was wondering that if I do this will it remove everything from my hard drive (including grub) and all other partitions? If it does remove all the partitions will windows create a new recovery partition?

 

Any help would be greatly appreciated,

Thanks in advance.

go into windows recovery, command prompt and use bcdedit tool to recreate the bootstore and fix mbr and boot sectors

reinstall of windows not needed

Gravitation cannot be held responsible for people falling in love. How on earth can you explain in terms of chemistry and physics so important a biological phenomenon as first love? Put your hand on a stove for a minute and it seems like an hour. Sit with that special girl for an hour and it seems like a minute. That's relativity.

Albert Einstein

Link to post
Share on other sites

Once you get to the drive selection in the installer, just remove all the partitions on the drive and with all the space unpartitioned, click next. Windows will then create the partitions it needs automatically. If you want to nuke the disk beforehand, use the clean command in diskpart in the command prompt on the installer. So the command goes:

 

Diskpart

List disk

Select disk [the number of the correct drive here]

Clean

Exit

 

In case you have other drives in the computer, unplug them for the install. You see, the boot sector isn't guaranteed to be created on the same drive the OS will install on. And if an older bootsector is detected on the other drives, a new one won't be created at all.

Link to post
Share on other sites

3 minutes ago, ShadowPony said:

go into windows recovery, command prompt and use bcdedit tool to recreate the bootstore and fix mbr and boot sectors

reinstall of windows not needed

sorry, bcdedit works if in windows

bootrec is the tool to use in recovery

https://support.microsoft.com/en-us/kb/927392

Gravitation cannot be held responsible for people falling in love. How on earth can you explain in terms of chemistry and physics so important a biological phenomenon as first love? Put your hand on a stove for a minute and it seems like an hour. Sit with that special girl for an hour and it seems like a minute. That's relativity.

Albert Einstein

Link to post
Share on other sites

2 minutes ago, ShadowPony said:

go into windows recovery, command prompt and use bcdedit tool to recreate the bootstore and fix mbr and boot sectors

reinstall of windows not needed

thanks for your reply. is bcdedit a command or is it a tool I need to download?

 

Link to post
Share on other sites

Just now, andrew.f said:

thanks for your reply. is bcdedit a command or is it a tool I need to download?

 

bcdedit and bootrec come with windows; see my post above for a link to microsoft support that tells how to use it

Gravitation cannot be held responsible for people falling in love. How on earth can you explain in terms of chemistry and physics so important a biological phenomenon as first love? Put your hand on a stove for a minute and it seems like an hour. Sit with that special girl for an hour and it seems like a minute. That's relativity.

Albert Einstein

Link to post
Share on other sites

4 minutes ago, Naeaes said:

Once you get to the drive selection in the installer, just remove all the partitions on the drive and with all the space unpartitioned, click next. Windows will then create the partitions it needs automatically. If you want to nuke the disk beforehand, use the clean command in diskpart in the command prompt on the installer. So the command goes:

 

Diskpart

List disk

Select disk [the number of the correct drive here]

Clean

Exit

 

In case you have other drives in the computer, unplug them for the install. You see, the boot sector isn't guaranteed to be created on the same drive the OS will install on. And if an older bootsector is detected on the other drives, a new one won't be created at all.

thanks I will try this if ShadowPony's method doesn't work for me

Link to post
Share on other sites

1 minute ago, ShadowPony said:

bcdedit and bootrec come with windows; see my post above for a link to microsoft support that tells how to use it

sorry I didn't see your post when I typed my reply. I have already tried this command and it didn't work for me at all, so I think I might just try a clean install

Link to post
Share on other sites

1 minute ago, andrew.f said:

sorry I didn't see your post when I typed my reply. I have already tried this command and it didn't work for me at all, so I think I might just try a clean install

bootrec /fixmbr alone will not fix your problem

besides that you also need to run

bootrec /fixboot

and finally bootrec /rebuildbcd

if this doesn't work then you should reinstall

Gravitation cannot be held responsible for people falling in love. How on earth can you explain in terms of chemistry and physics so important a biological phenomenon as first love? Put your hand on a stove for a minute and it seems like an hour. Sit with that special girl for an hour and it seems like a minute. That's relativity.

Albert Einstein

Link to post
Share on other sites

1 minute ago, ShadowPony said:

bootrec /fixmbr alone will not fix your problem

besides that you also need to run

bootrec /fixboot

and finally bootrec /rebuildbcd

if this doesn't work then you should reinstall

yea all of the above have not worked for me, but I have just realised that when I installed kali linux first I had to turn off secure boot in the bios otherwise it would not let me boot onto the USB. I just tried turning secure boot back on to see what would happen and to me relief there was no grub rescue message, It just booted straight into window.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×