Win 7 and Mint dual boot problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Win 7 and Mint dual boot problem

Post by Distorted » Wed Dec 05, 2018 10:16 pm

After i start up my pc the grub screen pops up . now if i chose mint , it loads up no problem , but if i select windows , the windows boot selector pops up with options to load in Win or Mint ... This time if select windows , OS will load up fine but if you select Mint, boot error pops up and windows boot selector screen will reload again ... im not sure how all this came about but now i cant figure how to get rid of the win boot loader screen and let Grub deal with it like it did before this mess happened . :? :?
Image Image

User avatar
trytip
Level 11
Level 11
Posts: 3693
Joined: Tue Jul 05, 2016 1:20 pm

Re: Win 7 and Mint dual boot problem

Post by trytip » Wed Dec 05, 2018 10:35 pm

first thing to do is sudo update-grub
Image

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Wed Dec 05, 2018 11:10 pm

Yep - the Linux Boot Loader is pointing to the wrong Windows Loader,
& rather than to the Windows.Com program, itself.

so, what happens, after you have run sudo update-grub,
- is the Windows Loader - now correct ?.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Thu Dec 06, 2018 10:29 pm

sudo update-grub

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-42-generic
Found initrd image: /boot/initrd.img-4.15.0-42-generic
Found linux image: /boot/vmlinuz-4.15.0-39-generic
Found initrd image: /boot/initrd.img-4.15.0-39-generic
Found linux image: /boot/vmlinuz-4.15.0-38-generic
Found initrd image: /boot/initrd.img-4.15.0-38-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment on /dev/sda1
Found Windows 7 on /dev/sda2
done

so i posted this after i did grub update .... im not sure why or what's that recovery environment about thats never been their before
Image Image

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Sat Dec 15, 2018 9:11 pm

still no luck fixing this issuse
Image Image

User avatar
administrollaattori
Level 15
Level 15
Posts: 5881
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Win 7 and Mint dual boot problem

Post by administrollaattori » Sun Dec 16, 2018 2:22 am

What tells command

Code: Select all

inxi -po | grep sd ; sudo parted -l

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Sun Dec 16, 2018 6:12 am

Distorted wrote:
Thu Dec 06, 2018 10:29 pm

Found Windows Recovery Environment on /dev/sda1
Found Windows 7 on /dev/sda2
done
it's detected both the Recovery Partition & the Main Windows Partition:
- are you selecting that 2nd Windows System Loader ?
is that the Boot Loader that is giving that issue ?.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
nakednorman
Level 2
Level 2
Posts: 57
Joined: Mon Jan 02, 2017 9:05 am

Re: Win 7 and Mint dual boot problem

Post by nakednorman » Sun Dec 16, 2018 7:16 pm

My thanks to administrollaattori and pierre !
I was browsing the forums and your posts pointed me towards the solution to a problem I had.
Grub (booting from Mint /dev/sdc1 ) was complaining that /dev/sda1 (Win10) 'was not a partition'.
I eventually discovered that /dev/sda was configured as a 'whole disk' (partition table = loop - i.e. no partition).
Once I made partition table = msdos (and restored the data & updated grub etc) everything worked as it should.
So thanks for giving me a nudge in the right direction,
NN
Avatar by Troken

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Thu Dec 20, 2018 8:45 pm

Pierre wrote:
Sun Dec 16, 2018 6:12 am
Distorted wrote:
Thu Dec 06, 2018 10:29 pm

Found Windows Recovery Environment on /dev/sda1
Found Windows 7 on /dev/sda2
done
it's detected both the Recovery Partition & the Main Windows Partition:
- are you selecting that 2nd Windows System Loader ?
is that the Boot Loader that is giving that issue ?.
okay so this what currently pops up in grub . yes the second option is what i select that takes me Windows Boot loader and from there i select win 7 again and loads up. The first option was something that somehow added in the options . i would like to remove that first option (Found Windows Recovery Environment on /dev/sda1) from list since it doesnt need to be on their
Image Image

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Thu Dec 20, 2018 9:41 pm

so, the Linux Boot Loader has detected that there is Two Windows Systems,
( two windows systems is quite common ) ( one is a Windows Recovery partition )
what I've sometimes done, is to re-label that Recovery Partition to "Don't Use",,
until such time, that do need to recover that windows system, that is.

it's the windows boot loader, that is giving you the issues & it's that Boot Menu that you need to modify.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Thu Dec 20, 2018 10:03 pm

Pierre wrote:
Thu Dec 20, 2018 9:41 pm
so, the Linux Boot Loader has detected that there is Two Windows Systems,
( two windows systems is quite common ) ( one is a Windows Recovery partition )
what I've sometimes done, is to re-label that Recovery Partition to "Don't Use",,
until such time, that do need to recover that windows system, that is.

it's the windows boot loader, that is giving you the issues & it's that Boot Menu that you need to modify.
okay so i need to boot into windows and modify mbr from there and if so how?
Image Image

User avatar
trytip
Level 11
Level 11
Posts: 3693
Joined: Tue Jul 05, 2016 1:20 pm

Re: Win 7 and Mint dual boot problem

Post by trytip » Fri Dec 21, 2018 1:54 am

lsblk gives you what in Terminal?
Image

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Fri Dec 21, 2018 8:41 am

Distorted wrote:
Thu Dec 20, 2018 10:03 pm
okay so i need to boot into windows and modify mbr from there and if so how?
ah No - not the MBR, but actually the Boot Menu:
this can be done with the BCDEDIT tool:
https://www.sevenforums.com/tutorials/2 ... w-use.html
gives a description of how to use that.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Fri Dec 21, 2018 10:47 am

trytip wrote:
Fri Dec 21, 2018 1:54 am
lsblk gives you what in Terminal?
scott@Hellfire:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 596.2G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 394.9G 0 part
├─sda3 8:3 0 1K 0 part
└─sda5 8:5 0 201.2G 0 part /
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /media/scott/HP SimpleSave
sdc 8:32 1 60G 0 disk
└─sdc1 8:33 1 60G 0 part /media/scott/Samsung
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 668M 0 rom /media/scott/HP Launcher
Image Image

User avatar
Distorted
Level 1
Level 1
Posts: 18
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted » Mon Dec 24, 2018 9:10 am

Pierre wrote:
Fri Dec 21, 2018 8:41 am
Distorted wrote:
Thu Dec 20, 2018 10:03 pm
okay so i need to boot into windows and modify mbr from there and if so how?
ah No - not the MBR, but actually the Boot Menu:
this can be done with the BCDEDIT tool:
https://www.sevenforums.com/tutorials/2 ... w-use.html
gives a description of how to use that.
okay i was able to modify my mbr in windows now i need to remove the windows recovery entry in grub as well . i selected the entry to see what would happen but all it does is gives me boot error so im gonna need to remove it
Image Image

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Tue Dec 25, 2018 12:22 am

what should happen, is that the windows recovery software should fire up 8)

also - what I've done, is to keep that Menu Entry, but edit it's Menu Title,,
to read "Windows Recovery - - Don't Use This" :|
ie: you would only run this, for real - - to restore the Windows, Factory Configuration .. ..

OR - you can in your case , is to simply edit that whole entry, out of the Boot Menu itself.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

ilmago
Level 1
Level 1
Posts: 6
Joined: Tue Mar 13, 2018 4:55 am

Re: Win 7 and Mint dual boot problem

Post by ilmago » Tue Dec 25, 2018 8:28 am

Pierre wrote:
Wed Dec 05, 2018 11:10 pm
Yep - the Linux Boot Loader is pointing to the wrong Windows Loader,
& rather than to the Windows.Com program, itself.

so, what happens, after you have run sudo update-grub,
- is the Windows Loader - now correct ?.
windows 7 not appears in the list when I tap update grub.
Maybe I made a mistake, because I install win7 after mint. So now, can't choose dual boot only mint is on grub list when I boot.

Anyone helps me please?
Thanks and merry xmas

User avatar
Pierre
Level 19
Level 19
Posts: 9059
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre » Tue Dec 25, 2018 9:57 am

so, when you have run sudo update-grub - - that didn't find the installed version of win-7 ?.

can you run the Disks program, & paste a screen_shot of that - back here ?.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

ilmago
Level 1
Level 1
Posts: 6
Joined: Tue Mar 13, 2018 4:55 am

Re: Win 7 and Mint dual boot problem

Post by ilmago » Tue Dec 25, 2018 12:16 pm

thanks for your reply. I am sending in attach a screenshot
Attachments
Schermata del 2018-12-25 17-16-05.png

ilmago
Level 1
Level 1
Posts: 6
Joined: Tue Mar 13, 2018 4:55 am

Re: Win 7 and Mint dual boot problem

Post by ilmago » Thu Dec 27, 2018 12:57 pm

If I type following commands win7 starts

Grub> set root=(hd0,3)
Grub> chainloader +1
Grub> boot

I try also to modify the custom_40 file adding

menuentry 'Windows 7' {
set root=(hd0,3)
chainloader +1
boot
}

But still can't see win7 on grub menu

Post Reply

Return to “Installation & Boot”