Stuck at Grub2 Prompt

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I have Windows XP installed in my system. For some work, I downloaded an ISO of the light version of Kali on a separate internal hard disk partition (G:) and installed Grub2 on the same drive to boot it from there (I had not yet booted Kali)



Now when I restart my computer, I get stuck at the Grub2 prompt and unable to do anything from here.



I would like to boot into my installed Windows and remove the Grub Bootloader. Any suggestions on how I can do that?



Edit: My disk drive is corrupted. Any methods relying on this won't be of much help.







share|improve this question





















  • GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
    – agc
    Apr 19 at 7:25










  • It shows just grub›
    – Yuzuriha Inori
    Apr 19 at 7:26










  • I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
    – Yuzuriha Inori
    Apr 19 at 7:28














up vote
3
down vote

favorite












I have Windows XP installed in my system. For some work, I downloaded an ISO of the light version of Kali on a separate internal hard disk partition (G:) and installed Grub2 on the same drive to boot it from there (I had not yet booted Kali)



Now when I restart my computer, I get stuck at the Grub2 prompt and unable to do anything from here.



I would like to boot into my installed Windows and remove the Grub Bootloader. Any suggestions on how I can do that?



Edit: My disk drive is corrupted. Any methods relying on this won't be of much help.







share|improve this question





















  • GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
    – agc
    Apr 19 at 7:25










  • It shows just grub›
    – Yuzuriha Inori
    Apr 19 at 7:26










  • I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
    – Yuzuriha Inori
    Apr 19 at 7:28












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I have Windows XP installed in my system. For some work, I downloaded an ISO of the light version of Kali on a separate internal hard disk partition (G:) and installed Grub2 on the same drive to boot it from there (I had not yet booted Kali)



Now when I restart my computer, I get stuck at the Grub2 prompt and unable to do anything from here.



I would like to boot into my installed Windows and remove the Grub Bootloader. Any suggestions on how I can do that?



Edit: My disk drive is corrupted. Any methods relying on this won't be of much help.







share|improve this question













I have Windows XP installed in my system. For some work, I downloaded an ISO of the light version of Kali on a separate internal hard disk partition (G:) and installed Grub2 on the same drive to boot it from there (I had not yet booted Kali)



Now when I restart my computer, I get stuck at the Grub2 prompt and unable to do anything from here.



I would like to boot into my installed Windows and remove the Grub Bootloader. Any suggestions on how I can do that?



Edit: My disk drive is corrupted. Any methods relying on this won't be of much help.









share|improve this question












share|improve this question




share|improve this question








edited Apr 19 at 10:31
























asked Apr 19 at 7:16









Yuzuriha Inori

1185




1185











  • GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
    – agc
    Apr 19 at 7:25










  • It shows just grub›
    – Yuzuriha Inori
    Apr 19 at 7:26










  • I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
    – Yuzuriha Inori
    Apr 19 at 7:28
















  • GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
    – agc
    Apr 19 at 7:25










  • It shows just grub›
    – Yuzuriha Inori
    Apr 19 at 7:26










  • I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
    – Yuzuriha Inori
    Apr 19 at 7:28















GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
– agc
Apr 19 at 7:25




GRUB starts in command line after reboot may help. Also, using the images in that question, please describe the grub2 prompt on your system, (i.e. does it say "grub_rescue", or is it some other prompt).
– agc
Apr 19 at 7:25












It shows just grub›
– Yuzuriha Inori
Apr 19 at 7:26




It shows just grub›
– Yuzuriha Inori
Apr 19 at 7:26












I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
– Yuzuriha Inori
Apr 19 at 7:28




I saw that, and it might have helped if I had a Linux system installed. But I have only Windows installed. So I can't boot into any Linux system like they say
– Yuzuriha Inori
Apr 19 at 7:28










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










  1. Insert your Windows XP USB or PXE and boot it

  2. Open the recovery console

  3. Type: fdisk /mbr

  4. Reboot

In recovery console, other options include:
Type 'help' for the commands that the RC can run.



  • Try 'fixboot'. This re-writes the boot record.

  • Try 'fixmbr'; again, this may damage a partition table that it doesn't understand, so be wary of taking this step... you may want to use this as a last resort and only if you have a single partition on the disk.

src: https://www.wikihow.com/Use-Windows-Recovery-Console-from-XP-CD






share|improve this answer























  • Same question. Do I get to keep my data or does it format the system?
    – Yuzuriha Inori
    Apr 19 at 10:27










  • Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
    – Mark Shine
    Apr 19 at 10:28










  • Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
    – Yuzuriha Inori
    Apr 19 at 10:30










  • If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
    – Mark Shine
    Apr 19 at 10:30










  • What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
    – Mark Shine
    Apr 19 at 10:31

















up vote
0
down vote













Boot from a Windows XP installation media and press R at the "Welcome" screen to get into Recovery Console. Then use the fixmbr command to overwrite Grub2 with the standard Windows MBR code.






share|improve this answer





















  • Would that format my system? I mean, would it delete my data? :|
    – Yuzuriha Inori
    Apr 19 at 7:29










  • No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
    – telcoM
    Apr 19 at 11:46










  • If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
    – ajeh
    Apr 19 at 15:05











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438660%2fstuck-at-grub2-prompt%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










  1. Insert your Windows XP USB or PXE and boot it

  2. Open the recovery console

  3. Type: fdisk /mbr

  4. Reboot

In recovery console, other options include:
Type 'help' for the commands that the RC can run.



  • Try 'fixboot'. This re-writes the boot record.

  • Try 'fixmbr'; again, this may damage a partition table that it doesn't understand, so be wary of taking this step... you may want to use this as a last resort and only if you have a single partition on the disk.

src: https://www.wikihow.com/Use-Windows-Recovery-Console-from-XP-CD






share|improve this answer























  • Same question. Do I get to keep my data or does it format the system?
    – Yuzuriha Inori
    Apr 19 at 10:27










  • Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
    – Mark Shine
    Apr 19 at 10:28










  • Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
    – Yuzuriha Inori
    Apr 19 at 10:30










  • If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
    – Mark Shine
    Apr 19 at 10:30










  • What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
    – Mark Shine
    Apr 19 at 10:31














up vote
1
down vote



accepted










  1. Insert your Windows XP USB or PXE and boot it

  2. Open the recovery console

  3. Type: fdisk /mbr

  4. Reboot

In recovery console, other options include:
Type 'help' for the commands that the RC can run.



  • Try 'fixboot'. This re-writes the boot record.

  • Try 'fixmbr'; again, this may damage a partition table that it doesn't understand, so be wary of taking this step... you may want to use this as a last resort and only if you have a single partition on the disk.

src: https://www.wikihow.com/Use-Windows-Recovery-Console-from-XP-CD






share|improve this answer























  • Same question. Do I get to keep my data or does it format the system?
    – Yuzuriha Inori
    Apr 19 at 10:27










  • Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
    – Mark Shine
    Apr 19 at 10:28










  • Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
    – Yuzuriha Inori
    Apr 19 at 10:30










  • If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
    – Mark Shine
    Apr 19 at 10:30










  • What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
    – Mark Shine
    Apr 19 at 10:31












up vote
1
down vote



accepted







up vote
1
down vote



accepted






  1. Insert your Windows XP USB or PXE and boot it

  2. Open the recovery console

  3. Type: fdisk /mbr

  4. Reboot

In recovery console, other options include:
Type 'help' for the commands that the RC can run.



  • Try 'fixboot'. This re-writes the boot record.

  • Try 'fixmbr'; again, this may damage a partition table that it doesn't understand, so be wary of taking this step... you may want to use this as a last resort and only if you have a single partition on the disk.

src: https://www.wikihow.com/Use-Windows-Recovery-Console-from-XP-CD






share|improve this answer















  1. Insert your Windows XP USB or PXE and boot it

  2. Open the recovery console

  3. Type: fdisk /mbr

  4. Reboot

In recovery console, other options include:
Type 'help' for the commands that the RC can run.



  • Try 'fixboot'. This re-writes the boot record.

  • Try 'fixmbr'; again, this may damage a partition table that it doesn't understand, so be wary of taking this step... you may want to use this as a last resort and only if you have a single partition on the disk.

src: https://www.wikihow.com/Use-Windows-Recovery-Console-from-XP-CD







share|improve this answer















share|improve this answer



share|improve this answer








edited Apr 19 at 10:37


























answered Apr 19 at 10:26









Mark Shine

559




559











  • Same question. Do I get to keep my data or does it format the system?
    – Yuzuriha Inori
    Apr 19 at 10:27










  • Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
    – Mark Shine
    Apr 19 at 10:28










  • Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
    – Yuzuriha Inori
    Apr 19 at 10:30










  • If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
    – Mark Shine
    Apr 19 at 10:30










  • What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
    – Mark Shine
    Apr 19 at 10:31
















  • Same question. Do I get to keep my data or does it format the system?
    – Yuzuriha Inori
    Apr 19 at 10:27










  • Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
    – Mark Shine
    Apr 19 at 10:28










  • Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
    – Yuzuriha Inori
    Apr 19 at 10:30










  • If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
    – Mark Shine
    Apr 19 at 10:30










  • What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
    – Mark Shine
    Apr 19 at 10:31















Same question. Do I get to keep my data or does it format the system?
– Yuzuriha Inori
Apr 19 at 10:27




Same question. Do I get to keep my data or does it format the system?
– Yuzuriha Inori
Apr 19 at 10:27












Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
– Mark Shine
Apr 19 at 10:28




Hello Yuzuriha Inori, No it will not delete your data. its repairing your grub master boot record which just is a tiny 1mb partition that says, go to your data on a different partition.
– Mark Shine
Apr 19 at 10:28












Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
– Yuzuriha Inori
Apr 19 at 10:30




Just one more thing. Can you please update the answer in favour of an USB boot rather than CD? I have a damaged CD drive, but can boot using a pd
– Yuzuriha Inori
Apr 19 at 10:30












If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
– Mark Shine
Apr 19 at 10:30




If you dont have a USB. you might need to PXE, the easiest solution is Cobbler.
– Mark Shine
Apr 19 at 10:30












What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
– Mark Shine
Apr 19 at 10:31




What are CD drives? USB is the only method I use if I dont have a PXE, (I have a home PXE ;) )
– Mark Shine
Apr 19 at 10:31












up vote
0
down vote













Boot from a Windows XP installation media and press R at the "Welcome" screen to get into Recovery Console. Then use the fixmbr command to overwrite Grub2 with the standard Windows MBR code.






share|improve this answer





















  • Would that format my system? I mean, would it delete my data? :|
    – Yuzuriha Inori
    Apr 19 at 7:29










  • No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
    – telcoM
    Apr 19 at 11:46










  • If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
    – ajeh
    Apr 19 at 15:05















up vote
0
down vote













Boot from a Windows XP installation media and press R at the "Welcome" screen to get into Recovery Console. Then use the fixmbr command to overwrite Grub2 with the standard Windows MBR code.






share|improve this answer





















  • Would that format my system? I mean, would it delete my data? :|
    – Yuzuriha Inori
    Apr 19 at 7:29










  • No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
    – telcoM
    Apr 19 at 11:46










  • If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
    – ajeh
    Apr 19 at 15:05













up vote
0
down vote










up vote
0
down vote









Boot from a Windows XP installation media and press R at the "Welcome" screen to get into Recovery Console. Then use the fixmbr command to overwrite Grub2 with the standard Windows MBR code.






share|improve this answer













Boot from a Windows XP installation media and press R at the "Welcome" screen to get into Recovery Console. Then use the fixmbr command to overwrite Grub2 with the standard Windows MBR code.







share|improve this answer













share|improve this answer



share|improve this answer











answered Apr 19 at 7:28









telcoM

10.4k11032




10.4k11032











  • Would that format my system? I mean, would it delete my data? :|
    – Yuzuriha Inori
    Apr 19 at 7:29










  • No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
    – telcoM
    Apr 19 at 11:46










  • If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
    – ajeh
    Apr 19 at 15:05

















  • Would that format my system? I mean, would it delete my data? :|
    – Yuzuriha Inori
    Apr 19 at 7:29










  • No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
    – telcoM
    Apr 19 at 11:46










  • If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
    – ajeh
    Apr 19 at 15:05
















Would that format my system? I mean, would it delete my data? :|
– Yuzuriha Inori
Apr 19 at 7:29




Would that format my system? I mean, would it delete my data? :|
– Yuzuriha Inori
Apr 19 at 7:29












No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
– telcoM
Apr 19 at 11:46




No, it only rewrites the MBR boot code. The partition table will be unmodified, and so all your partitions will be safe.
– telcoM
Apr 19 at 11:46












If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
– ajeh
Apr 19 at 15:05





If you are concerned so much about your XP drive contents, you can use Linux live CD to run dd and store an image of the entire drive elsewhere. Then you can play and if something goes wrong, revert by re-imaging your drive from backup. But the methods already given to you are non destructive and you should be fine as long as Windows recovery works as expected. Read any prompt and confirmation carefully before you take actions!
– ajeh
Apr 19 at 15:05













 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438660%2fstuck-at-grub2-prompt%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay