How to repair win7 boot?
I use win7 + ubuntu 14.04.
I'm not sure how to cause this problem.
The situation is I can see boot menu with win7 but without working.
When I press enter on win7, it splash and show the same menu again to let me choose.
What's this situation?
How to fixed it?
Thank you~
boot windows-7
add a comment |
I use win7 + ubuntu 14.04.
I'm not sure how to cause this problem.
The situation is I can see boot menu with win7 but without working.
When I press enter on win7, it splash and show the same menu again to let me choose.
What's this situation?
How to fixed it?
Thank you~
boot windows-7
add a comment |
I use win7 + ubuntu 14.04.
I'm not sure how to cause this problem.
The situation is I can see boot menu with win7 but without working.
When I press enter on win7, it splash and show the same menu again to let me choose.
What's this situation?
How to fixed it?
Thank you~
boot windows-7
I use win7 + ubuntu 14.04.
I'm not sure how to cause this problem.
The situation is I can see boot menu with win7 but without working.
When I press enter on win7, it splash and show the same menu again to let me choose.
What's this situation?
How to fixed it?
Thank you~
boot windows-7
boot windows-7
edited Nov 14 '14 at 9:59
LiveWireBT
21.5k1872155
21.5k1872155
asked Nov 14 '14 at 5:41
samsam
2,693144056
2,693144056
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
first try this:
- insert your windows 7 instalation cd/dvd and boot from. choose your language and hit next. when prompted to "install now" appear just look left down to that windos and press repair your computer.
- wait and a new windows rise with operatings system instaled in your pc. click on "windows 7" and hit next.
in the next window press "Command "Prompt". when command prompt window appear type that:
bootrec /fixboot
press enter and:
bootrec /fixmbr
press enter again and then close that command prompt window and restart your pc.
Note: between "bootrec" and "/" there is a space, dont forget.- After that i think you will no longer have option to choose between operating systems to boot on startup. you will must to repair grub.( i think you can do that with ubuntu live cd. but i am not sure.
Good luck. Let me know if you fix that.
(Easy way is after repair windows 7 boot format the linux partition and reinstall linux:D)
Note :
01/20/2019
To repair grub after fix windows 7 boot:
Try this..
To recover grub:
1.Open the live version.
2.Open the terminal and run
sudo fdisk -l
to see where Linux is installed.
3.Run:
sudo mount /dev/sdaX /mnt
where X is the number you have found Linux word in
4.Run:
sudo grub-install --root-directory=/mnt /dev/sda
to install grub.
5.Run:
sudo update-grub to update grub, and if this command didn't work run it after rebooting.
6.Reboot.
Note:
For me #5 command didn't work. so i restart the computer and after restart computer boot directly to ubuntu OS.
So i loget as root administrator and write this command:
sudo update-grub
That solve the problem.
EugenB
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%2f549468%2fhow-to-repair-win7-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
first try this:
- insert your windows 7 instalation cd/dvd and boot from. choose your language and hit next. when prompted to "install now" appear just look left down to that windos and press repair your computer.
- wait and a new windows rise with operatings system instaled in your pc. click on "windows 7" and hit next.
in the next window press "Command "Prompt". when command prompt window appear type that:
bootrec /fixboot
press enter and:
bootrec /fixmbr
press enter again and then close that command prompt window and restart your pc.
Note: between "bootrec" and "/" there is a space, dont forget.- After that i think you will no longer have option to choose between operating systems to boot on startup. you will must to repair grub.( i think you can do that with ubuntu live cd. but i am not sure.
Good luck. Let me know if you fix that.
(Easy way is after repair windows 7 boot format the linux partition and reinstall linux:D)
Note :
01/20/2019
To repair grub after fix windows 7 boot:
Try this..
To recover grub:
1.Open the live version.
2.Open the terminal and run
sudo fdisk -l
to see where Linux is installed.
3.Run:
sudo mount /dev/sdaX /mnt
where X is the number you have found Linux word in
4.Run:
sudo grub-install --root-directory=/mnt /dev/sda
to install grub.
5.Run:
sudo update-grub to update grub, and if this command didn't work run it after rebooting.
6.Reboot.
Note:
For me #5 command didn't work. so i restart the computer and after restart computer boot directly to ubuntu OS.
So i loget as root administrator and write this command:
sudo update-grub
That solve the problem.
EugenB
add a comment |
first try this:
- insert your windows 7 instalation cd/dvd and boot from. choose your language and hit next. when prompted to "install now" appear just look left down to that windos and press repair your computer.
- wait and a new windows rise with operatings system instaled in your pc. click on "windows 7" and hit next.
in the next window press "Command "Prompt". when command prompt window appear type that:
bootrec /fixboot
press enter and:
bootrec /fixmbr
press enter again and then close that command prompt window and restart your pc.
Note: between "bootrec" and "/" there is a space, dont forget.- After that i think you will no longer have option to choose between operating systems to boot on startup. you will must to repair grub.( i think you can do that with ubuntu live cd. but i am not sure.
Good luck. Let me know if you fix that.
(Easy way is after repair windows 7 boot format the linux partition and reinstall linux:D)
Note :
01/20/2019
To repair grub after fix windows 7 boot:
Try this..
To recover grub:
1.Open the live version.
2.Open the terminal and run
sudo fdisk -l
to see where Linux is installed.
3.Run:
sudo mount /dev/sdaX /mnt
where X is the number you have found Linux word in
4.Run:
sudo grub-install --root-directory=/mnt /dev/sda
to install grub.
5.Run:
sudo update-grub to update grub, and if this command didn't work run it after rebooting.
6.Reboot.
Note:
For me #5 command didn't work. so i restart the computer and after restart computer boot directly to ubuntu OS.
So i loget as root administrator and write this command:
sudo update-grub
That solve the problem.
EugenB
add a comment |
first try this:
- insert your windows 7 instalation cd/dvd and boot from. choose your language and hit next. when prompted to "install now" appear just look left down to that windos and press repair your computer.
- wait and a new windows rise with operatings system instaled in your pc. click on "windows 7" and hit next.
in the next window press "Command "Prompt". when command prompt window appear type that:
bootrec /fixboot
press enter and:
bootrec /fixmbr
press enter again and then close that command prompt window and restart your pc.
Note: between "bootrec" and "/" there is a space, dont forget.- After that i think you will no longer have option to choose between operating systems to boot on startup. you will must to repair grub.( i think you can do that with ubuntu live cd. but i am not sure.
Good luck. Let me know if you fix that.
(Easy way is after repair windows 7 boot format the linux partition and reinstall linux:D)
Note :
01/20/2019
To repair grub after fix windows 7 boot:
Try this..
To recover grub:
1.Open the live version.
2.Open the terminal and run
sudo fdisk -l
to see where Linux is installed.
3.Run:
sudo mount /dev/sdaX /mnt
where X is the number you have found Linux word in
4.Run:
sudo grub-install --root-directory=/mnt /dev/sda
to install grub.
5.Run:
sudo update-grub to update grub, and if this command didn't work run it after rebooting.
6.Reboot.
Note:
For me #5 command didn't work. so i restart the computer and after restart computer boot directly to ubuntu OS.
So i loget as root administrator and write this command:
sudo update-grub
That solve the problem.
EugenB
first try this:
- insert your windows 7 instalation cd/dvd and boot from. choose your language and hit next. when prompted to "install now" appear just look left down to that windos and press repair your computer.
- wait and a new windows rise with operatings system instaled in your pc. click on "windows 7" and hit next.
in the next window press "Command "Prompt". when command prompt window appear type that:
bootrec /fixboot
press enter and:
bootrec /fixmbr
press enter again and then close that command prompt window and restart your pc.
Note: between "bootrec" and "/" there is a space, dont forget.- After that i think you will no longer have option to choose between operating systems to boot on startup. you will must to repair grub.( i think you can do that with ubuntu live cd. but i am not sure.
Good luck. Let me know if you fix that.
(Easy way is after repair windows 7 boot format the linux partition and reinstall linux:D)
Note :
01/20/2019
To repair grub after fix windows 7 boot:
Try this..
To recover grub:
1.Open the live version.
2.Open the terminal and run
sudo fdisk -l
to see where Linux is installed.
3.Run:
sudo mount /dev/sdaX /mnt
where X is the number you have found Linux word in
4.Run:
sudo grub-install --root-directory=/mnt /dev/sda
to install grub.
5.Run:
sudo update-grub to update grub, and if this command didn't work run it after rebooting.
6.Reboot.
Note:
For me #5 command didn't work. so i restart the computer and after restart computer boot directly to ubuntu OS.
So i loget as root administrator and write this command:
sudo update-grub
That solve the problem.
EugenB
edited Jan 20 at 19:36
answered Nov 14 '14 at 8:38
eugeneugen
263
263
add a comment |
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%2f549468%2fhow-to-repair-win7-boot%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