[Solved] Need to recover windows 10 as well as need dual boot
Forum rules
Before you post please read how to get help
Before you post please read how to get help
[Solved] Need to recover windows 10 as well as need dual boot
Hi
I have installed linux mint in my system.
After installing the linux i selected the windows 10 reserved space- 100 MB partition for the Grub loader.
It destroyed the windows loading.
I am using windows 10 for official purpose and Linux for my personal use.
I want recover the window and I want linux also.
I searched internet , i could not able to find proper answer for this.
Please help me.
thanks and regards
I have installed linux mint in my system.
After installing the linux i selected the windows 10 reserved space- 100 MB partition for the Grub loader.
It destroyed the windows loading.
I am using windows 10 for official purpose and Linux for my personal use.
I want recover the window and I want linux also.
I searched internet , i could not able to find proper answer for this.
Please help me.
thanks and regards
Last edited by halovivek on Fri Oct 21, 2016 11:06 am, edited 1 time in total.
- gold_finger
- Level 9
- Posts: 2886
- Joined: Mon Mar 11, 2013 11:39 pm
Re: Need to recover windows 10 as well as need dual boot
Did your Mint install succeed and are you able to boot into it?
Do you have data files in Windows that you need but do not yet have backed-up?
Did you create a recovery disk for Windows 10 before installing Mint?
Do you have access to another computer with any Windows operating system?
What is the exact make/model of computer you installed to?
Boot into your installed Mint (if the install worked), or your live Mint dvd/usb. Open a terminal and post back here with the output of this command so we can see what your current partition structure looks like:
The output from command will also show us whether or not you have a UEFI or Legacy mode installation. Procedure for fixing Windows may vary depending on which mode it was installed in, so may be a good idea to let us see that output before you attempt fixing Windows.
Also, enter the following command to list the hardware specs of the computer. Copy/Paste that output back here also just in case we end up needing that info as well.
(This post describes how to copy/paste terminal output to the forum.)
While waiting for a reply back after your next post, if you do not have a Windows recovery disk, you should be able to create a Windows bootable install USB by downloading a Windows 10 ISO file directly from Microsoft, then use the Rufus program in a Windows-based computer to create the USB. From there you can boot the USB and use it to fix booting of current Windows 10, or do a complete fresh re-install if you prefer. Before doing any of that it may be a good idea to make backup copies of any data files you want saved in Windows just in case something goes wrong. You can do that by accessing the Windows partitions from either your installed Mint or from the live Mint dvd/usb.
Do you have data files in Windows that you need but do not yet have backed-up?
Did you create a recovery disk for Windows 10 before installing Mint?
Do you have access to another computer with any Windows operating system?
What is the exact make/model of computer you installed to?
Boot into your installed Mint (if the install worked), or your live Mint dvd/usb. Open a terminal and post back here with the output of this command so we can see what your current partition structure looks like:
Code: Select all
sudo parted --list
Also, enter the following command to list the hardware specs of the computer. Copy/Paste that output back here also just in case we end up needing that info as well.
Code: Select all
inxi -Fxz
While waiting for a reply back after your next post, if you do not have a Windows recovery disk, you should be able to create a Windows bootable install USB by downloading a Windows 10 ISO file directly from Microsoft, then use the Rufus program in a Windows-based computer to create the USB. From there you can boot the USB and use it to fix booting of current Windows 10, or do a complete fresh re-install if you prefer. Before doing any of that it may be a good idea to make backup copies of any data files you want saved in Windows just in case something goes wrong. You can do that by accessing the Windows partitions from either your installed Mint or from the live Mint dvd/usb.
Please add [SOLVED] to your thread if a solution is found. Go to your first post in the thread, hit "Edit" button and add [SOLVED] to the title of the post.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
Re: Need to recover windows 10 as well as need dual boot
hi
please find my answers below
---
----
please find my answers below
Yes, i am posting these answers from my Mint OSDid your Mint install succeed and are you able to boot into it?
Yes. there is no data files required to back up.Do you have data files in Windows that you need but do not yet have backed-up?
NODid you create a recovery disk for Windows 10 before installing Mint?
NODo you have access to another computer with any Windows operating system?
Dell Inspiron 14 5000 series, Intel i7, 16GB ram, Nvida GE force 2GB video card, 1 TB hard diskWhat is the exact make/model of computer you installed to?
---
Code: Select all
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 105GB 105GB primary ntfs
3 105GB 371GB 266GB primary ntfs
4 371GB 1000GB 629GB extended lba
5 371GB 686GB 315GB logical ntfs
6 686GB 833GB 147GB logical ntfs
8 833GB 966GB 133GB logical ext4
7 966GB 1000GB 34.6GB logical linux-swap(v1)
Code: Select all
System: Host: halovivek-Inspiron-5458 Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18 Sarah
Machine: System: Dell (portable) product: Inspiron 5458 v: 01
Mobo: Dell model: 0P6G1P v: A00 Bios: Dell v: A09 date: 12/30/2015
CPU: Dual core Intel Core i7-5500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577
clock speeds: max: 3000 MHz 1: 2400 MHz 2: 2400 MHz 3: 2400 MHz
4: 2400 MHz
Graphics: Card-1: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0
Card-2: NVIDIA GK208M [GeForce 920M] bus-ID: 08:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card-1 Intel Wildcat Point-LP High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Broadwell-U Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
Network: Card-1: Intel Wireless 3160 driver: iwlwifi bus-ID: 06:00.0
IF: wlp6s0 state: up mac: <filter>
Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 07:00.0
IF: enp7s0 state: down mac: <filter>
Drives: HDD Total Size: 1000.2GB (34.4% used)
ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB temp: 36C
Partition: ID-1: / size: 122G used: 11G (9%) fs: ext4 dev: /dev/sda8
ID-2: swap-1 size: 34.57GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 47.0C mobo: N/A gpu: 42.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 207 Uptime: 4:13 Memory: 1381.3/15958.5MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.421) inxi: 2.2.35
- gold_finger
- Level 9
- Posts: 2886
- Joined: Mon Mar 11, 2013 11:39 pm
Re: Need to recover windows 10 as well as need dual boot
Ok, let's try something that is easy and might work to fix Windows booting before bothering with creating bootable USB of Windows.
Boot with live Mint dvd/usb you used for installing. Open a terminal and enter these commands one after the other to install "Boot-Repair" to the live environment and run it:
Boot-Repair will start-up after last command and after initially analyzing computer will show its main screen. Near bottom of screen, click on "Advanced options". Under the "Other" tab see if you can check the box to "Repair Windows boot files". If so, check that box and hit "Apply". Program will attempt fix and will give you a pastebin address where it posts the results of what it did. Write that address down so we can refer to the report if the fix didn't work.
Reboot computer and see if it can boot into Windows.
If yes, but you lost ability to boot into Mint, boot again with live Mint dvd/usb, open a terminal and do the following:
Reboot and you should see choice for both Mint and Windows. If no choice for Windows, boot into installed Mint (not the dvd/usb), open a terminal and enter this command to update the menu to include Windows:
Reboot and both choices will now show.
If Boot-Repair didn't work then you'll need to make a dvd or usb with the Win 10 ISO file. DVD would be easiest because I'm not entirely sure if Linux usb creators will work making a bootable usb from Windows ISO. Put blank DVD in tray, burn the Win 10 ISO as an image (not as data) to the DVD. Leave in tray and boot computer with it. From there I don't know what options will look like, but I'm guessing there will be an option to repair or fix instead of install. One of the repair options should be to fix booting. If can't seem to find what you're looking for might be best to ask on Windows 10 Forum.
Boot with live Mint dvd/usb you used for installing. Open a terminal and enter these commands one after the other to install "Boot-Repair" to the live environment and run it:
Code: Select all
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Reboot computer and see if it can boot into Windows.
If yes, but you lost ability to boot into Mint, boot again with live Mint dvd/usb, open a terminal and do the following:
Code: Select all
sudo mount /dev/sda8 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda
sudo umount /dev/sda8
Code: Select all
sudo update-grub
If Boot-Repair didn't work then you'll need to make a dvd or usb with the Win 10 ISO file. DVD would be easiest because I'm not entirely sure if Linux usb creators will work making a bootable usb from Windows ISO. Put blank DVD in tray, burn the Win 10 ISO as an image (not as data) to the DVD. Leave in tray and boot computer with it. From there I don't know what options will look like, but I'm guessing there will be an option to repair or fix instead of install. One of the repair options should be to fix booting. If can't seem to find what you're looking for might be best to ask on Windows 10 Forum.
Please add [SOLVED] to your thread if a solution is found. Go to your first post in the thread, hit "Edit" button and add [SOLVED] to the title of the post.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
Re: Need to recover windows 10 as well as need dual boot
Thanks a million 
I fixed by following the steps...
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Now both OS windows 10 as well as Mint Linux I can work

I fixed by following the steps...
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Now both OS windows 10 as well as Mint Linux I can work

- gold_finger
- Level 9
- Posts: 2886
- Joined: Mon Mar 11, 2013 11:39 pm
Re: [Solved] Need to recover windows 10 as well as need dual boot
Great! I'm glad to here that worked.
Now that you're back up and running it would probably be a good idea to create a rescue disk for Win 10 and possibly clone an image of it also to make things easier to repair/restore if something else goes wrong down the line. Think best tool for that is Macrium Reflect. Here are instructions for creating a rescue disk and for making an image of the Windows partitions.
If you feel like it you can also create an installation USB using instructions in my first post. That way if you ever decide to start over with a fresh install you can do that too.
Now that you're back up and running it would probably be a good idea to create a rescue disk for Win 10 and possibly clone an image of it also to make things easier to repair/restore if something else goes wrong down the line. Think best tool for that is Macrium Reflect. Here are instructions for creating a rescue disk and for making an image of the Windows partitions.
If you feel like it you can also create an installation USB using instructions in my first post. That way if you ever decide to start over with a fresh install you can do that too.
Please add [SOLVED] to your thread if a solution is found. Go to your first post in the thread, hit "Edit" button and add [SOLVED] to the title of the post.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
How To Format Your Forum Posts.
Try Linux Beginner Search Engine for Linux questions.
Re: [Solved] Need to recover windows 10 as well as need dual boot
hi
i will create a rescue disk for the windows and keep it separate.
thanks
i will create a rescue disk for the windows and keep it separate.
thanks
-
- Level 1
- Posts: 10
- Joined: Fri Aug 24, 2012 3:38 pm
Re: [Solved] Need to recover windows 10 as well as need dual boot
Hi.
I've been following these posts. I have a similar problem, but I am booting Windows from /dev/sda and am booting linux from /dev/sdb (with a single partition).
Somehow, I blew away the linux boot parameter from the mbr. I can boot windows, but can no longer boot linux (mint 18).
Here is what I did:
The following error messages were generated:
I also tried:
which generated:
Where do I go from here?
I've been following these posts. I have a similar problem, but I am booting Windows from /dev/sda and am booting linux from /dev/sdb (with a single partition).
Somehow, I blew away the linux boot parameter from the mbr. I can boot windows, but can no longer boot linux (mint 18).
Here is what I did:
Code: Select all
$ sudo mount /dev/sdb /mnt
$ sudo grub-install -- boot-directory=/mnt/boot /dev/sda
Code: Select all
grub-probe: error: failed to get connical path of `/cow'.
grub-install.real: error: More than one install device?.
Code: Select all
$ cd /usr/sbin
$ sudo ./update-grub
Code: Select all
/usr/sbin/grubprobe: error: failed to get connical path of `/cow'.
-
- Level 1
- Posts: 10
- Joined: Fri Aug 24, 2012 3:38 pm
Re: [Solved] Need to recover windows 10 as well as need dual boot
I forgot to mention that I am unable to mount /dev/sda1 (the master boot record directory) from the linux mint install dvd.massasauga wrote:Hi.
I've been following these posts. I have a similar problem, but I am booting Windows from /dev/sda and am booting linux from /dev/sdb (with a single partition).
Somehow, I blew away the linux boot parameter from the mbr. I can boot windows, but can no longer boot linux (mint 18).
Here is what I did:The following error messages were generated:Code: Select all
$ sudo mount /dev/sdb /mnt $ sudo grub-install -- boot-directory=/mnt/boot /dev/sda
I also tried:Code: Select all
grub-probe: error: failed to get connical path of `/cow'. grub-install.real: error: More than one install device?.
which generated:Code: Select all
$ cd /usr/sbin $ sudo ./update-grub
Where do I go from here?Code: Select all
/usr/sbin/grubprobe: error: failed to get connical path of `/cow'.
When I try to mount /dev/sda1, I get the message:
Code: Select all
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda1/': Operation not permitted.
The NTFS partition is in an unsafe state. Please resume and shutdown.
Would that make a difference? Do I need to boot from a Windows 10
dvd to create a new mbr before I try all the above stuff again?
-
- Level 16
- Posts: 6277
- Joined: Sun Aug 09, 2015 10:00 am
Re: [Solved] Need to recover windows 10 as well as need dual boot
Please turn off hybernating in Win 10
https://www.cnet.com/how-to/how-to-enab ... indows-10/
viewtopic.php?t=207529
https://www.cnet.com/how-to/how-to-enab ... indows-10/
viewtopic.php?t=207529
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak
I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
Regards,
Deepak
I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
-
- Level 1
- Posts: 10
- Joined: Fri Aug 24, 2012 3:38 pm
Re: [Solved] Need to recover windows 10 as well as need dual boot
Here is what solves the problem of restoring Linux boot in the master boot record for me:
1. Boot the computer with the Linux Mint DVD.
2. Open a terminal window.
3. Enter the following commands (my linux drive is /dev/sdb and Windows is on /dev/sda. Adjust your parameters as necessary):
Note: If you have a separate boot partition, use the following command to mount that partiton.
The next command gives you root permission to install grub (when booted from a DVD), which you won't have without the root-directory=/mnt parameter.
Although turning off hybernation in Windows is not necessary to restore linux booting from the MBR, I want to thank deepakdeshp for his response. It is good information that I didn't know about. I saved it in my notes in case I need to turn off hybernating in Windows 10.
1. Boot the computer with the Linux Mint DVD.
2. Open a terminal window.
3. Enter the following commands (my linux drive is /dev/sdb and Windows is on /dev/sda. Adjust your parameters as necessary):
Code: Select all
$ sudo mount /dev/sdb /mnt
Code: Select all
$ sudo mount /dev/sdb /mnt/boot
Code: Select all
$ sudo grub-install -- root-directory=/mnt /dev/sda
-
- Level 16
- Posts: 6277
- Joined: Sun Aug 09, 2015 10:00 am
Re: [Solved] Need to recover windows 10 as well as need dual boot
Windows hybernnation will not have any effect on Mint accessing windows partition, unless windows is not able to wake up and sbutdown properly.massasauga wrote:Here is what solves the problem of restoring Linux boot in the master boot record for me:
1. Boot the computer with the Linux Mint DVD.
2. Open a terminal window.
3. Enter the following commands (my linux drive is /dev/sdb and Windows is on /dev/sda. Adjust your parameters as necessary):Note: If you have a separate boot partition, use the following command to mount that partiton.Code: Select all
$ sudo mount /dev/sdb /mnt
The next command gives you root permission to install grub (when booted from a DVD), which you won't have without the root-directory=/mnt parameter.Code: Select all
$ sudo mount /dev/sdb /mnt/boot
Although turning off hybernation in Windows is not necessary to restore linux booting from the MBR, I want to thank deepakdeshp for his response. It is good information that I didn't know about. I saved it in my notes in case I need to turn off hybernating in Windows 10.Code: Select all
$ sudo grub-install -- root-directory=/mnt /dev/sda
Sometimes you cannot access widows from Mint if windows isnt shut down properly, neither can you start windows from grub to shut down properly. Windows can be accessed only if you cleanly shutdown Windows. The solution is to turn off fast booting in windows https://sites.google.com/site/easylinux ... ct/windows
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak
I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
Regards,
Deepak
I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB