Hi Yancek,
Yes once I went back to Windows 7 it booted fine straight into Win 7 as before. TBH I didn't know anything about the Win 10 partition until Ubuntu showed it in gparted
Unfortunately there isn't a menuentry for Windows 7 but there are 2 for Windows 10 (both boot up to the Win 10 partition). The entries are
Code:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-421A892D1A891ED3' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 421A892D1A891ED3
else
search --no-floppy --fs-uuid --set=root 421A892D1A891ED3
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 10 (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-AC1E8BDB1E8B9CC8' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 AC1E8BDB1E8B9CC8
else
search --no-floppy --fs-uuid --set=root AC1E8BDB1E8B9CC8
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
Looking in disks, I believe the Win 10 partition is /dev/sda1 and the Win 7 is /dev/sda2. Between the 2 partitions in disks, there appears to be an area of free space if that matters too?
EDIT - sorry.... I tried entering the grub commands you suggested (without the first line and {'s and it just left me at the command line. No errors reported from any of the lines. Is that what you expected?
Thanks
Lee.
Bookmarks