installing mint 18.2 amd64 onto a dual boot windows 7 / mint 17 amd32 has lost windows 7
Linux MintThis forum is for the discussion of Linux Mint.
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.
The UUID you have in the menuentry for windows "FEC6CC72C6CC2CA9" points to sda2 and the set root line points to sda1: set root='(hd0,1)'
Change it to set root='(hd0,2)'. You only have two windows partitions and the other (sda5) is a logical partition so cannot contain the boot files as windows must have a primary partition for boot files.
If that doesn't work, google "boot repair ubuntu" and go to the site and download the boot repair software and run it from Mint. Be sure to select the option to Create BOOT Info Summary and do NOT try to make any repairs.
What happened when you followed the first suggestion from yancek?
Quote:
Originally Posted by yancek
The UUID you have in the menuentry for windows "FEC6CC72C6CC2CA9" points to sda2 and the set root line points to sda1: set root='(hd0,1)'
Change it to set root='(hd0,2)'. You only have two windows partitions and the other (sda5) is a logical partition so cannot contain the boot files as windows must have a primary partition for boot files.
Changing root='hd(0,2)' just gives error BOOTMGR does not exist press CTRL+ALT+DEL to restart. That's why i got a paste.ubuntu etc pastebin with my boot-repair info
Changing root='hd(0,2)' just gives error BOOTMGR does not exist press CTRL+ALT+DEL to restart
If you look at the boot repair output, it should be obvious why you are seeing that error message. It's because the bootmgr file is missing from both sda1 and sda2. I expect that sda1 was the boot partition which was the standard for a windows install. The BCD folder and bootmgr file were generally on the boot partition and the winload.exe file would be on the system partition. You have the winload.exe file on sda2 but the other files are not on sda1. You do have them on sda4 which I expect is the recovery partition. You could have all these files on sda2, having a separate boot partition isn't necessary.
What I'm wondering is why sda1 is shown as ext2 since it was likely your windows boot partition. Scrolling down further, the fdisk output shows it as a windows filesystem and further down the lsblk output shows it as ext2? So did you make some change to this partition before you got this problem? Not sure why there is this conflicting information. Can you mount the partition from Mint to see what it on it? Not sure if copying bootmgr and the BCD folder to sda1 or sda2 would help as I don't use windows that often.
I've copied bootmgr, boot, boot-repair and EFI to /dev/sda2. It starts to boot and quickly falls over 3 options. Option 3 boot repair . I've backed up my data, so i feel ok about this. Should i use this windows boot repair or the ubuntu one.
I expect to have to usb boot , chroot , update grub . Hopefully all ok then.
I can't imagine that would do anything because you don't have the necessary boot files. You could try copying the bootmgr file, the BCD folder to sda2 although I don't know enough about windows to know whether that has any chance of working. Simple enough to do and no harm done if it doesn't work.
Where are you getting the EFI from? Your original post shows fdisk with an MBR install and there is no EFI partition and there are no EFI files nor should there be. What windows boot repair are you referring to, the Repair option on your Recovery Disk or Installation media?
I don't know what happened to your windows boot files and the filesystem has changed from ntfs to ext2. I don't think there is much help you can get at a Linux forum for a problem with missing windows boot files. You might try a windows forum or the support.microsoft site if copying the file/folder from the recovery partition fails.
Where are you getting the EFI from? Your original post shows fdisk with an MBR install and there is no EFI partition and there are no EFI files nor should there be. What windows boot repair are you referring to, the Repair option on your Recovery Disk or Installation media?
EFI (directory), bootmgr and /boot/bcd all copied from /dev/sda4 to /dev/sda2 didn't work but it gets closer to booting.
Would running windows recovery on /dev/sda4 get me back to a dual boot? I don't mind having to install mint again as my partitions could do with a little tweak.
EFI (directory), bootmgr and /boot/bcd all copied from /dev/sda4 to /dev/sda2 didn't work but it gets closer to booting.
You have an MBR install so there is no purpose in copying the EFI files to sda2. What does "gets closer to booting" mean? Details.
Running the windows Recovery will set it to factory defaults which means no more Mint and as I understand it will NOT save any personal data/files on your windows partition.
Windows boot manager running and giving a useful error message
1. Insert windows installation disk
2. Choose language, then click next
3. Click repair computer
If you don't have this disk which i dont, contact your system administrator or computer manufacturer
Status 0xc000000f
Boot selection failed because required device is in accessible
Pressing esc takes me back to grub
Enter to a second menu 2 options
1. Samsung recovery solution 5
2. Windows memory dianostics
The link below is what microsoft says about your error. Not sure that will fix your problem, you probably need to get a Recovery disk or an installation disk of the same version of windows you have installed to replace the needed bootmgr file and BCD folder. You won't get that from any Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.