Execute Windows MBR repair on Ubuntu disk by mistake
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I got notebook with broken Windows booting and I have found some tricks how to repair it. I copied CMD from web and paste it to terminal. Imediately after pasting the CMD it executes with wrong disk. Then I tried to restart my computer and it says:
No boot signature in partition.
The CMD was:
sudo lilo -M /dev/sda mbr
Does anyone know how to repair it?
boot windows boot-repair mbr
add a comment |Â
up vote
0
down vote
favorite
I got notebook with broken Windows booting and I have found some tricks how to repair it. I copied CMD from web and paste it to terminal. Imediately after pasting the CMD it executes with wrong disk. Then I tried to restart my computer and it says:
No boot signature in partition.
The CMD was:
sudo lilo -M /dev/sda mbr
Does anyone know how to repair it?
boot windows boot-repair mbr
I would imagine you have an EFI disk andlilo
acts like it's processing an MBR disk. But I only usegrub
so it's just a guess. As the answer below suggests you should runtestdisk
iflilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).
â WinEunuuchs2Unix
Apr 1 at 22:48
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I got notebook with broken Windows booting and I have found some tricks how to repair it. I copied CMD from web and paste it to terminal. Imediately after pasting the CMD it executes with wrong disk. Then I tried to restart my computer and it says:
No boot signature in partition.
The CMD was:
sudo lilo -M /dev/sda mbr
Does anyone know how to repair it?
boot windows boot-repair mbr
I got notebook with broken Windows booting and I have found some tricks how to repair it. I copied CMD from web and paste it to terminal. Imediately after pasting the CMD it executes with wrong disk. Then I tried to restart my computer and it says:
No boot signature in partition.
The CMD was:
sudo lilo -M /dev/sda mbr
Does anyone know how to repair it?
boot windows boot-repair mbr
boot windows boot-repair mbr
edited Apr 1 at 22:55
NerdOfLinux
1,499830
1,499830
asked Apr 1 at 22:30
user3414654
1
1
I would imagine you have an EFI disk andlilo
acts like it's processing an MBR disk. But I only usegrub
so it's just a guess. As the answer below suggests you should runtestdisk
iflilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).
â WinEunuuchs2Unix
Apr 1 at 22:48
add a comment |Â
I would imagine you have an EFI disk andlilo
acts like it's processing an MBR disk. But I only usegrub
so it's just a guess. As the answer below suggests you should runtestdisk
iflilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).
â WinEunuuchs2Unix
Apr 1 at 22:48
I would imagine you have an EFI disk and
lilo
acts like it's processing an MBR disk. But I only use grub
so it's just a guess. As the answer below suggests you should run testdisk
if lilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).â WinEunuuchs2Unix
Apr 1 at 22:48
I would imagine you have an EFI disk and
lilo
acts like it's processing an MBR disk. But I only use grub
so it's just a guess. As the answer below suggests you should run testdisk
if lilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).â WinEunuuchs2Unix
Apr 1 at 22:48
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk
. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdisk
and then run
sudo testdisk
and try this guide.
add a comment |Â
up vote
0
down vote
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this: http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
It restore grub...
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk
. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdisk
and then run
sudo testdisk
and try this guide.
add a comment |Â
up vote
0
down vote
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk
. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdisk
and then run
sudo testdisk
and try this guide.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk
. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdisk
and then run
sudo testdisk
and try this guide.
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk
. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdisk
and then run
sudo testdisk
and try this guide.
answered Apr 1 at 22:47
NerdOfLinux
1,499830
1,499830
add a comment |Â
add a comment |Â
up vote
0
down vote
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this: http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
It restore grub...
add a comment |Â
up vote
0
down vote
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this: http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
It restore grub...
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this: http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
It restore grub...
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this: http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
It restore grub...
answered Apr 5 at 9:15
user3414654
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1021168%2fexecute-windows-mbr-repair-on-ubuntu-disk-by-mistake%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
I would imagine you have an EFI disk and
lilo
acts like it's processing an MBR disk. But I only usegrub
so it's just a guess. As the answer below suggests you should runtestdisk
iflilo
documentation makes no mention of backing up the MBR (Master Boot Record) before it runs. Note both MRB disks and EFI disks utilize a Master Boot Record. (Confusing I know).â WinEunuuchs2Unix
Apr 1 at 22:48