LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-26-2017, 03:37 AM   #1
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Rep: Reputation: Disabled
Unhappy 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 2: I booted into ubuntu using ubuntu live usb and tried the second option under boot repair method mentioned on this link:- https://help.ubuntu.com/community/Boot-Repair

I got a pop up message:- "Boot successfully repaired. You can now reboot your computer"

But when I rebooted it again it displayed the grub rescue black screen. A pastebin link was also generated after boot repair.

Pastebin Link -> http://paste2.org/5X6UaEjn

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

Thanks
 
Old 03-26-2017, 05:13 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,652

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Always take a backup before resizing partitions.

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.

BTW Is 2GB RAM sufficient to run Windows 10?
 
Old 03-26-2017, 05:51 AM   #3
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ubuntu live cd

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.
 
Old 03-26-2017, 09:25 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,906

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
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.
 
Old 03-26-2017, 11:12 AM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,652

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by abdcode View Post
But I am not able to access window 10 data. One of the partitions in windows 10 was protected by bitlocker.
If files were written with bitlocker active then your data is encrypted and unusable.

You need to be able to read a file before you can copy it as a backup.

Note that you will need to mount any hard disk partitions before you can read from them.
 
Old 03-26-2017, 11:21 AM   #6
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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.
 
Old 03-26-2017, 11:22 AM   #7
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-26-2017, 11:43 AM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,652

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
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.
 
Old 03-26-2017, 11:47 AM   #9
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
I don't have any access to windows. I need to access bitlocker encrypted drive using Ubuntu live usb only.
 
Old 03-26-2017, 12:31 PM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by abdcode View Post
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 ?

Please clarify.
 
Old 03-26-2017, 04:16 PM   #11
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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

B. Hard drive partitions explained(link 2)
link 2 -> https://drive.google.com/open?id=0B6...EwNXUxOWtOV1pn

I have a 500 gb hard drive with 6 partitions.

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.

link 3-> https://drive.google.com/open?id=0B6...ZXZWJEQl9QdkNN

C. When I try to boot into windows with live usb I get No Bootable Media screen(link 4)
link 4-> https://drive.google.com/open?id=0B6...pKRF8wdy1Cbll3
 
Old 03-26-2017, 05:31 PM   #12
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,652

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
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 05:35 PM.
 
Old 03-26-2017, 10:01 PM   #13
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by abdcode View Post
...

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).

http://www.hsc.fr/ressources/outils/dislocker/

... hopefully your linux distro has a package for it - otherwise you can always go from the developer's site.

Let us know if this helps.
 
Old 03-28-2017, 06:02 AM   #14
abdcode
LQ Newbie
 
Registered: Mar 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-28-2017, 07:51 AM   #15
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,652

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing ubuntu 14.04 LTS dual boot with Windows 7 ahmed_11be Linux - Newbie 1 11-29-2016 07:47 AM
Running dual boot Windows and Ubuntu 14.04 LTS, want to repartition to keep Ubuntu and replace Windows with CentOS new_eyes_open Linux - Newbie 2 05-10-2016 01:32 PM
How to dual boot windows 10 and Ubuntu 14.04 LTS on Lenovo Ideapad Yoga 13 Muralita Linux - Laptop and Netbook 3 03-21-2016 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration