How do I fix “Grub Rescue”? Uninstallation?
I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:
error : no such partition
grub rescue>_
I am now looking for help on
- Getting out of this "grub rescue"
- Uninstalling Ubuntu and/or factory reset
Notes
-Newbie
- No windows disks
-I have spare CDs
grub2
add a comment |
I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:
error : no such partition
grub rescue>_
I am now looking for help on
- Getting out of this "grub rescue"
- Uninstalling Ubuntu and/or factory reset
Notes
-Newbie
- No windows disks
-I have spare CDs
grub2
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53
add a comment |
I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:
error : no such partition
grub rescue>_
I am now looking for help on
- Getting out of this "grub rescue"
- Uninstalling Ubuntu and/or factory reset
Notes
-Newbie
- No windows disks
-I have spare CDs
grub2
I am currently dual-booting windows 7 and Ubuntu. I am about to sell my computer so I was following a tutorial on how to uninstall Ubuntu. I had deleted my partitions like the tutorial
said and now I get this:
error : no such partition
grub rescue>_
I am now looking for help on
- Getting out of this "grub rescue"
- Uninstalling Ubuntu and/or factory reset
Notes
-Newbie
- No windows disks
-I have spare CDs
grub2
grub2
asked Nov 9 '13 at 7:49
Julien MackenzieJulien Mackenzie
31135
31135
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53
add a comment |
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53
add a comment |
3 Answers
3
active
oldest
votes
(From within rescue mode)
Command: ls
It will list all your drives and partitions, like:
(hd0) (hd0,msdos2) (hd0,msdos1)
If you don't know your Ubuntu boot partition, check them one by one:
ls (hd0,msdos2)/
ls (hd0,msdos1)/
When you hit the right one, you'll get a line mentioning "lost+found" and so on.
Assuming (hd0,msdos2)
is the right partition:
set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal
Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
sudo update-grub
sudo grub-install /dev/sda
Voila.
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
add a comment |
You could do either of two things:
Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.
bootrec.exe/fixmbr
bootrec.exe/fixboot
Thats it done. Or watch this YouTube tutorial.
If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.
add a comment |
I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.
New contributor
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f373385%2fhow-do-i-fix-grub-rescue-uninstallation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
(From within rescue mode)
Command: ls
It will list all your drives and partitions, like:
(hd0) (hd0,msdos2) (hd0,msdos1)
If you don't know your Ubuntu boot partition, check them one by one:
ls (hd0,msdos2)/
ls (hd0,msdos1)/
When you hit the right one, you'll get a line mentioning "lost+found" and so on.
Assuming (hd0,msdos2)
is the right partition:
set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal
Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
sudo update-grub
sudo grub-install /dev/sda
Voila.
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
add a comment |
(From within rescue mode)
Command: ls
It will list all your drives and partitions, like:
(hd0) (hd0,msdos2) (hd0,msdos1)
If you don't know your Ubuntu boot partition, check them one by one:
ls (hd0,msdos2)/
ls (hd0,msdos1)/
When you hit the right one, you'll get a line mentioning "lost+found" and so on.
Assuming (hd0,msdos2)
is the right partition:
set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal
Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
sudo update-grub
sudo grub-install /dev/sda
Voila.
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
add a comment |
(From within rescue mode)
Command: ls
It will list all your drives and partitions, like:
(hd0) (hd0,msdos2) (hd0,msdos1)
If you don't know your Ubuntu boot partition, check them one by one:
ls (hd0,msdos2)/
ls (hd0,msdos1)/
When you hit the right one, you'll get a line mentioning "lost+found" and so on.
Assuming (hd0,msdos2)
is the right partition:
set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal
Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
sudo update-grub
sudo grub-install /dev/sda
Voila.
(From within rescue mode)
Command: ls
It will list all your drives and partitions, like:
(hd0) (hd0,msdos2) (hd0,msdos1)
If you don't know your Ubuntu boot partition, check them one by one:
ls (hd0,msdos2)/
ls (hd0,msdos1)/
When you hit the right one, you'll get a line mentioning "lost+found" and so on.
Assuming (hd0,msdos2)
is the right partition:
set prefix=(hd0,2)/boot/grub
set root=(hd0,2)
insmod normal
normal
Now you'll be able to boot into Ubuntu. Once you do, execute the following commands:
sudo update-grub
sudo grub-install /dev/sda
Voila.
edited Jun 19 '16 at 13:56
dadexix86
5,4182595
5,4182595
answered Nov 9 '13 at 8:46
PavelPavel
87311022
87311022
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
add a comment |
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
2
2
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
He deleted the ubuntu partitions, so I guess there is no ubuntu to boot to
– Dr_Bunsen
Nov 9 '13 at 11:33
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
Yes he deleted the ubuntu partition and try to recover windows partition.
– Avinash Raj
Nov 9 '13 at 11:39
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
A Win 7 recovery DVD can be written from any Win 7 machine. Boot from recovery DVD, choose to recover win loader from the graphic menu, or choose to enter command line and execute bootrec /fixmbr and bootrec /fixboot.
– Pavel
Nov 9 '13 at 14:24
add a comment |
You could do either of two things:
Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.
bootrec.exe/fixmbr
bootrec.exe/fixboot
Thats it done. Or watch this YouTube tutorial.
If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.
add a comment |
You could do either of two things:
Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.
bootrec.exe/fixmbr
bootrec.exe/fixboot
Thats it done. Or watch this YouTube tutorial.
If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.
add a comment |
You could do either of two things:
Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.
bootrec.exe/fixmbr
bootrec.exe/fixboot
Thats it done. Or watch this YouTube tutorial.
If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.
You could do either of two things:
Use a Windows 7 installation CD, boot it, and search for the repair option. After that you will get many options; then search for 'command prompt'. Type the following commands into a command prompt one-by-one and press Enter.
bootrec.exe/fixmbr
bootrec.exe/fixboot
Thats it done. Or watch this YouTube tutorial.
If you have any Linux installation CD/DVD or USB pendrive then live boot it and follow the steps shown on the page Boot-Repair. You will get the boot menu back.
edited Jun 19 '16 at 15:45
Peter Mortensen
1,03721016
1,03721016
answered Oct 12 '14 at 22:55
Edward TorvaldsEdward Torvalds
5,06274079
5,06274079
add a comment |
add a comment |
I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.
New contributor
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
add a comment |
I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.
New contributor
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
add a comment |
I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.
New contributor
I am having the same problem. I have no working CD or DVD drives of any kind, but I do have a Kubuntu 18.04 USB with no way to dual boot (not even manual partitioning) Also I deleted my Kubuntu partition so I cannot do that. I just signed up so comment option is disabled. I'm using my shitty old Chromebook so I can't make a boot USB. Its one of the dumb ARM ones. Please do not ban this I can not comment and all hope is lost for me so I have no other option other than this. Sorry for bad spelling. I hate cheapo Chromebook keyboards. I also have no other PC. Someone fucking help me. I know no one is going to reply so I do not know why I said all this shit.
New contributor
New contributor
answered 9 hours ago
Alexander BlakeAlexander Blake
1
1
New contributor
New contributor
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
add a comment |
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
3
3
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
A) If you have a question, then Ask a Question. Don't post a question in an Answer. B) If you are intending to ask for people's help, you will get a much better response if you keep the wording and tone of your post professional (i.e. loose the swearing/offensive language). "Professional" language is the policy on Stack Exchange. If you use offensive language people will tend to down-vote and/or delete your post, in addition to it being less likely to get helpful responses.
– Makyen
9 hours ago
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f373385%2fhow-do-i-fix-grub-rescue-uninstallation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try boot-repair-disk ,it will help you to boot into windows.
– Avinash Raj
Nov 9 '13 at 7:53