Can't boot to Ubuntu after after shrinking Windows partition
![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
Ok, I think I messed up but here's hoping someone can help me out.
I have a Dell XPS 15 9560 on which have (had?) Windows 10 and Ubuntu 14.10 installed in a dual boot. This was all working great untill yesterday where I did two things I probably shouldn't have done.
I shrunk my Windows C: drive and updated the BIOS.
After which my system only boots to GNU GRUB version2.02~beta2-36ubuntu11.3
.
My worst fear is that I completely nuked my Ubuntu installation (my main OS) including all my data, which I hope te be able to recover somehow.
After some Googling I finally managed to boot to Windows by running the following in GRUB:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
After that I did the following to be able to manually boot to Windows without GRUB.
bcdedit /enum firmware
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi
From Windows I created a boot-repair disk and ran the 'Recommended Repair', unfortunately to no avail.
Here is a link to the BootInfo Summary before running the repair.
Here is another link to the BootInfo Summary after running the repair.
And here is the output of bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier fwbootmgr
displayorder a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
bootmgr
timeout 0
Windows Boot Manager
--------------------
identifier bootmgr
device partition=DeviceHarddiskVolume1
path EFIMicrosoftBootbootmgfw.efi
description Windows Boot Manager
locale en-US
inherit globalsettings
badmemoryaccess Yes
default current
resumeobject a6c63f0a-3a5f-11e7-834d-9cb6d0dfe0f2
displayorder current
toolsdisplayorder memdiag
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIrefindshimx64.efi
description rEFInd Boot Manager
badmemoryaccess Yes
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIubuntushimx64.efi
description ubuntu
badmemoryaccess Yes
Update:
I'm now running TestDisk to see if I can recover any lost partitions.
dual-boot grub2 partitioning uefi
add a comment |Â
up vote
0
down vote
favorite
Ok, I think I messed up but here's hoping someone can help me out.
I have a Dell XPS 15 9560 on which have (had?) Windows 10 and Ubuntu 14.10 installed in a dual boot. This was all working great untill yesterday where I did two things I probably shouldn't have done.
I shrunk my Windows C: drive and updated the BIOS.
After which my system only boots to GNU GRUB version2.02~beta2-36ubuntu11.3
.
My worst fear is that I completely nuked my Ubuntu installation (my main OS) including all my data, which I hope te be able to recover somehow.
After some Googling I finally managed to boot to Windows by running the following in GRUB:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
After that I did the following to be able to manually boot to Windows without GRUB.
bcdedit /enum firmware
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi
From Windows I created a boot-repair disk and ran the 'Recommended Repair', unfortunately to no avail.
Here is a link to the BootInfo Summary before running the repair.
Here is another link to the BootInfo Summary after running the repair.
And here is the output of bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier fwbootmgr
displayorder a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
bootmgr
timeout 0
Windows Boot Manager
--------------------
identifier bootmgr
device partition=DeviceHarddiskVolume1
path EFIMicrosoftBootbootmgfw.efi
description Windows Boot Manager
locale en-US
inherit globalsettings
badmemoryaccess Yes
default current
resumeobject a6c63f0a-3a5f-11e7-834d-9cb6d0dfe0f2
displayorder current
toolsdisplayorder memdiag
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIrefindshimx64.efi
description rEFInd Boot Manager
badmemoryaccess Yes
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIubuntushimx64.efi
description ubuntu
badmemoryaccess Yes
Update:
I'm now running TestDisk to see if I can recover any lost partitions.
dual-boot grub2 partitioning uefi
1
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Ok, I think I messed up but here's hoping someone can help me out.
I have a Dell XPS 15 9560 on which have (had?) Windows 10 and Ubuntu 14.10 installed in a dual boot. This was all working great untill yesterday where I did two things I probably shouldn't have done.
I shrunk my Windows C: drive and updated the BIOS.
After which my system only boots to GNU GRUB version2.02~beta2-36ubuntu11.3
.
My worst fear is that I completely nuked my Ubuntu installation (my main OS) including all my data, which I hope te be able to recover somehow.
After some Googling I finally managed to boot to Windows by running the following in GRUB:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
After that I did the following to be able to manually boot to Windows without GRUB.
bcdedit /enum firmware
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi
From Windows I created a boot-repair disk and ran the 'Recommended Repair', unfortunately to no avail.
Here is a link to the BootInfo Summary before running the repair.
Here is another link to the BootInfo Summary after running the repair.
And here is the output of bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier fwbootmgr
displayorder a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
bootmgr
timeout 0
Windows Boot Manager
--------------------
identifier bootmgr
device partition=DeviceHarddiskVolume1
path EFIMicrosoftBootbootmgfw.efi
description Windows Boot Manager
locale en-US
inherit globalsettings
badmemoryaccess Yes
default current
resumeobject a6c63f0a-3a5f-11e7-834d-9cb6d0dfe0f2
displayorder current
toolsdisplayorder memdiag
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIrefindshimx64.efi
description rEFInd Boot Manager
badmemoryaccess Yes
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIubuntushimx64.efi
description ubuntu
badmemoryaccess Yes
Update:
I'm now running TestDisk to see if I can recover any lost partitions.
dual-boot grub2 partitioning uefi
Ok, I think I messed up but here's hoping someone can help me out.
I have a Dell XPS 15 9560 on which have (had?) Windows 10 and Ubuntu 14.10 installed in a dual boot. This was all working great untill yesterday where I did two things I probably shouldn't have done.
I shrunk my Windows C: drive and updated the BIOS.
After which my system only boots to GNU GRUB version2.02~beta2-36ubuntu11.3
.
My worst fear is that I completely nuked my Ubuntu installation (my main OS) including all my data, which I hope te be able to recover somehow.
After some Googling I finally managed to boot to Windows by running the following in GRUB:
search -s root -f /EFI/Microsoft/Boot/BCD
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
After that I did the following to be able to manually boot to Windows without GRUB.
bcdedit /enum firmware
bcdedit /set bootmgr path EFIMicrosoftBootbootmgfw.efi
From Windows I created a boot-repair disk and ran the 'Recommended Repair', unfortunately to no avail.
Here is a link to the BootInfo Summary before running the repair.
Here is another link to the BootInfo Summary after running the repair.
And here is the output of bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier fwbootmgr
displayorder a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
bootmgr
timeout 0
Windows Boot Manager
--------------------
identifier bootmgr
device partition=DeviceHarddiskVolume1
path EFIMicrosoftBootbootmgfw.efi
description Windows Boot Manager
locale en-US
inherit globalsettings
badmemoryaccess Yes
default current
resumeobject a6c63f0a-3a5f-11e7-834d-9cb6d0dfe0f2
displayorder current
toolsdisplayorder memdiag
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0e-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIrefindshimx64.efi
description rEFInd Boot Manager
badmemoryaccess Yes
Firmware Application (101fffff)
-------------------------------
identifier a6c63f0f-3a5f-11e7-834d-9cb6d0dfe0f2
device partition=DeviceHarddiskVolume1
path EFIubuntushimx64.efi
description ubuntu
badmemoryaccess Yes
Update:
I'm now running TestDisk to see if I can recover any lost partitions.
dual-boot grub2 partitioning uefi
dual-boot grub2 partitioning uefi
edited Feb 10 at 12:36
asked Feb 10 at 11:00
Chris
11
11
1
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59
add a comment |Â
1
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59
1
1
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1004825%2fcant-boot-to-ubuntu-after-after-shrinking-windows-partition%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
1
Ubuntu 14.10 is a short-term (2014.October + 15 months) release of Ubuntu and is thus well past EOL so I'd not worry. Do you have data on the partition? in which case I'd work at getting that off, and just starting again by installing a supported release of Ubuntu. Consider using a LTS release of Ubuntu (eg. 14.04LTS) if you want a longer life for your Ubuntu. I would just use a 'live' (eg. Ubuntu install media) to get your data off, then re-install [Ubuntu] fresh.
â guiverc
Feb 10 at 11:22
@guiverc It was/is my main OS and data recovery is my top priority right now. I was preparing my system to upgrade to a new Linux version (Mint). But in that process I messed up probably. The main issue is that I think my complete Linux installation, including all my data, is destroyed.
â Chris
Feb 10 at 11:30
Frpm Windows you can create a live USB, and use that to access the Ubuntu partitions and copy your data to an external device.
â Charles Green
Feb 10 at 14:15
@CharlesGreen Even if the partition is destroyed/corrupt? Could you point me in the direction of a tool which could do that?
â Chris
Feb 10 at 15:59