PDA

View Full Version : can't boot windows 7 after installing first windows 7 and than ubuntu 14.04 LTS



philip27
February 21st, 2015, 10:04 PM
Hello brave folk!
Oh well, after days of trying, I surrender and beg for advice, please:
here is the paste from boot-repair:
http://paste.ubuntu.com/10346580/

grahammechanical
February 21st, 2015, 10:42 PM
Try loading into Ubuntu and running


sudo update-grub

and watch the printout to see if it detects a Windows boot loader. Right now the Grub configuration file that is used for the entries to the Grub boot menu has this title


menuentry 'FreeDOS (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-1E5D-925A' {
insmod part_msdos
insmod fat
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 1E5D-925A
else
search --no-floppy --fs-uuid --set=root 1E5D-925A
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}

Why that says Freedos and not Windows boot loader I do not know but what happens when you select the option to load Freedos? Does that in turn load Windows. This is also confusing things in my opinion


=================== os-prober:
/dev/sda6:Das aktuell benutzte Betriebssystem - Ubuntu 14.04.2 LTS CurrentSession:linux
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain

It seems that you have a Windows boot loader in the first partition (sda1) which Grub is referencing. And another Windows boot loader in the second partition (sda2) which should be chained to the first Windows boot loader if you are to load Windows from the Ubuntu (Grub) boot menu. Perhaps that is where the chain is broken - between the boot loader in sda1 and the boot loader in sda2.

Regards.

philip27
February 22nd, 2015, 12:26 AM
Hi :-)
this is the reply:
sudo update-grub
[sudo] password for philip:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-30-generic
Found initrd image: /boot/initrd.img-3.16.0-30-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
done

philip27
February 22nd, 2015, 10:24 AM
Hi, Thanks again!

It looks like the "sudo update-grub" already did it, I can now load into windows as well!