Boot problems after deleting dual boot Ubuntu 16.04.2 LTS with windows 10
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Boot problems after deleting dual boot Ubuntu 16.04.2 LTS with windows 10
I am new to Linux. I installed Ubuntu 16.04.2 LTS alongside windows 10 on a separate partition using Unetbootin . Whenever I started my notebook it used to present me with dual boot options. I booted into windows 10 and deleted ubuntu from the hard drive using windows 10 disk management utility. I extended the volume of one partition in windows 10. Then I rebooted my notebook and found out that I was unable to boot into windows. When I reboot Grub rescue black screen is displayed.
By going through the top answers in the forum I have tried the following methods to fix the grub.
Method 1: I typed "ls" to list all the partitions on the grub rescue screen and tried setting root to each of the partitions. But on each partition I got "file system unknown error".
METHOD 3: I wanted to boot into windows 10 using bootable pen drive so that I can enter the command prompt of windows 10 and delete the grub using Bootrec /fixmbr. So I downloaded windows 10 iso from microsoft and created a bootable usb drive using Unetbootin. Then I booted from the pen drive containing windows 10 iso but the problem is it is not able to boot from the pen drive. Whenever I start my notebook I get an acer logo screen followed by a screen displaying message "NO BOOTABLE MEDIA". Now when I try to boot hard drive by setting it as first priority boot media I again get a "NO BOOTABLE MEDIA" message on the screen. I no longer get grub rescue screen which I used to get after booting the hard drive.
Please help because I don't want to lose my data.
Notebooks Specs: Acer E5-511 Windows 10, 500 gb hard drive, 2 GB ram
Have you tried booting a Ubuntu live USB by marking it as your highest priority device?
This should allow you to take a backup of any accessible files (if any exist).
You will probably(?) need to reinstall Windows and all its drivers etc
This will take a long time.
I have tried to reboot through Ubuntu live usb and it was successful. But I am not able to access window 10 data. One of the partitions in windows 10 was protected by bitlocker. Please tell me how can I backup all my windows data using ubuntu live usb.
The correct method to remove a Linux (Grub) bootloader to go back to windows is to run the windows commands (Bootrec /fixmbr) then reboot to test to see if windows boots 'before' deleting your Linux partition. Since you did not do that, your options are limited. The second method on boot repair is to repair the Grub installation on the computer. Since almost all the Grub files were on the partition you deleted, that will never work.
You 'might' be able to repair with the boot repair if you go to the Advanced options and select Repair Windows boot files option. Before doing that, I would try other methods. The best of course would be if you have a windows installation DVD and select the 'Repair' option on boot. If you have a Recovery CD, you 'might' be able to use that if it has a 'Repair' option.
The boot repair output shows four windows partitions and the correct boot files are all there so you should be able to repair it if you have the right tools. If you don't have the windows installation DVD or Recovery CD, you might do a search or go to some windows forums to see if you can download some software which you can use to repair the windows MBR.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Have you checked to see if your firmware is using SecureBoot ? If it is, disable it, try booting with your Ubuntu USB again and then see if you can read the Windows files.
Using ubuntu live usb I am able to access my windows 10 data but am not able to access one windows partition that was bitlocker encrypted. How can I access that bitlocker partition using ubuntu live usb. Also that partition is visible when I type sudo fdisk -l in terminal. Also partition is visible in disk utility of Ubuntu but the contents are UNKNOWN. However this bitlocker encrypted partition is not visible in files tab of Ubuntu.
Your bitlocker partition is encrypted and protected against people obtaining your valuable data.
I suggest you search Windows sites to see if bitlocker can be broken.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by abdcode
Using ubuntu live usb I am able to access my windows 10 data but am not able to access one windows partition that was bitlocker encrypted. How can I access that bitlocker partition using ubuntu live usb. Also that partition is visible when I type sudo fdisk -l in terminal. Also partition is visible in disk utility of Ubuntu but the contents are UNKNOWN. However this bitlocker encrypted partition is not visible in files tab of Ubuntu.
I'm not quite sure what you're trying to do when you say you can access your "Windows 10 data" but not "one windows partition that was bitlocker encrypted" ... What is on each partition ? Have you tried the secureboot setting suggestion from my earlier post ?
A. Secureboot
I have uploaded one screenshot of my bios window(link 1). As you can see I can't change the secure boot settings of my notebook as it does not allow me to scroll to the secure boot option.
link 1 -> https://drive.google.com/open?id=0B6...QteWVVQ3gtbHFJ
Partition 1: System reserved(Windows 10)(Accessible from Ubuntu live usb using FILES utility)
Partition 2: Windows 10 root partition()(Windows 10)(Accessible from Ubuntu live usb using FILES utility)
Partition 3: Accessible from Ubuntu live usb using FILES utility
Partition 5: Accessible from Ubuntu live usb using FILES utility
Partition 6: This is the partition which I need to access but is not accessible from Ubuntu live usb using FILES utility. It shows contents as Unknown. This partition is bitlocker protected. I need to access this partition so that I can back up my data and then clean install.
I have also uploaded a snapshot of my Files utility(link 3). As you can see here that partition 6 is not visible. Except partition 6 all are visible and I can access them.
It is just possible that you can use Linux software to access your encrypted partition.
Provided that you didn't resize or move this partition:-
and
You know either the password or recovery password for it.
Try a Google search on the subject.
Otherwise you need to accept that if you don't have a recent backup of your data, that it probably wasn't important enough to need encrypting.
Probably a good idea to get an external USB disk drive to store backups on - you could at least save your non-bitlockered files.
Last edited by JeremyBoden; 03-26-2017 at 04:35 PM.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by abdcode
...
Partition 6: This is the partition which I need to access but is not accessible from Ubuntu live usb using FILES utility. It shows contents as Unknown. This partition is bitlocker protected. I need to access this partition so that I can back up my data and then clean install. ...
... gotcha. Thanks.
I use this to read the Bitlocker encrypted partition on my Surface Pro 3 while dual-booted into Arch Linux - works well as long as you know the decryption password (should be supplied by the hardware manufacturer).
I was not able to unlock my drive using dislocker. But I changed boot mode to LEGACY instead of UEFI and then I was able to boot into windows live usb. Then I deleted the grub using Bootrec /fixmbr command in cmd. Still I am able to boot into windows using LEGACY mode but not by using UEFI mode. When I try to boot into windows using UEFI mode it shows No Bootable Media screen.
UEFI doesn't use a MBR (as such), so by creating a legacy style MBR (with fixmbr) you've destroyed any possibility of a UEFI boot.
Actually, your use of 4 primary partitions, with one divided into a couple of "logical" partitions makes it seem unlikely that that UEFI was ever on the cards.
In addition, the screenshot of Gparted indicates that Linux always thought your disk was not UEFI bootable.
I would take copies of any important data files you can access, then wipe the disk and start again.
Ideally, without bitlocker!
You can do a lot of investigation of Linux without installing anything to disk, just run a live boot (from USB).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.