Can't boot to Ubuntu after after shrinking Windows partition

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








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.










share|improve this question



















  • 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














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.










share|improve this question



















  • 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












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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1004825%2fcant-boot-to-ubuntu-after-after-shrinking-windows-partition%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491