Win 7 and Mint dual boot problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Distorted
Level 1
Level 1
Posts: 20
Joined: Mon Aug 27, 2018 10:54 am

Win 7 and Mint dual boot problem

Post by Distorted »

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 . :? :?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Win 7 and Mint dual boot problem

Post by trytip »

first thing to do is sudo update-grub
Image
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

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
User avatar
Distorted
Level 1
Level 1
Posts: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

still no luck fixing this issuse
kukamuumuka

Re: Win 7 and Mint dual boot problem

Post by kukamuumuka »

What tells command

Code: Select all

inxi -po | grep sd ; sudo parted -l
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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!.
nakednorman

Re: Win 7 and Mint dual boot problem

Post by nakednorman »

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
User avatar
Distorted
Level 1
Level 1
Posts: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

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
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

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?
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Win 7 and Mint dual boot problem

Post by trytip »

lsblk gives you what in Terminal?
Image
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

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
User avatar
Distorted
Level 1
Level 1
Posts: 20
Joined: Mon Aug 27, 2018 10:54 am

Re: Win 7 and Mint dual boot problem

Post by Distorted »

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
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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

Re: Win 7 and Mint dual boot problem

Post by ilmago »

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 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Win 7 and Mint dual boot problem

Post by Pierre »

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

Re: Win 7 and Mint dual boot problem

Post by ilmago »

thanks for your reply. I am sending in attach a screenshot
ilmago

Re: Win 7 and Mint dual boot problem

Post by ilmago »

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
Locked

Return to “Installation & Boot”